mihaimasala
commited on
Commit
•
d583fb7
1
Parent(s):
0224daa
Update README.md
Browse files
README.md
CHANGED
@@ -503,8 +503,8 @@ Use the code below to get started with the model.
|
|
503 |
```python
|
504 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
505 |
|
506 |
-
tokenizer = AutoTokenizer.from_pretrained("OpenLLM-Ro/RoLlama2-7b-Base")
|
507 |
-
model = AutoModelForCausalLM.from_pretrained("OpenLLM-Ro/RoLlama2-7b-Base")
|
508 |
|
509 |
input_text = "Mihai Eminescu a fost "
|
510 |
input_ids = tokenizer(input_text, return_tensors="pt")
|
|
|
503 |
```python
|
504 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
505 |
|
506 |
+
tokenizer = AutoTokenizer.from_pretrained("OpenLLM-Ro/RoLlama2-7b-Base-2024-05-14")
|
507 |
+
model = AutoModelForCausalLM.from_pretrained("OpenLLM-Ro/RoLlama2-7b-Base-2024-05-14")
|
508 |
|
509 |
input_text = "Mihai Eminescu a fost "
|
510 |
input_ids = tokenizer(input_text, return_tensors="pt")
|