Spaces:
Running
on
Zero
Running
on
Zero
StevenChen16
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -31,8 +31,8 @@ def process_paragraph(paragraph, progress=gr.Progress()):
|
|
31 |
|
32 |
|
33 |
args = dict(
|
34 |
-
|
35 |
-
model_name_or_path="StevenChen16/llama3-8b-compliance-review",
|
36 |
# adapter_name_or_path="StevenChen16/llama3-8b-compliance-review-adapter", # 加载保存的 LoRA 适配器
|
37 |
template="llama3", # 与训练时使用的模板相同
|
38 |
finetuning_type="lora", # 与训练时使用的微调类型相同
|
|
|
31 |
|
32 |
|
33 |
args = dict(
|
34 |
+
model_name_or_path="princeton-nlp/Llama-3-Instruct-8B-SimPO", # 使用量化的 Llama-3-8B-Instruct 模型
|
35 |
+
# model_name_or_path="StevenChen16/llama3-8b-compliance-review",
|
36 |
# adapter_name_or_path="StevenChen16/llama3-8b-compliance-review-adapter", # 加载保存的 LoRA 适配器
|
37 |
template="llama3", # 与训练时使用的模板相同
|
38 |
finetuning_type="lora", # 与训练时使用的微调类型相同
|