mbrack commited on
Commit
4a7d04e
1 Parent(s): 1756f91

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
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, German, 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,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-eu5')
43
  >>> set_seed(42)
44
- >>> generator("Hallo, Ich bin ein Sprachmodell,", max_length=40, num_return_sequences=1)
45
- [{'generated_text': 'Hallo, Ich bin ein Sprachmodell, das dir bei der Übersetzung von Texten zwischen Deutsch und Englisch helfen kann. Wenn du mir einen Text in Deutsch'}]
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