Update README.md (#5)
Browse files- Update README.md (d7338a97200143ba7522c960467c91ec3308d26c)
Co-authored-by: Mishig Davaadorj <mishig@users.noreply.huggingface.co>
README.md
CHANGED
@@ -12,7 +12,10 @@ See details on the [AutoCoder GitHub](https://github.com/bin123apple/AutoCoder).
|
|
12 |
|
13 |
Simple test script:
|
14 |
|
15 |
-
```
|
|
|
|
|
|
|
16 |
model_path = ""
|
17 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
18 |
model = AutoModelForCausalLM.from_pretrained(model_path,
|
|
|
12 |
|
13 |
Simple test script:
|
14 |
|
15 |
+
```python
|
16 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
17 |
+
from datasets import load_dataset
|
18 |
+
|
19 |
model_path = ""
|
20 |
tokenizer = AutoTokenizer.from_pretrained(model_path)
|
21 |
model = AutoModelForCausalLM.from_pretrained(model_path,
|