Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,6 @@ text_tokenizer = AutoTokenizer.from_pretrained(
|
|
45 |
with torch.no_grad():
|
46 |
tuned_phi2 = AutoModelForCausalLM.from_pretrained(
|
47 |
"stage2_adaptor", trust_remote_code=True,
|
48 |
-
device_map="auto",
|
49 |
)
|
50 |
base_phi2_text = AutoModelForCausalLM.from_pretrained(
|
51 |
phi_model_name, trust_remote_code=True,
|
|
|
45 |
with torch.no_grad():
|
46 |
tuned_phi2 = AutoModelForCausalLM.from_pretrained(
|
47 |
"stage2_adaptor", trust_remote_code=True,
|
|
|
48 |
)
|
49 |
base_phi2_text = AutoModelForCausalLM.from_pretrained(
|
50 |
phi_model_name, trust_remote_code=True,
|