Downloads · 30 days
2K
7% of all-time downloads
legraphista/Phi-3-medium-4k-instruct-IMat-GGUF
Phi-3-medium-4k-instruct-IMat-GGUF is a text generation model from legraphista. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as mit.
Llama.cpp imatrix quantization of microsoft/Phi-3-medium-4k-instruct
Downloads · 30 days
2K
7% of all-time downloads
All-time downloads
29.8K
Public
Repo size
211 GB
Likes
0
Public
Click a slice to open those files.
.gguf211 GB · 100%
From the Hugging Face model README
Llama.cpp imatrix quantization of microsoft/Phi-3-medium-4k-instruct
Original Model: microsoft/Phi-3-medium-4k-instruct
Original dtype: BF16 (bfloat16)
Quantized by: llama.cpp b2998
IMatrix dataset: here
Status: ✅ Available
Link: here
| Filename | Quant type | File Size | Status | Uses IMatrix | Is Split |
|---|---|---|---|---|---|
| Phi-3-medium-4k-instruct.Q8_0.gguf | Q8_0 | 14.83GB | ✅ Available | ⚪ No | 📦 No |
| Phi-3-medium-4k-instruct.Q6_K.gguf | Q6_K | 11.45GB | ✅ Available | ⚪ No | 📦 No |
| Phi-3-medium-4k-instruct.Q4_K.gguf | Q4_K | 8.57GB | ✅ Available | 🟢 Yes | 📦 No |
| Phi-3-medium-4k-instruct.Q3_K.gguf | Q3_K | 6.92GB | ✅ Available | 🟢 Yes | 📦 No |
| Phi-3-medium-4k-instruct.Q2_K.gguf | Q2_K | 5.14GB | ✅ Available | 🟢 Yes | 📦 No |
First, make sure you have hugginface-cli installed:
pip install -U "huggingface_hub[cli]"
Then, you can target the specific file you want:
huggingface-cli download legraphista/Phi-3-medium-4k-instruct-IMat-GGUF --include "Phi-3-medium-4k-instruct.Q8_0.gguf" --local-dir ./
If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:
huggingface-cli download legraphista/Phi-3-medium-4k-instruct-IMat-GGUF --include "Phi-3-medium-4k-instruct.Q8_0/*" --local-dir Phi-3-medium-4k-instruct.Q8_0
# see FAQ for merging GGUF's
<s><|user|>
I am going to Paris, what should I see?<|end|>
<|assistant|>
Paris, the capital of France, is known for its stunning architecture, art museums, historical landmarks, and romantic atmosphere. Here are some of the top attractions to see in Paris:
1. The Eiffel Tower: The iconic Eiffel Tower is one of the most recognizable landmarks in the world and offers breathtaking views of the city.
2. The Louvre Museum: The Louvre is one of the world's largest and most famous museums, housing an impressive collection of art and artifacts, including the Mona Lisa.
3. Notre-Dame Cathedral: This beautiful cathedral is one of the most famous landmarks in Paris and is known for its Gothic architecture and stunning stained glass windows.
These are just a few of the many attractions that Paris has to offer. With so much to see and do, it's no wonder that Paris is one of the most popular tourist destinations in the world."<|end|>
<|user|>
What is so great about #1?<|end|>
<|assistant|>
llama.cpp/main -m Phi-3-medium-4k-instruct.Q8_0.gguf --color -i -p "prompt here (according to the chat template)"
According to this investigation, it appears that lower quantizations are the only ones that benefit from the imatrix input (as per hellaswag results).
gguf-split available
gguf-split, navigate to https://github.com/ggerganov/llama.cpp/releasesgguf-splitPhi-3-medium-4k-instruct.Q8_0)gguf-split --merge Phi-3-medium-4k-instruct.Q8_0/Phi-3-medium-4k-instruct.Q8_0-00001-of-XXXXX.gguf Phi-3-medium-4k-instruct.Q8_0.gguf
gguf-split to the first chunk of the split.Got a suggestion? Ping me @legraphista!