Downloads · 30 days
0
asedmammad/Llama-2-7B-32K-Instruct-GGML
Llama-2-7B-32K-Instruct-GGML is a machine learning model from asedmammad. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
These files are GGML format model files for TogetherAI's Llama-2-7B-32K-Instruct.
Downloads · 30 days
0
Access
Public
Updated Aug 21, 2023
Repo size
73.9 GB
Likes
3
Public
Click a slice to open those files.
.bin73.9 GB · 100%
From the Hugging Face model README
These files are GGML format model files for TogetherAI's Llama-2-7B-32K-Instruct.
GGML files are for CPU + GPU inference using llama.cpp and libraries and UIs which support this format, such as:
llama.cppI use the following command line, adjust for your tastes and needs:
./main -t 2 -ngl 32 -m Llama-2-7B-32K-Instruct.ggmlv3.q4_0.bin --color --rope-freq-scale 0.25 --rope-freq-base 347620 -c 32768 --temp 0.7 --repeat_penalty 1.1 -n -1 -p "[INST]\nWrite a poem about cats\n[\INST]\n\n"
Change -t 2 to the number of physical CPU cores you have. For example if your system has 8 cores/16 threads, use -t 8.
Change -ngl 26 to the number of layers to offload to GPU. Remove it if you don't have GPU acceleration.
If you want to have a chat-style conversation, replace the -p <PROMPT> argument with -i -ins, you can use --interactive-first to start in interactive mode.
I have uploded bothe the original llama.cpp quant methods (q4_0, q4_1, q5_0, q5_1, q8_0) as well as the new k-quant methods (q2_K, q3_K_S, q3_K_M, q3_K_L, q4_K_S, q4_K_M, q5_K_S, q6_K).
Please refer to llama.cpp and TheBloke's GGML models for further explanation.
text-generation-webuiFurther instructions here: text-generation-webui/docs/llama.cpp-models.md.
<!-- footer start -->Thanks to TheBloke for inspiration and providing almost all of the readme here!
Thanks to TogetherAI for providing checkpoints of the model.
Thanks to Georgi Gerganov and all of the awesome people in the AI community.