Transformers
PyTorch
Safetensors
GGUF
English
llama
text-generation-inference
unsloth
trl
sft
conversational
Run this model with HF Jobs
Run Ramikan-BR/tinyllama-coder-py-4bit-v5 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Ramikan-BR/tinyllama-coder-py-4bit-v5. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Ramikan-BR/tinyllama-coder-py-4bit-v5 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Ramikan-BR/tinyllama-coder-py-4bit-v5 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-v5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Ramikan-BR/tinyllama-coder-py-4bit-v5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use Ramikan-BR/tinyllama-coder-py-4bit-v5 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-v5:Q8_0 # Run inference directly in the terminal: llama cli -hf Ramikan-BR/tinyllama-coder-py-4bit-v5:Q8_0
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-v5:Q8_0 # Run inference directly in the terminal: llama cli -hf Ramikan-BR/tinyllama-coder-py-4bit-v5:Q8_0
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-v5:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf Ramikan-BR/tinyllama-coder-py-4bit-v5:Q8_0
Use Docker
docker model run hf.co/Ramikan-BR/tinyllama-coder-py-4bit-v5:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use Ramikan-BR/tinyllama-coder-py-4bit-v5 with Ollama:
ollama run hf.co/Ramikan-BR/tinyllama-coder-py-4bit-v5:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use Ramikan-BR/tinyllama-coder-py-4bit-v5 with Docker Model Runner:
docker model run hf.co/Ramikan-BR/tinyllama-coder-py-4bit-v5:Q8_0
- Lemonade
How to use Ramikan-BR/tinyllama-coder-py-4bit-v5 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Ramikan-BR/tinyllama-coder-py-4bit-v5:Q8_0
Run and chat with the model
lemonade run user.tinyllama-coder-py-4bit-v5-Q8_0
List all available models
lemonade list
- Atomic Chat
Trained with Unsloth
Browse filesFiles changed (4)
- README.md+1
- config.jsonAdded+34
- generation_config.jsonAdded+7
- pytorch_model.binAdded+3
7 unmodified lines89101112137 unmodified lines- unsloth- llama- trlbase_model: unsloth/tinyllama-chat-bnb-4bit---7 unmodified lines8910111213147 unmodified lines- unsloth- llama- trl- sftbase_model: unsloth/tinyllama-chat-bnb-4bit---
12345678910111213141516171819202122232425262728293031323334{ "_name_or_path": "unsloth/tinyllama-chat-bnb-4bit", "architectures": [ "LlamaForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": 1, "eos_token_id": 2, "hidden_act": "silu", "hidden_size": 2048, "initializer_range": 0.02, "intermediate_size": 5632, "max_position_embeddings": 4096, "mlp_bias": false, "model_type": "llama", "num_attention_heads": 32, "num_hidden_layers": 22, "num_key_value_heads": 4, "pad_token_id": 0, "pretraining_tp": 1, "rms_norm_eps": 1e-05, "rope_scaling": { "factor": 2.0, "type": "linear" }, "rope_theta": 10000.0, "tie_word_embeddings": false, "torch_dtype": "float16", "transformers_version": "4.41.0", "unsloth_version": "2024.5", "use_cache": true, "vocab_size": 32000}1234567{ "bos_token_id": 1, "eos_token_id": 2, "max_length": 2048, "pad_token_id": 0, "transformers_version": "4.41.0"}123version https://git-lfs.github.com/spec/v1oid sha256:701ac543a94f3947717d795d698a1d7ca681de521fe5a53d16d53cfd157e3969size 2200164718README.md+1
config.jsonAdded+34
generation_config.jsonAdded+7
pytorch_model.binAdded+3