shanearora
commited on
Commit
•
e005c95
1
Parent(s):
4e0b37c
Fix "OLMo-1B-f" typo
Browse files
README.md
CHANGED
@@ -81,7 +81,7 @@ print(tokenizer.batch_decode(response, skip_special_tokens=True)[0])
|
|
81 |
Alternatively, with the pipeline abstraction:
|
82 |
```python
|
83 |
from transformers import pipeline
|
84 |
-
olmo_pipe = pipeline("text-generation", model="allenai/OLMo-1B-
|
85 |
print(olmo_pipe("Language modeling is "))
|
86 |
>> 'Language modeling is a branch of natural language processing that aims to...'
|
87 |
```
|
|
|
81 |
Alternatively, with the pipeline abstraction:
|
82 |
```python
|
83 |
from transformers import pipeline
|
84 |
+
olmo_pipe = pipeline("text-generation", model="allenai/OLMo-1B-hf")
|
85 |
print(olmo_pipe("Language modeling is "))
|
86 |
>> 'Language modeling is a branch of natural language processing that aims to...'
|
87 |
```
|