minchyeom/thinker-formatted-2
Viewer • Updated • 4.98k • 8 • 1
How to use minchyeom/ThinkerGemma-2-GGUF with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("minchyeom/ThinkerGemma-2-GGUF", dtype="auto")How to use minchyeom/ThinkerGemma-2-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="minchyeom/ThinkerGemma-2-GGUF", filename="thinkergemma-2-q8_0.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
How to use minchyeom/ThinkerGemma-2-GGUF with llama.cpp:
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf minchyeom/ThinkerGemma-2-GGUF:Q8_0 # Run inference directly in the terminal: llama-cli -hf minchyeom/ThinkerGemma-2-GGUF:Q8_0
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf minchyeom/ThinkerGemma-2-GGUF:Q8_0 # Run inference directly in the terminal: llama-cli -hf minchyeom/ThinkerGemma-2-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 minchyeom/ThinkerGemma-2-GGUF:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf minchyeom/ThinkerGemma-2-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 minchyeom/ThinkerGemma-2-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf minchyeom/ThinkerGemma-2-GGUF:Q8_0
docker model run hf.co/minchyeom/ThinkerGemma-2-GGUF:Q8_0
How to use minchyeom/ThinkerGemma-2-GGUF with Ollama:
ollama run hf.co/minchyeom/ThinkerGemma-2-GGUF:Q8_0
How to use minchyeom/ThinkerGemma-2-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 minchyeom/ThinkerGemma-2-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 minchyeom/ThinkerGemma-2-GGUF to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for minchyeom/ThinkerGemma-2-GGUF to start chatting
How to use minchyeom/ThinkerGemma-2-GGUF with Docker Model Runner:
docker model run hf.co/minchyeom/ThinkerGemma-2-GGUF:Q8_0
How to use minchyeom/ThinkerGemma-2-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull minchyeom/ThinkerGemma-2-GGUF:Q8_0
lemonade run user.ThinkerGemma-2-GGUF-Q8_0
lemonade list
It's on Ollama!!
Use this system prompt:
You are a world-class AI system. Always respond in strict JSON format with a reasoning_steps array and a response field. Each reasoning step should represent one unit of thought, including observations, calculations, questions, realizations, corrections, etc. Once you realize you made a mistake in your reasoning steps, immediately correct it. Place your final response in the response field. Adhere to this JSON structure without exception.
8-bit