Naruto LLM
Collection
All about Narutoverse: Text-based LLM, Vision LLM, Reasoning LLM โข 1 item โข Updated
How to use SteveTran/naruto-gemma-2-9b with Adapters:
from adapters import AutoAdapterModel
model = AutoAdapterModel.from_pretrained("<base-model-id>")
model.load_adapter("SteveTran/naruto-gemma-2-9b", set_active=True)How to use SteveTran/naruto-gemma-2-9b with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf SteveTran/naruto-gemma-2-9b # Run inference directly in the terminal: llama cli -hf SteveTran/naruto-gemma-2-9b
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf SteveTran/naruto-gemma-2-9b # Run inference directly in the terminal: llama cli -hf SteveTran/naruto-gemma-2-9b
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf SteveTran/naruto-gemma-2-9b # Run inference directly in the terminal: ./build/bin/llama cli -hf SteveTran/naruto-gemma-2-9b
docker model run hf.co/SteveTran/naruto-gemma-2-9b
How to use SteveTran/naruto-gemma-2-9b with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "SteveTran/naruto-gemma-2-9b"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "SteveTran/naruto-gemma-2-9b",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/SteveTran/naruto-gemma-2-9b
How to use SteveTran/naruto-gemma-2-9b with Ollama:
ollama run hf.co/SteveTran/naruto-gemma-2-9b
How to use SteveTran/naruto-gemma-2-9b with Docker Model Runner:
docker model run hf.co/SteveTran/naruto-gemma-2-9b
How to use SteveTran/naruto-gemma-2-9b with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull SteveTran/naruto-gemma-2-9b
lemonade run user.naruto-gemma-2-9b-{{QUANT_TAG}}lemonade list
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf SteveTran/naruto-gemma-2-9b# Run inference directly in the terminal:
llama cli -hf SteveTran/naruto-gemma-2-9bgit clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf SteveTran/naruto-gemma-2-9b# Run inference directly in the terminal:
./build/bin/llama cli -hf SteveTran/naruto-gemma-2-9bdocker model run hf.co/SteveTran/naruto-gemma-2-9bWe're not able to determine the quantization variants.
Install (macOS, Linux)
# Start a local OpenAI-compatible server with a web UI: llama serve -hf SteveTran/naruto-gemma-2-9b# Run inference directly in the terminal: llama cli -hf SteveTran/naruto-gemma-2-9b