Skip to content

Commit

Permalink
LLMFactCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
mlupei committed Feb 23, 2024
1 parent a7b0a61 commit 58411e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/load_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def load_model(model_type, use_icl):
# Load a Llama model
model_name = "TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF"
model_path = hf_hub_download(repo_id=model_name, filename="mixtral-8x7b-instruct-v0.1.Q5_K_M.gguf")
model = Llama(model_path=model_path, n_threads=4, n_batch=512, n_gpu_layers=2, n=128, mlock=True)
model = Llama(model_path=model_path, n_threads=2, n_batch=512, n_gpu_layers=2, n=2, mlock=True)
if use_icl:
return prepare_icl(model, model_type)
return model
Expand Down

0 comments on commit 58411e7

Please sign in to comment.