Text Generation
Transformers
GGUF
Burmese
English
burmese
myanmar
code-generation
coding-assistant
low-resource-language
llm
gemma-3
dpo
sft
conversational
Instructions to use WYNN747/burmese-coder-4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WYNN747/burmese-coder-4b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="WYNN747/burmese-coder-4b")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("WYNN747/burmese-coder-4b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use WYNN747/burmese-coder-4b 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 WYNN747/burmese-coder-4b:BF16 # Run inference directly in the terminal: llama cli -hf WYNN747/burmese-coder-4b:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf WYNN747/burmese-coder-4b:BF16 # Run inference directly in the terminal: llama cli -hf WYNN747/burmese-coder-4b:BF16
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 WYNN747/burmese-coder-4b:BF16 # Run inference directly in the terminal: ./llama-cli -hf WYNN747/burmese-coder-4b:BF16
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 WYNN747/burmese-coder-4b:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf WYNN747/burmese-coder-4b:BF16
Use Docker
docker model run hf.co/WYNN747/burmese-coder-4b:BF16
- Llama new
- LM Studio
- Jan
- vLLM
How to use WYNN747/burmese-coder-4b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WYNN747/burmese-coder-4b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WYNN747/burmese-coder-4b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/WYNN747/burmese-coder-4b:BF16
- SGLang
How to use WYNN747/burmese-coder-4b with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "WYNN747/burmese-coder-4b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WYNN747/burmese-coder-4b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "WYNN747/burmese-coder-4b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WYNN747/burmese-coder-4b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use WYNN747/burmese-coder-4b with Ollama:
ollama run hf.co/WYNN747/burmese-coder-4b:BF16
- Unsloth Desktop
- Docker Model Runner
How to use WYNN747/burmese-coder-4b with Docker Model Runner:
docker model run hf.co/WYNN747/burmese-coder-4b:BF16
- Lemonade
How to use WYNN747/burmese-coder-4b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull WYNN747/burmese-coder-4b:BF16
Run and chat with the model
lemonade run user.burmese-coder-4b-BF16
List all available models
lemonade list
- Atomic Chat
Commit History
-
Update README.md
Verified signatureef41217 -
Update README.md
Verified signaturefbd813f -
Update README.md
Verified signatured66ee3d -
Update README.md
Verified signaturef52bb87 -
Update README.md
Verified signature2c97b04 -
Update README.md
Verified signature7254b4d -
Update README.md
Verified signature51634e7 -
Update README.md
Verified signaturea950399 -
Update README.md
Verified signature0a4cfed
-
Update README.md
Verified signature2acbcd5 -
Update README.md
Verified signature0b6161b -
Update Modelfile
Verified signature859da45 -
Update Modelfile
Verified signature7a7b21a -
Update README.md
Verified signature7e79f63 -
Update README.md
Verified signatureeab8f10 -
Update README.md
Verified signature0130afa -
Update README.md
Verified signaturebae7b3e -
Update README.md
Verified signaturec9234fc
-
Upload Modelfile
Verified signatureUpdated Modelfile with optimized prompt.6d811fd -
Update README.md
Verified signature3e103ff -
Upload benchmarks.png
Verified signature8102c1f -
Update README.md
Verified signature15ea4a4 -
Create README.md
Verified signature3b397e8
-
Upload folder using huggingface_hub
Verified signaturee92cece -
initial commit
Verified signatured61bfc9