Safetensors
English
code
fullstack
algorithms
sql
devops
security
debugging
frontend
backend
lora
unsloth
amd-rocm
Instructions to use lhordking/Shadow-coder-v4-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Local Apps Settings
- Unsloth Studio
How to use lhordking/Shadow-coder-v4-LoRA 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 lhordking/Shadow-coder-v4-LoRA 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 lhordking/Shadow-coder-v4-LoRA to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for lhordking/Shadow-coder-v4-LoRA to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="lhordking/Shadow-coder-v4-LoRA", max_seq_length=2048, )
Shadow-Coder v4 β Multi-Expert LoRA
Continually fine-tuned from Shadow-Coder v3, specializing in 8 coding domains.
Domains
| Domain | Datasets | Examples |
|---|---|---|
| Fullstack Architecture | local | 750 |
| General Coding | Magicoder, CodeAlpaca, CodeFeedback, Glaive | 10,000 |
| Algorithms | LeetCode, APPS, CodeContests | 6,000 |
| SQL / Database | sql-create-context, Spider, NSText2SQL | 5,500 |
| Frontend | CodeFeedback-HF, Jupyter | 2,500 |
| Debugging / Code Review | CodeReview-MS, DebugBench, Code-repair | 4,500 |
| DevOps / Shell | Shell-cmds, NL2Bash, Tested-Python | 3,000 |
| Security | Python-security, CyberSecEval | 1,000 |
Training
- Base: Shadow-Coder v3 β merged β v4 LoRA
- GPU: AMD Radeon RX 9060 XT (ROCm 7.0)
- Method: LoRA r=16, alpha=32
- Steps: 8,000
Usage
from unsloth import FastLanguageModel
import torch
model, tokenizer = FastLanguageModel.from_pretrained(
model_name = "lhordking/Shadow-coder-v4-LoRA",
max_seq_length = 2048,
dtype = torch.bfloat16,
)
FastLanguageModel.for_inference(model)
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support