Outils pour utilisateurs

Outils du site


informatique:ai_lm:ai_translation

Ceci est une ancienne révision du document !


Table des matières

AI Translation

Translate Gemma 3

curl -s http://192.168.1.20:8012/v1/chat/completions   -H "Content-Type: application/json"   -d '{
    "temperature": 0,
    "chat_template_kwargs": {
      "source_lang_code": "en",
      "target_lang_code": "fr"
    },
    "messages": [
      {"role": "user",
      "content": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since 1966, when designers at Letraset and James Mosley, the librarian at St Bride Printing Library in London, took a 1914 Cicero translation and scrambled it to make dummy text for Letraset\'s Body Type sheets."
      }
    ]
  }'
 | jq -r '.choices[0].message.content'
informatique/ai_lm/ai_translation.1792181897.txt.gz · Dernière modification : de cyrille

Sauf mention contraire, le contenu de ce wiki est placé sous les termes de la licence suivante : CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki