Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,9 @@
|
|
| 1 |
from transformers import MistralForCausalLM
|
| 2 |
from transformers import AutoTokenizer
|
| 3 |
|
|
|
|
|
|
|
|
|
|
| 4 |
tokenizer = AutoTokenizer.from_pretrained('mistralai/mathstral-7B-v0.1')
|
| 5 |
|
| 6 |
prompt = "What are the roots of unity?"
|
|
|
|
| 1 |
from transformers import MistralForCausalLM
|
| 2 |
from transformers import AutoTokenizer
|
| 3 |
|
| 4 |
+
from huggingface_hub import login
|
| 5 |
+
login()
|
| 6 |
+
|
| 7 |
tokenizer = AutoTokenizer.from_pretrained('mistralai/mathstral-7B-v0.1')
|
| 8 |
|
| 9 |
prompt = "What are the roots of unity?"
|