Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,8 +57,8 @@ base_model_id = "mistralai/Mistral-7B-v0.1"
|
|
57 |
model_directory = "Tonic/mistralmed"
|
58 |
|
59 |
# Instantiate the Tokenizer
|
60 |
-
|
61 |
-
tokenizer = AutoTokenizer.from_pretrained("Tonic/mistralmed", trust_remote_code=True, padding_side="left")
|
62 |
tokenizer.pad_token = tokenizer.eos_token
|
63 |
tokenizer.padding_side = 'left'
|
64 |
|
|
|
57 |
model_directory = "Tonic/mistralmed"
|
58 |
|
59 |
# Instantiate the Tokenizer
|
60 |
+
tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-v0.1", trust_remote_code=True, padding_side="left")
|
61 |
+
# tokenizer = AutoTokenizer.from_pretrained("Tonic/mistralmed", trust_remote_code=True, padding_side="left")
|
62 |
tokenizer.pad_token = tokenizer.eos_token
|
63 |
tokenizer.padding_side = 'left'
|
64 |
|