Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,9 +34,9 @@ if not torch.cuda.is_available():
|
|
| 34 |
|
| 35 |
|
| 36 |
if torch.cuda.is_available():
|
| 37 |
-
model_id = "
|
| 38 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=True)
|
| 39 |
-
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 40 |
tokenizer.use_default_system_prompt = False
|
| 41 |
|
| 42 |
|
|
|
|
| 34 |
|
| 35 |
|
| 36 |
if torch.cuda.is_available():
|
| 37 |
+
model_id = "internlm/internlm2-step-prover"
|
| 38 |
model = AutoModelForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto", trust_remote_code=True)
|
| 39 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id,trust_remote_code=True)
|
| 40 |
tokenizer.use_default_system_prompt = False
|
| 41 |
|
| 42 |
|