Transformers
Safetensors
GGUF
gemma4
gemma4-text
causal-lm
tinystories
tiny-model
validation
debug-model
Instructions to use shibatch/tinygemma4text3m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use shibatch/tinygemma4text3m with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("shibatch/tinygemma4text3m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use shibatch/tinygemma4text3m with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf shibatch/tinygemma4text3m:Q4_K_M # Run inference directly in the terminal: llama cli -hf shibatch/tinygemma4text3m:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf shibatch/tinygemma4text3m:Q4_K_M # Run inference directly in the terminal: llama cli -hf shibatch/tinygemma4text3m:Q4_K_M
Build from source code
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 shibatch/tinygemma4text3m:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf shibatch/tinygemma4text3m:Q4_K_M
Use Docker
docker model run hf.co/shibatch/tinygemma4text3m:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use shibatch/tinygemma4text3m with Ollama:
ollama run hf.co/shibatch/tinygemma4text3m:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use shibatch/tinygemma4text3m with Docker Model Runner:
docker model run hf.co/shibatch/tinygemma4text3m:Q4_K_M
- Lemonade
How to use shibatch/tinygemma4text3m with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull shibatch/tinygemma4text3m:Q4_K_M
Run and chat with the model
lemonade run user.tinygemma4text3m-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download eval_text_generation.json from shibatch/tinygemma4text3m: direct link, hf CLI and curl.
- Browser
- Download file 865 Bytes
-
https://huggingface.co/shibatch/tinygemma4text3m/resolve/main/eval_text_generation.json
- Command line
-
hf download hf://shibatch/tinygemma4text3m/eval_text_generation.json
-
curl -L -o eval_text_generation.json https://huggingface.co/shibatch/tinygemma4text3m/resolve/main/eval_text_generation.json
865 Bytes
| { | |
| "Once upon": "Once upon a time, there was a little girl named Lily. She loved to play with her toys and her friends. One day, Lily's mom said, \"We can play with the toys, but you can't play with it. You can play with it.\"\n\nLily was happy to see the toys and the toys. She said, \"I'm sorry, mom. I'm sorry.", | |
| "There was a little": "There was a little girl named Lily. She loved to play with her toys and her toys. One day, she saw a big pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink pink", | |
| "One day": "One day, a little girl named Lily was playing in the park. She saw a big, deep bush. She was very happy. She wanted to play with it.\n\n\"Wow, Lily, that's a big bush!\" she said. \"I'm so happy to see you.\"\n\n\"I'm sorry, Lily. I was very happy. I was" | |
| } |