Spaces:
Runtime error
Runtime error
Fix model
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
|
26 |
|
27 |
# Load peft config for pre-trained checkpoint etc.
|
28 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
29 |
-
model_id = "
|
30 |
if device == "cpu":
|
31 |
model = AutoModelForCausalLM.from_pretrained(model_id, low_cpu_mem_usage=True, use_auth_token=HF_TOKEN)
|
32 |
else:
|
|
|
26 |
|
27 |
# Load peft config for pre-trained checkpoint etc.
|
28 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
29 |
+
model_id = "HuggingFaceH4/llama-se-rl-ed"
|
30 |
if device == "cpu":
|
31 |
model = AutoModelForCausalLM.from_pretrained(model_id, low_cpu_mem_usage=True, use_auth_token=HF_TOKEN)
|
32 |
else:
|