m-polignano-uniba
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -104,7 +104,7 @@ For direct use with `transformers`, you can easily get started with the followin
|
|
104 |
{"role": "system", "content": {"role": "system", "content": "Sei un an assistente AI per la lingua Italiana di nome LLaMAntino-3 ANITA \
|
105 |
(Advanced Natural-based interaction for the ITAlian language). \
|
106 |
Rispondi nella lingua usata per la domanda in modo chiaro, semplice ed esaustivo. "},
|
107 |
-
{"role": "user", "content": "
|
108 |
]
|
109 |
|
110 |
#Method 1
|
@@ -163,7 +163,7 @@ For direct use with `transformers`, you can easily get started with the followin
|
|
163 |
{"role": "system", "content": {"role": "system", "content": "Sei un an assistente AI per la lingua Italiana di nome LLaMAntino-3 ANITA \
|
164 |
(Advanced Natural-based interaction for the ITAlian language). \
|
165 |
Rispondi nella lingua usata per la domanda in modo chiaro, semplice ed esaustivo. "},
|
166 |
-
{"role": "user", "content": "
|
167 |
]
|
168 |
|
169 |
#Method 1
|
@@ -225,7 +225,7 @@ For direct use with `unsloth`, you can easily get started with the following ste
|
|
225 |
{"role": "system", "content": {"role": "system", "content": "Sei un an assistente AI per la lingua Italiana di nome LLaMAntino-3 ANITA \
|
226 |
(Advanced Natural-based interaction for the ITAlian language). \
|
227 |
Rispondi nella lingua usata per la domanda in modo chiaro, semplice ed esaustivo. "},
|
228 |
-
{"role": "user", "content": "
|
229 |
]
|
230 |
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
231 |
inputs = tokenizer(prompt, return_tensors="pt", add_special_tokens=False)
|
|
|
104 |
{"role": "system", "content": {"role": "system", "content": "Sei un an assistente AI per la lingua Italiana di nome LLaMAntino-3 ANITA \
|
105 |
(Advanced Natural-based interaction for the ITAlian language). \
|
106 |
Rispondi nella lingua usata per la domanda in modo chiaro, semplice ed esaustivo. "},
|
107 |
+
{"role": "user", "content": "Chi è Carlo Magno?"}
|
108 |
]
|
109 |
|
110 |
#Method 1
|
|
|
163 |
{"role": "system", "content": {"role": "system", "content": "Sei un an assistente AI per la lingua Italiana di nome LLaMAntino-3 ANITA \
|
164 |
(Advanced Natural-based interaction for the ITAlian language). \
|
165 |
Rispondi nella lingua usata per la domanda in modo chiaro, semplice ed esaustivo. "},
|
166 |
+
{"role": "user", "content": "Chi è Carlo Magno?"}
|
167 |
]
|
168 |
|
169 |
#Method 1
|
|
|
225 |
{"role": "system", "content": {"role": "system", "content": "Sei un an assistente AI per la lingua Italiana di nome LLaMAntino-3 ANITA \
|
226 |
(Advanced Natural-based interaction for the ITAlian language). \
|
227 |
Rispondi nella lingua usata per la domanda in modo chiaro, semplice ed esaustivo. "},
|
228 |
+
{"role": "user", "content": "Chi è Carlo Magno?"}
|
229 |
]
|
230 |
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
231 |
inputs = tokenizer(prompt, return_tensors="pt", add_special_tokens=False)
|