Update README.md
Browse files
README.md
CHANGED
|
@@ -494,6 +494,10 @@ model-index:
|
|
| 494 |
|
| 495 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 496 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 497 |
RoLlama2 is a family of pretrained and fine-tuned generative text models for Romanian. This is the repository for the **instruct 7B model**. Links to other models can be found at the bottom of this page.
|
| 498 |
|
| 499 |
## Model Details
|
|
@@ -542,8 +546,8 @@ Use the code below to get started with the model.
|
|
| 542 |
```python
|
| 543 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 544 |
|
| 545 |
-
tokenizer = AutoTokenizer.from_pretrained("OpenLLM-Ro/RoLlama2-7b-Instruct
|
| 546 |
-
model = AutoModelForCausalLM.from_pretrained("OpenLLM-Ro/RoLlama2-7b-Instruct
|
| 547 |
|
| 548 |
instruction = "Care este cel mai înalt vârf muntos din România?"
|
| 549 |
chat = [
|
|
|
|
| 494 |
|
| 495 |
<!-- Provide a quick summary of what the model is/does. -->
|
| 496 |
|
| 497 |
+
This model points/is identical to [RoLlama2-7b-Instruct-2024-10-09](https://huggingface.co/OpenLLM-Ro/RoLlama2-7b-Instruct-2024-10-09).
|
| 498 |
+
|
| 499 |
+
|
| 500 |
+
|
| 501 |
RoLlama2 is a family of pretrained and fine-tuned generative text models for Romanian. This is the repository for the **instruct 7B model**. Links to other models can be found at the bottom of this page.
|
| 502 |
|
| 503 |
## Model Details
|
|
|
|
| 546 |
```python
|
| 547 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 548 |
|
| 549 |
+
tokenizer = AutoTokenizer.from_pretrained("OpenLLM-Ro/RoLlama2-7b-Instruct")
|
| 550 |
+
model = AutoModelForCausalLM.from_pretrained("OpenLLM-Ro/RoLlama2-7b-Instruct")
|
| 551 |
|
| 552 |
instruction = "Care este cel mai înalt vârf muntos din România?"
|
| 553 |
chat = [
|