microsoft/orca-math-word-problems-200k
Viewer • Updated • 200k • 11.8k • 491
How to use NK590/GemMath-2b-gguf with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf NK590/GemMath-2b-gguf:Q8_0 # Run inference directly in the terminal: llama cli -hf NK590/GemMath-2b-gguf:Q8_0
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf NK590/GemMath-2b-gguf:Q8_0 # Run inference directly in the terminal: llama cli -hf NK590/GemMath-2b-gguf:Q8_0
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf NK590/GemMath-2b-gguf:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf NK590/GemMath-2b-gguf:Q8_0
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf NK590/GemMath-2b-gguf:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf NK590/GemMath-2b-gguf:Q8_0
docker model run hf.co/NK590/GemMath-2b-gguf:Q8_0
How to use NK590/GemMath-2b-gguf with Ollama:
ollama run hf.co/NK590/GemMath-2b-gguf:Q8_0
How to use NK590/GemMath-2b-gguf with Unsloth Studio:
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for NK590/GemMath-2b-gguf to start chatting
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for NK590/GemMath-2b-gguf to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for NK590/GemMath-2b-gguf to start chatting
How to use NK590/GemMath-2b-gguf with Docker Model Runner:
docker model run hf.co/NK590/GemMath-2b-gguf:Q8_0
How to use NK590/GemMath-2b-gguf with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull NK590/GemMath-2b-gguf:Q8_0
lemonade run user.GemMath-2b-gguf-Q8_0
lemonade list
This model is a domain-specific fine-tuned LLM model which is specialized in mathematical inferences and deductions, based on Gemma2 LLM model.
You can import .gguf file with ollama to run this model.
For example, make Modelfile file below in the same directory with .gguf file,
FROM unsloth.Q8_0.gguf
TEMPLATE """{{- if .System }}
<s>{{ .System }}</s>
{{- end }}
<s>Human:
{{ .Prompt }}</s>
<s>Assistant:
"""
SYSTEM """A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions."""
PARAMETER temperature 0
PARAMETER num_predict 3000
PARAMETER num_ctx 4096
PARAMETER stop <s>
PARAMETER stop </s>
then run the following command to read on ollama:
ollama create {model_name} -f Modelfile
finally, you can run this model on ollama. Enjoy!
ollama run {model_name}
This model was fine-tuned using orca-math-word-problems-200k dataset.
8-bit
docker model run hf.co/NK590/GemMath-2b-gguf:Q8_0