Spaces:
Running
on
Zero
Running
on
Zero
Changed revision to 8ab73a6800796d84448bc936db9bac5ad9f984ae
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ quantization_config = BitsAndBytesConfig(
|
|
28 |
model = AutoModelForCausalLM.from_pretrained(
|
29 |
"NousResearch/Hermes-2-Pro-Llama-3-8B", quantization_config=quantization_config
|
30 |
)
|
31 |
-
tok = AutoTokenizer.from_pretrained("NousResearch/Hermes-2-Pro-Llama-3-8B")
|
32 |
terminators = [
|
33 |
tok.eos_token_id,
|
34 |
tok.convert_tokens_to_ids("<|eot_id|>")
|
|
|
28 |
model = AutoModelForCausalLM.from_pretrained(
|
29 |
"NousResearch/Hermes-2-Pro-Llama-3-8B", quantization_config=quantization_config
|
30 |
)
|
31 |
+
tok = AutoTokenizer.from_pretrained("NousResearch/Hermes-2-Pro-Llama-3-8B",revision='8ab73a6800796d84448bc936db9bac5ad9f984ae')
|
32 |
terminators = [
|
33 |
tok.eos_token_id,
|
34 |
tok.convert_tokens_to_ids("<|eot_id|>")
|