Zack Saadioui
8/27/2024
1
2
3
4
python
from huggingface_hub import snapshot_download
model_id = 'gpt-4'
snapshot_download(repo_id=model_id, local_dir='gpt4-model')1
2
3
4
bash
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
pip install -r requirements.txt1
2
bash
python llama.cpp/convert.py gpt4-model/ --outfile gpt4.gguf --outtype q8_01
--outtype1
f161
f321
2
bash
ollama run gpt4.ggufCopyright © Arsturn 2025