Views
No views yet
microsoft/phi-3-mini-4k-instruct converted to GGUF format for use with llama.cpp, Ollama, or compatible runtimes.microsoft/phi-3-mini-4k-instructconvert_hf_to_gguf.py from llama.cppllama.cpp./main -m phi3-finetuned.gguf -p "What rights does this contract give me?"🐍 With Python + llama-cpp-python1from llama_cpp import Llama
2
3llm = Llama(model_path="phi3-finetuned.gguf")
4output = llm("Summarize the terms of this agreement.")
5print(output)🤖 With Ollama (if merged)1ollama create phi3-legal -f Modelfile
2ollama run phi3-legal| File | Description |
|---|---|
phi3-finetuned.gguf | The GGUF format model file for inference |
README.md | Description and usage guide (this file) |
Modelfile (optional) | Ollama model recipe (if you use Ollama) |
transformers, trl, and PEFT (LoRA).gguf format using llama.cpp's convert_hf_to_gguf.py