mirror of
https://github.com/katanemo/plano.git
synced 2026-04-28 10:26:36 +02:00
change nli model (#167)
* change nli model * Fix bug in hallucination --------- Co-authored-by: Shuguang Chen <54548843+nehcgs@users.noreply.github.com>
This commit is contained in:
parent
3b7c58698f
commit
f9e3a052fc
3 changed files with 6 additions and 5 deletions
|
|
@ -30,7 +30,7 @@ def get_embedding_model(
|
|||
|
||||
|
||||
def get_zero_shot_model(
|
||||
model_name=os.getenv("ZERO_SHOT_MODELS", "katanemo/deberta-base-nli"),
|
||||
model_name=os.getenv("ZERO_SHOT_MODELS", "katanemo/bart-large-mnli"),
|
||||
):
|
||||
print("Loading Zero-shot Model...")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue