Skip to content

Commit

Permalink
LLMFactCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
mlupei committed Feb 28, 2024
1 parent f8123c3 commit 938db79
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=10000, n_batch=1024, n_gpu_layers=15000, n=512, mlock=False)
model = Llama(model_path=model_path, n_threads=10000, n_batch=1024, n_gpu_layers=15000, n=512, mlock=True)
if use_icl:
return prepare_icl(model, model_type)
return model
Expand Down

0 comments on commit 938db79

Please sign in to comment.