Commit
•
39bdef7
1
Parent(s):
966a26c
Update README.md
Browse files
README.md
CHANGED
@@ -14,7 +14,7 @@ tokenizer = AutoTokenizer.from_pretrained("openai-community/gpt2")
|
|
14 |
|
15 |
model_id = "trl-internal-testing/dummy-GPT2-correct-vocab"
|
16 |
model.push_to_hub(model_id)
|
17 |
-
tokenizer.push_to_hub(model_id)
|
18 |
tokenizer.chat_template = "{% for message in messages %}{% if message['role'] == 'user' %}{{ ' ' }}{% endif %}{{ message['content'] }}{% if not .chat_template ' ' }}{% endif %}{% endfor %}{{ eos_token }}"
|
|
|
19 |
config.push_to_hub(model_id)
|
20 |
```
|
|
|
14 |
|
15 |
model_id = "trl-internal-testing/dummy-GPT2-correct-vocab"
|
16 |
model.push_to_hub(model_id)
|
|
|
17 |
tokenizer.chat_template = "{% for message in messages %}{% if message['role'] == 'user' %}{{ ' ' }}{% endif %}{{ message['content'] }}{% if not .chat_template ' ' }}{% endif %}{% endfor %}{{ eos_token }}"
|
18 |
+
tokenizer.push_to_hub(model_id)
|
19 |
config.push_to_hub(model_id)
|
20 |
```
|