Update README.md
Browse files
README.md
CHANGED
@@ -8,8 +8,8 @@ language:
|
|
8 |
```python
|
9 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
10 |
|
11 |
-
tokenizer = AutoTokenizer.from_pretrained("aidal/
|
12 |
-
model = AutoModelForCausalLM.from_pretrained("aidal/
|
13 |
|
14 |
input_text = "پایتخت ایران کجاست؟"
|
15 |
input_ids = tokenizer(input_text, return_tensors="pt")
|
|
|
8 |
```python
|
9 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
10 |
|
11 |
+
tokenizer = AutoTokenizer.from_pretrained("aidal/Persian-Mistral-7B")
|
12 |
+
model = AutoModelForCausalLM.from_pretrained("aidal/Persian-Mistral-7B")
|
13 |
|
14 |
input_text = "پایتخت ایران کجاست؟"
|
15 |
input_ids = tokenizer(input_text, return_tensors="pt")
|