Transformers
PyTorch
Safetensors
GGUF
English
llama
text-generation-inference
unsloth
trl
sft
conversational
Instructions to use Ramikan-BR/tinyllama-coder-py-4bit-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ramikan-BR/tinyllama-coder-py-4bit-v1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Ramikan-BR/tinyllama-coder-py-4bit-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Ramikan-BR/tinyllama-coder-py-4bit-v1 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 Ramikan-BR/tinyllama-coder-py-4bit-v1:Q4_K_M # Run inference directly in the terminal: llama cli -hf Ramikan-BR/tinyllama-coder-py-4bit-v1:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Ramikan-BR/tinyllama-coder-py-4bit-v1:Q4_K_M # Run inference directly in the terminal: llama cli -hf Ramikan-BR/tinyllama-coder-py-4bit-v1: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 Ramikan-BR/tinyllama-coder-py-4bit-v1:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Ramikan-BR/tinyllama-coder-py-4bit-v1:Q4_K_M
Use Docker
docker model run hf.co/Ramikan-BR/tinyllama-coder-py-4bit-v1:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use Ramikan-BR/tinyllama-coder-py-4bit-v1 with Ollama:
ollama run hf.co/Ramikan-BR/tinyllama-coder-py-4bit-v1:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Ramikan-BR/tinyllama-coder-py-4bit-v1 with Docker Model Runner:
docker model run hf.co/Ramikan-BR/tinyllama-coder-py-4bit-v1:Q4_K_M
- Lemonade
How to use Ramikan-BR/tinyllama-coder-py-4bit-v1 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Ramikan-BR/tinyllama-coder-py-4bit-v1:Q4_K_M
Run and chat with the model
lemonade run user.tinyllama-coder-py-4bit-v1-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download pytorch_model.bin from Ramikan-BR/tinyllama-coder-py-4bit-v1: direct link, hf CLI and curl.
- Browser
- Download file 2.2 GB
-
https://huggingface.co/Ramikan-BR/tinyllama-coder-py-4bit-v1/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://Ramikan-BR/tinyllama-coder-py-4bit-v1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Ramikan-BR/tinyllama-coder-py-4bit-v1/resolve/main/pytorch_model.bin
2.2 GB
- Xet hash:
- 87d45fc5514b1ea089d907717d53debae62d0cb65097489870ec98bde5ac487e
- Size of remote file:
- 2.2 GB
- SHA256:
- 166e1a76c90ee8e26ff4713959fac82d64dac40c2f724398fe5a566d3bb16daf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.