Skip to content

Commit

Permalink
adding back in the trust_remote_code variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jojortz committed Oct 16, 2023
1 parent b6db2e0 commit e45e8c0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pykoi/retrieval/llm/huggingface.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ def __init__(self, vector_db: AbsVectorDb, **kwargs):
model_kwargs={
"temperature": 0,
"max_length": kwargs.get("max_length", 500),
# "trust_remote_code": kwargs.get("trust_remote_code", True),
# "load_in_8bit": True,
"trust_remote_code": kwargs.get("trust_remote_code", True),
},
)

Expand Down

0 comments on commit e45e8c0

Please sign in to comment.