Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,6 +40,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
40 |
MODEL,
|
41 |
torch_dtype=torch.bfloat16,
|
42 |
device_map="auto",
|
|
|
43 |
quantization_config=quantization_config)
|
44 |
|
45 |
@spaces.GPU()
|
|
|
40 |
MODEL,
|
41 |
torch_dtype=torch.bfloat16,
|
42 |
device_map="auto",
|
43 |
+
rope_scaling={"type": "llama3", "factor": 8.0},
|
44 |
quantization_config=quantization_config)
|
45 |
|
46 |
@spaces.GPU()
|