Instructions to use TorpedoSoftware/Gemma-3-1B-Roblox-Luau with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use TorpedoSoftware/Gemma-3-1B-Roblox-Luau with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="TorpedoSoftware/Gemma-3-1B-Roblox-Luau", filename="Gemma-3-1B-Roblox-Luau-Q3_K_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use TorpedoSoftware/Gemma-3-1B-Roblox-Luau with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M # Run inference directly in the terminal: llama-cli -hf TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M # Run inference directly in the terminal: llama-cli -hf TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M
Use pre-built binary
# 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 TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M # Run inference directly in the terminal: ./llama-cli -hf TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M
Build from source code
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 TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M
Use Docker
docker model run hf.co/TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M
- LM Studio
- Jan
- vLLM
How to use TorpedoSoftware/Gemma-3-1B-Roblox-Luau with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "TorpedoSoftware/Gemma-3-1B-Roblox-Luau" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "TorpedoSoftware/Gemma-3-1B-Roblox-Luau", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M
- Ollama
How to use TorpedoSoftware/Gemma-3-1B-Roblox-Luau with Ollama:
ollama run hf.co/TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M
- Unsloth Studio
How to use TorpedoSoftware/Gemma-3-1B-Roblox-Luau with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
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 TorpedoSoftware/Gemma-3-1B-Roblox-Luau to start chatting
Install Unsloth Studio (Windows)
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 TorpedoSoftware/Gemma-3-1B-Roblox-Luau to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for TorpedoSoftware/Gemma-3-1B-Roblox-Luau to start chatting
- Docker Model Runner
How to use TorpedoSoftware/Gemma-3-1B-Roblox-Luau with Docker Model Runner:
docker model run hf.co/TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M
- Lemonade
How to use TorpedoSoftware/Gemma-3-1B-Roblox-Luau with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Q3_K_M
Run and chat with the model
lemonade run user.Gemma-3-1B-Roblox-Luau-Q3_K_M
List all available models
lemonade list
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf TorpedoSoftware/Gemma-3-1B-Roblox-Luau:# Run inference directly in the terminal:
llama-cli -hf TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Use pre-built binary
# 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 TorpedoSoftware/Gemma-3-1B-Roblox-Luau:# Run inference directly in the terminal:
./llama-cli -hf TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Build from source code
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 TorpedoSoftware/Gemma-3-1B-Roblox-Luau:# Run inference directly in the terminal:
./build/bin/llama-cli -hf TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Use Docker
docker model run hf.co/TorpedoSoftware/Gemma-3-1B-Roblox-Luau:Gemma-3-1B-Roblox-Luau
A fine tune of google/gemma-3-1b-it using boatbomber/roblox-info-dump and boatbomber/the-luau-stack for Roblox domain knowledge.
This is intended to be used for speculative decoding with boatbomber/Gemma-3-27B-Roblox-Luau. It can be used standalone in memory constrained environments, but is not nearly as capable as the 27B model as it has so few weights that it cannot learn the same level of detail.
Available quants:
| Quant | Size | Notes |
|---|---|---|
| Q8_O | 1.39GB | High resource use, but generally acceptable. Use when accuracy is crucial. |
| Q5_K_M | 1.08GB | Recommended. Uses Q6_K for half of the attention.wv and feed_forward.w2 tensors, else Q5_K |
| Q3_K_M | 0.89GB | Uses Q4_K for the attention.wv, attention.wo, and feed_forward.w2 tensors, else Q3_K. Quality is noticeably degraded. |
- Downloads last month
- 83
Install from brew
# Start a local OpenAI-compatible server with a web UI: llama-server -hf TorpedoSoftware/Gemma-3-1B-Roblox-Luau:# Run inference directly in the terminal: llama-cli -hf TorpedoSoftware/Gemma-3-1B-Roblox-Luau: