Views
No views yet
model-f16.gguf): Full precision, ~24GBmodel-Q8_0.gguf): 8-bit quantization, ~13GB, high qualitymodel-Q4_K_M.gguf): 4-bit quantization, ~7GB, recommended for most users1# Download model
2huggingface-cli download ambrosfitz/mistral-nemo-gguf model-Q4_K_M.gguf --local-dir ./models
3
4# Run inference
5./llama.cpp/main -m ./models/model-Q4_K_M.gguf -p "Question: What was the Renaissance?\n\nAnswer:" -n 2561# Create Modelfile
2cat > Modelfile <<EOF
3FROM ./model-Q4_K_M.gguf
4PARAMETER temperature 0.7
5PARAMETER top_p 0.9
6EOF
7
8# Create model
9ollama create mistral-humanities -f Modelfile
10
11# Run
12ollama run mistral-humanities "What was the Renaissance?"Question: What were the main causes of World War I?
Answer:
Question: Explain the philosophical ideas of the Enlightenment.
Answer:
Question: Who wrote 'The Republic' and what is it about?
Answer: