Add transformers version note
Browse files
README.md
CHANGED
@@ -55,6 +55,12 @@ This model is static, trained on an offline dataset. Future versions may be rele
|
|
55 |
**Quickstart**
|
56 |
|
57 |
Here provides a code snippet with apply_chat_template to show you how to load the tokenizer and model and how to generate contents.
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
```python
|
59 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
60 |
|
|
|
55 |
**Quickstart**
|
56 |
|
57 |
Here provides a code snippet with apply_chat_template to show you how to load the tokenizer and model and how to generate contents.
|
58 |
+
|
59 |
+
> Note that you need `transformers>=4.37.0` to use `TableGPT2`:
|
60 |
+
> ```sh
|
61 |
+
> pip install transformers>=4.37.0
|
62 |
+
> ```
|
63 |
+
|
64 |
```python
|
65 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
66 |
|