Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import torch
|
|
2 |
from peft import PeftModel, PeftConfig
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
4 |
|
5 |
-
peft_model_id = f"alimrb/
|
6 |
config = PeftConfig.from_pretrained(peft_model_id)
|
7 |
model = AutoModelForCausalLM.from_pretrained(
|
8 |
config.base_model_name_or_path,
|
|
|
2 |
from peft import PeftModel, PeftConfig
|
3 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
4 |
|
5 |
+
peft_model_id = f"alimrb/eff24_farsi"
|
6 |
config = PeftConfig.from_pretrained(peft_model_id)
|
7 |
model = AutoModelForCausalLM.from_pretrained(
|
8 |
config.base_model_name_or_path,
|