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