Update README.md
Browse files
README.md
CHANGED
@@ -44,7 +44,7 @@ tokenizer = AutoTokenizer.from_pretrained(model_id)
|
|
44 |
model = AutoModelForCausalLM.from_pretrained(model_id)
|
45 |
|
46 |
# Format the message with the chat template
|
47 |
-
messages = [{"role": "user", "content": "Quels est la
|
48 |
input_ids = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt")
|
49 |
## <BOS_TOKEN><|START_OF_TURN_TOKEN|><|USER_TOKEN|>Anneme onu ne kadar sevdiğimi anlatan bir mektup yaz<|END_OF_TURN_TOKEN|><|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>
|
50 |
|
|
|
44 |
model = AutoModelForCausalLM.from_pretrained(model_id)
|
45 |
|
46 |
# Format the message with the chat template
|
47 |
+
messages = [{"role": "user", "content": "Quels est la superficie de Paris"}]
|
48 |
input_ids = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt")
|
49 |
## <BOS_TOKEN><|START_OF_TURN_TOKEN|><|USER_TOKEN|>Anneme onu ne kadar sevdiğimi anlatan bir mektup yaz<|END_OF_TURN_TOKEN|><|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>
|
50 |
|