Views
No views yet
llama.cpp, llama-cpp-python, or Ollama.llama.cpp, llama-cpp-python, or Ollama.llama.cpp./main -m Phi-3-mini-4k-gguf/model.gguf -p "Write a short poem about AI."llama-cpp-python1from llama_cpp import Llama
2
3llm = Llama(model_path="Phi-3-mini-4k-gguf/model.gguf")
4print(llm("Hello world", max_tokens=128))1ollama create phi3-mini-4k-gguf -f Phi-3-mini-4k-gguf/model.gguf
2ollama run phi3-mini-4k-ggufllama.cpp GGUF conversion tools.llama.cpp, llama-cpp-python, Hugging Face Hub.1@misc{microsoft2024phi3,
2 title={Phi-3: Language Models with Long Context},
3 author={Microsoft Research},
4 year={2024},
5 url={https://huggingface.co/microsoft/Phi-3-mini-4k-instruct}
6}llama.cpp.