LBTG method
Collection
Label-based text generation • 14 items • Updated
How to use hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples:Q4_K_M # Run inference directly in the terminal: llama cli -hf hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples:Q4_K_M # Run inference directly in the terminal: llama cli -hf hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples:Q4_K_M
# 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 hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples:Q4_K_M
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 hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples:Q4_K_M
docker model run hf.co/hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples:Q4_K_M
How to use hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples with Ollama:
ollama run hf.co/hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples:Q4_K_M
How to use hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples with Docker Model Runner:
docker model run hf.co/hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples:Q4_K_M
How to use hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull hienbm/gemma2-9b-it-for-tripadvisor-v3-5-samples:Q4_K_M
lemonade run user.gemma2-9b-it-for-tripadvisor-v3-5-samples-Q4_K_M
lemonade list
This model was finetuned and converted to GGUF format using Unsloth.
Example usage:
gemma-2-9b-it.Q4_K_M.ggufAn Ollama Modelfile is included for easy deployment.
The model's BOS token behavior was adjusted for GGUF compatibility.
4-bit