Update README.md
Browse files
README.md
CHANGED
@@ -46,8 +46,7 @@ We use a simple template to generate the solution for evalplus:
|
|
46 |
|
47 |
## Quickstart
|
48 |
|
49 |
-
Here provides a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and how to generate contents.
|
50 |
-
|
51 |
```python
|
52 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
53 |
device = "cuda" # the device to load the model onto
|
|
|
46 |
|
47 |
## Quickstart
|
48 |
|
49 |
+
Here provides a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and how to generate contents.You should use transformer version 4.39 to avoid loading tokenizer errors.
|
|
|
50 |
```python
|
51 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
52 |
device = "cuda" # the device to load the model onto
|