MLX
Safetensors
GGUF
English
qwen2.5
qwen2.5-coder
code
cli
debugging
developer-tools
lora
ollama
conversational
Instructions to use erdemozkan/YOLO-Coder-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use erdemozkan/YOLO-Coder-8B with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir YOLO-Coder-8B erdemozkan/YOLO-Coder-8B
- llama-cpp-python
How to use erdemozkan/YOLO-Coder-8B with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="erdemozkan/YOLO-Coder-8B", filename="YOLO-7B-Qwen-finetuned.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use erdemozkan/YOLO-Coder-8B with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf erdemozkan/YOLO-Coder-8B:Q4_K_M # Run inference directly in the terminal: llama-cli -hf erdemozkan/YOLO-Coder-8B:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf erdemozkan/YOLO-Coder-8B:Q4_K_M # Run inference directly in the terminal: llama-cli -hf erdemozkan/YOLO-Coder-8B:Q4_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 erdemozkan/YOLO-Coder-8B:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf erdemozkan/YOLO-Coder-8B:Q4_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 erdemozkan/YOLO-Coder-8B:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf erdemozkan/YOLO-Coder-8B:Q4_K_M
Use Docker
docker model run hf.co/erdemozkan/YOLO-Coder-8B:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use erdemozkan/YOLO-Coder-8B with Ollama:
ollama run hf.co/erdemozkan/YOLO-Coder-8B:Q4_K_M
- Unsloth Studio new
How to use erdemozkan/YOLO-Coder-8B 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 erdemozkan/YOLO-Coder-8B 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 erdemozkan/YOLO-Coder-8B to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for erdemozkan/YOLO-Coder-8B to start chatting
- Pi new
How to use erdemozkan/YOLO-Coder-8B with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "erdemozkan/YOLO-Coder-8B"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "erdemozkan/YOLO-Coder-8B" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use erdemozkan/YOLO-Coder-8B with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "erdemozkan/YOLO-Coder-8B"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default erdemozkan/YOLO-Coder-8B
Run Hermes
hermes
- Docker Model Runner
How to use erdemozkan/YOLO-Coder-8B with Docker Model Runner:
docker model run hf.co/erdemozkan/YOLO-Coder-8B:Q4_K_M
- Lemonade
How to use erdemozkan/YOLO-Coder-8B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull erdemozkan/YOLO-Coder-8B:Q4_K_M
Run and chat with the model
lemonade run user.YOLO-Coder-8B-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- adapter/0000100_adapters.safetensors +3 -0
- adapter/0000200_adapters.safetensors +3 -0
- adapter/0000300_adapters.safetensors +3 -0
- adapter/0000400_adapters.safetensors +3 -0
- adapter/0000500_adapters.safetensors +3 -0
- adapter/0000600_adapters.safetensors +3 -0
- adapter/0000700_adapters.safetensors +3 -0
- adapter/0000800_adapters.safetensors +3 -0
- adapter/adapter_config.json +41 -0
- adapter/adapters.safetensors +3 -0
adapter/0000100_adapters.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4e2e94efe22feca189e2432349263bd16b8006b3b5001a1627e5f8ac64e4072
|
| 3 |
+
size 80782652
|
adapter/0000200_adapters.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a66802fd2e673843539db83653a5ec3d868e08c2eb2652cca9386e9ff8eb861
|
| 3 |
+
size 80782652
|
adapter/0000300_adapters.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0452cfbf47932a43aa3155bccb2cf62788077c4e7da78a57c484cc5076df510a
|
| 3 |
+
size 80782652
|
adapter/0000400_adapters.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:991c9c1eb92b397b23376ad1b5d9437303bbb041c735563562881a4882f3b92f
|
| 3 |
+
size 80782652
|
adapter/0000500_adapters.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:026bfe96d894992a5d39dc3faf38f9ac4ce15a409aace3b4e0bbcdd5555d5864
|
| 3 |
+
size 80782652
|
adapter/0000600_adapters.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:41320a29540b6ff45ac89b8bfc201ec747a6628d1160be5fc666e9245727de4b
|
| 3 |
+
size 80782652
|
adapter/0000700_adapters.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:73c59210cf485ea9116cb76da65aee241354d3b75d7aeae2fd7057b46b62c4ab
|
| 3 |
+
size 80782652
|
adapter/0000800_adapters.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ada51cb1d23ab6f4c96f8847047c24d4979d68a7a1646048b90194cd891133b1
|
| 3 |
+
size 80782652
|
adapter/adapter_config.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"adapter_path": "./yolo_adapter_7b",
|
| 3 |
+
"batch_size": 2,
|
| 4 |
+
"clear_cache_threshold": 0,
|
| 5 |
+
"config": "yolo_adapter_7b/adapter_config.json",
|
| 6 |
+
"data": "./data",
|
| 7 |
+
"fine_tune_type": "lora",
|
| 8 |
+
"grad_accumulation_steps": 4,
|
| 9 |
+
"grad_checkpoint": true,
|
| 10 |
+
"iters": 800,
|
| 11 |
+
"learning_rate": 5e-06,
|
| 12 |
+
"lora_parameters": {
|
| 13 |
+
"rank": 8,
|
| 14 |
+
"dropout": 0.0,
|
| 15 |
+
"scale": 20.0
|
| 16 |
+
},
|
| 17 |
+
"lr_schedule": null,
|
| 18 |
+
"mask_prompt": false,
|
| 19 |
+
"max_seq_length": 1024,
|
| 20 |
+
"model": "mlx-community/Qwen2.5-Coder-7B-Instruct-4bit",
|
| 21 |
+
"num_layers": 28,
|
| 22 |
+
"optimizer": "adam",
|
| 23 |
+
"optimizer_config": {
|
| 24 |
+
"adam": {},
|
| 25 |
+
"adamw": {},
|
| 26 |
+
"muon": {},
|
| 27 |
+
"sgd": {},
|
| 28 |
+
"adafactor": {}
|
| 29 |
+
},
|
| 30 |
+
"project_name": null,
|
| 31 |
+
"report_to": null,
|
| 32 |
+
"resume_adapter_file": null,
|
| 33 |
+
"save_every": 100,
|
| 34 |
+
"seed": 42,
|
| 35 |
+
"steps_per_eval": 200,
|
| 36 |
+
"steps_per_report": 10,
|
| 37 |
+
"test": false,
|
| 38 |
+
"test_batches": 500,
|
| 39 |
+
"train": true,
|
| 40 |
+
"val_batches": 25
|
| 41 |
+
}
|
adapter/adapters.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ada51cb1d23ab6f4c96f8847047c24d4979d68a7a1646048b90194cd891133b1
|
| 3 |
+
size 80782652
|