Skip to content

Commit

Permalink
Code Llama
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Aug 28, 2023
1 parent 0dcf5e4 commit 1034248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/llama_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def format_choice(model):

# Initialize and return Llama-2
# n_gpu_layers=1 should use GPU, but frankly I can't tell if it does (Mac OSX)
llama_2 = Llama(model_path=model_path, n_gpu_layers=-1)
llama_2 = Llama(model_path=model_path, n_gpu_layers=1000)

print("Installed llama:", llama_2)

Expand Down

0 comments on commit 1034248

Please sign in to comment.