Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
41 |
trust_remote_code=True
|
42 |
)
|
43 |
|
44 |
-
ft_model = PeftModel.from_pretrained(model, "yurezsml/phi2_chan")
|
45 |
|
46 |
def remove_accents(input_str):
|
47 |
nfkd_form = unicodedata.normalize('NFKD', input_str)
|
|
|
41 |
trust_remote_code=True
|
42 |
)
|
43 |
|
44 |
+
ft_model = PeftModel.from_pretrained(model, "yurezsml/phi2_chan", offload_dir="")
|
45 |
|
46 |
def remove_accents(input_str):
|
47 |
nfkd_form = unicodedata.normalize('NFKD', input_str)
|