Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -144,7 +144,7 @@ def main():
|
|
144 |
else:
|
145 |
model = AutoModel.from_pretrained("THUDM/chatglm-6b", config=config, trust_remote_code=True)
|
146 |
|
147 |
-
model = model.quantize(4)
|
148 |
|
149 |
# P-tuning v2
|
150 |
# model = model.half()
|
|
|
144 |
else:
|
145 |
model = AutoModel.from_pretrained("THUDM/chatglm-6b", config=config, trust_remote_code=True)
|
146 |
|
147 |
+
# model = model.quantize(4)
|
148 |
|
149 |
# P-tuning v2
|
150 |
# model = model.half()
|