Spaces:
Runtime error
Runtime error
captainkyd
commited on
Commit
β’
31b6033
1
Parent(s):
30476bb
Update app.py
Browse filesfixed an indent in my code
app.py
CHANGED
@@ -41,7 +41,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
41 |
model_path,
|
42 |
device_map="auto",
|
43 |
trust_remote_code=True,
|
44 |
-
|
45 |
)
|
46 |
|
47 |
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
|
|
|
41 |
model_path,
|
42 |
device_map="auto",
|
43 |
trust_remote_code=True,
|
44 |
+
quantization_config=quantization_config
|
45 |
)
|
46 |
|
47 |
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
|