Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ If you want to train a model for your own language or are working on evaluations
|
|
25 |
|
26 |
- **Continued-pretraining from:** [Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1)
|
27 |
- **Model type:** Causal decoder-only transformer language model
|
28 |
-
- **Languages:** English,
|
29 |
- **License:** [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.html)
|
30 |
- **Compute resources:** [HessianAI's 42](https://hessian.ai/)
|
31 |
- **Contributors:** Manuel Brack, Patrick Schramowski, Pedro Ortiz, Malte Ostendorff, Fabio Barth, Georg Rehm, Kristian Kersting
|
@@ -39,10 +39,10 @@ set a seed for reproducibility:
|
|
39 |
|
40 |
```python
|
41 |
>>> from transformers import pipeline, set_seed
|
42 |
-
>>> generator = pipeline('text-generation', model='occiglot/occiglot-7b-
|
43 |
>>> set_seed(42)
|
44 |
-
>>> generator("
|
45 |
-
[{'generated_text': '
|
46 |
```
|
47 |
|
48 |
## Dataset
|
|
|
25 |
|
26 |
- **Continued-pretraining from:** [Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1)
|
27 |
- **Model type:** Causal decoder-only transformer language model
|
28 |
+
- **Languages:** English, Spanish, and code.
|
29 |
- **License:** [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0.html)
|
30 |
- **Compute resources:** [HessianAI's 42](https://hessian.ai/)
|
31 |
- **Contributors:** Manuel Brack, Patrick Schramowski, Pedro Ortiz, Malte Ostendorff, Fabio Barth, Georg Rehm, Kristian Kersting
|
|
|
39 |
|
40 |
```python
|
41 |
>>> from transformers import pipeline, set_seed
|
42 |
+
>>> generator = pipeline('text-generation', model='occiglot/occiglot-7b-es-en')
|
43 |
>>> set_seed(42)
|
44 |
+
>>> generator("Hola, soy una modelo lingüística", max_length=40, num_return_sequences=1)
|
45 |
+
[{'generated_text': 'Hola, soy una modelo lingüística que puede ayudarte a traducir textos entre español e inglés. Si me envías un texto en español'}]
|
46 |
```
|
47 |
|
48 |
## Dataset
|