charlieoneill
commited on
Commit
•
22f9d3b
1
Parent(s):
fcb3822
Update README.md
Browse files
README.md
CHANGED
@@ -14,7 +14,8 @@ It was fine-tuned on several thousand astronomy abstracts collected on Arxiv.
|
|
14 |
```python
|
15 |
from transformers import AutoModelForCausalLM
|
16 |
|
17 |
-
online_model = AutoModelForCausalLM.from_pretrained("charlieoneill/falcon-7b-abstracts-2190",
|
|
|
18 |
|
19 |
tokenizer = AutoTokenizer.from_pretrained("tiiuae/falcon-7b")
|
20 |
pipeline = transformers.pipeline(
|
|
|
14 |
```python
|
15 |
from transformers import AutoModelForCausalLM
|
16 |
|
17 |
+
online_model = AutoModelForCausalLM.from_pretrained("charlieoneill/falcon-7b-abstracts-2190", torch_dtype=torch.bfloat16,
|
18 |
+
trust_remote_code=True)
|
19 |
|
20 |
tokenizer = AutoTokenizer.from_pretrained("tiiuae/falcon-7b")
|
21 |
pipeline = transformers.pipeline(
|