Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -41,8 +41,8 @@ Note: if you do not specify a revision, it will load the final checkpoint of the
|
|
| 41 |
```
|
| 42 |
from transformers import AutoTokenizer, AutoModel
|
| 43 |
|
| 44 |
-
tokenizer = AutoTokenizer.from_pretrained("B-GPT_el_en_sequential")
|
| 45 |
-
model = AutoModel.from_pretrained("B-GPT_el_en_sequential", revision = "128000")
|
| 46 |
|
| 47 |
|
| 48 |
````
|
|
@@ -52,7 +52,7 @@ Text Generation:
|
|
| 52 |
```
|
| 53 |
from transformers import pipeline
|
| 54 |
|
| 55 |
-
pipe = pipeline("text-generation", model="B-GPT_el_en_sequential")
|
| 56 |
|
| 57 |
pipe("I am a")
|
| 58 |
|
|
|
|
| 41 |
```
|
| 42 |
from transformers import AutoTokenizer, AutoModel
|
| 43 |
|
| 44 |
+
tokenizer = AutoTokenizer.from_pretrained("catherinearnett/B-GPT_el_en_sequential")
|
| 45 |
+
model = AutoModel.from_pretrained("catherinearnett/B-GPT_el_en_sequential", revision = "128000")
|
| 46 |
|
| 47 |
|
| 48 |
````
|
|
|
|
| 52 |
```
|
| 53 |
from transformers import pipeline
|
| 54 |
|
| 55 |
+
pipe = pipeline("text-generation", model="catherinearnett/B-GPT_el_en_sequential")
|
| 56 |
|
| 57 |
pipe("I am a")
|
| 58 |
|