Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM
|
2 |
+
|
3 |
+
tokenizer = AutoTokenizer.from_pretrained(
|
4 |
+
"cognitivecomputations/dolphin-2.6-mistral-7b"
|
5 |
+
)
|
6 |
+
model = AutoModelForCausalLM.from_pretrained(
|
7 |
+
"cognitivecomputations/dolphin-2.6-mistral-7b"
|
8 |
+
)
|