Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,8 +6,8 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
| 6 |
import torch
|
| 7 |
|
| 8 |
# Replace 'your-username' and 'your-model-name' with your actual username and model name
|
| 9 |
-
tokenizer = AutoTokenizer.from_pretrained('K00B404/
|
| 10 |
-
model = AutoModelForSequenceClassification.from_pretrained('K00B404/
|
| 11 |
|
| 12 |
# Example input sequence
|
| 13 |
input_sequence = "This is an example sentence."
|
|
|
|
| 6 |
import torch
|
| 7 |
|
| 8 |
# Replace 'your-username' and 'your-model-name' with your actual username and model name
|
| 9 |
+
tokenizer = AutoTokenizer.from_pretrained('K00B404/Merged_Beowolx-CodePro_Medusa2-7B-Mistral-I-v0-2')
|
| 10 |
+
model = AutoModelForSequenceClassification.from_pretrained('K00B404/Merged_Beowolx-CodePro_Medusa2-7B-Mistral-I-v0-2')
|
| 11 |
|
| 12 |
# Example input sequence
|
| 13 |
input_sequence = "This is an example sentence."
|