Outils pour utilisateurs

Outils du site


informatique:ai_lm:ai_translation

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
informatique:ai_lm:ai_translation [16/10/2026 22:27] – cyrilleinformatique:ai_lm:ai_translation [16/10/2026 22:30] (Version actuelle) – cyrille
Ligne 7: Ligne 7:
   * GGUF https://huggingface.co/mradermacher/translategemma-27b-it-GGUF   * GGUF https://huggingface.co/mradermacher/translategemma-27b-it-GGUF
  
-Lancer llama.cpp avec ''--temp 0.1 --top-p 0.95 --top-k 64'' ou ''--temp 0''.+Lancer llama.cpp avec ''--temp 0.1 --top-p 0.95 --top-k 64 --jinja'' ou ''--temp 0 --jinja''.
  
 Le modèle est entraîné spécialement il faut donc respecter précisément le template. Le modèle est entraîné spécialement il faut donc respecter précisément le template.
Ligne 15: Ligne 15:
 Soit en texte: Soit en texte:
 <code> <code>
-You are a professional English (en) to Japanese (ja) translator. Your goal is to accurately convey the meaning and nuances of the original English text while adhering to Japanese grammar, vocabulary, and cultural sensitivities. +You are a professional English (en) to Japanese (ja) translator. 
-Produce only the Japanese translation, without any additional explanations or commentary. Please translate the following English text into Japanese:+Your goal is to accurately convey the meaning and nuances of the original English text while adhering to Japanese grammar, vocabulary, and cultural sensitivities. 
 +Produce only the Japanese translation, without any additional explanations or commentary. 
 +Please translate the following English text into Japanese:
  
  
Ligne 24: Ligne 26:
 Soit avec ''kwargs'' : Soit avec ''kwargs'' :
 <code bash> <code bash>
-curl -s http://192.168.1.20:8012/v1/chat/completions   -H "Content-Type: application/json"   -d '{+curl -s http://192.168.1.20:8012/v1/chat/completions -H "Content-Type: application/json" \ 
 + -d '{
     "temperature": 0,     "temperature": 0,
     "chat_template_kwargs": {     "chat_template_kwargs": {
Ligne 33: Ligne 36:
       {"role": "user",       {"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."       "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."
-      }+     }
     ]     ]
   }'   }'
informatique/ai_lm/ai_translation.1792182458.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