ayoubkirouane
commited on
Commit
•
58b4744
1
Parent(s):
db525a1
Update README.md
Browse files
README.md
CHANGED
@@ -46,4 +46,12 @@ from transformers import pipeline
|
|
46 |
|
47 |
pipe = pipeline("text-generation", model="ayoubkirouane/phi-2-arxiv-physics")
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
```
|
|
|
|
|
|
46 |
|
47 |
pipe = pipeline("text-generation", model="ayoubkirouane/phi-2-arxiv-physics")
|
48 |
|
49 |
+
## or :
|
50 |
+
|
51 |
+
# load it directly
|
52 |
+
from transformers import AutoModel
|
53 |
+
model = AutoModel.from_pretrained("ayoubkirouane/phi-2-arxiv-physics")
|
54 |
+
|
55 |
```
|
56 |
+
|
57 |
+
|