Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopoli authored May 10, 2024
1 parent fd3bf37 commit 8ee390d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ For direct use with `transformers`, you can easily get started with the followin
{"role": "system", "content": {"role": "system", "content": "Sei un an assistente AI per la lingua Italiana di nome LLaMAntino-3 ANITA \
(Advanced Natural-based interaction for the ITAlian language). \
Rispondi nella lingua usata per la domanda in modo chiaro, semplice ed esaustivo. "},
{"role": "user", "content": "Why is the sky blue?"}
{"role": "user", "content": "Chi è Carlo Magno?"}
]

#Method 1
Expand Down Expand Up @@ -154,7 +154,7 @@ For direct use with `transformers`, you can easily get started with the followin
{"role": "system", "content": {"role": "system", "content": "Sei un an assistente AI per la lingua Italiana di nome LLaMAntino-3 ANITA \
(Advanced Natural-based interaction for the ITAlian language). \
Rispondi nella lingua usata per la domanda in modo chiaro, semplice ed esaustivo. "},
{"role": "user", "content": "Why is the sky blue?"}
{"role": "user", "content": "Chi è Carlo Magno?"}
]

#Method 1
Expand Down Expand Up @@ -216,7 +216,7 @@ For direct use with `unsloth`, you can easily get started with the following ste
{"role": "system", "content": {"role": "system", "content": "Sei un an assistente AI per la lingua Italiana di nome LLaMAntino-3 ANITA \
(Advanced Natural-based interaction for the ITAlian language). \
Rispondi nella lingua usata per la domanda in modo chiaro, semplice ed esaustivo. "},
{"role": "user", "content": "Why is the sky blue?"}
{"role": "user", "content": "Chi è Carlo Magno?"}
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(prompt, return_tensors="pt", add_special_tokens=False)
Expand Down

0 comments on commit 8ee390d

Please sign in to comment.