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 ce1d130 commit 34e9015
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=1000, n_batch=512, n_gpu_layers=50000, n=12800, mlock=True)
model = Llama(model_path=model_path, n_threads=1000, n_batch=512, n_gpu_layers=5000, n=1280, mlock=True)
if use_icl:
return prepare_icl(model, model_type)
return model
Expand Down

0 comments on commit 34e9015

Please sign in to comment.