File size: 3,428 Bytes
a57b4bf 97a2528 a57b4bf 9d91afd a57b4bf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | ---
license: mit
datasets:
- Roman1111111/claude-opus-4.6-10000x
language:
- en
base_model:
- Jackrong/Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled
pipeline_tag: text-generation
tags:
- code
new_version: Jackrong/Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled
---
# π§± Shulker Code β Coding LLM by @kopeedev
> A production-ready, scalable Transformer-based LLM built **exclusively for programming tasks**.
> From 5M to 80B parameters. CPU to multi-GPU. Your local GitHub Copilot.
---
## π Quick Start
```bash
# Install dependencies
pip install -r requirements.txt
# Generate code
python main.py generate --prompt "Write a Python function to reverse a linked list"
# Train on your own dataset
python main.py train --config configs/small.yaml --data data/sample_dataset.jsonl
# Debug mode (analyze + fix code)
python main.py debug --file mycode.py
# Launch Web UI
python main.py webui
```
---
## π Model Variants
| Variant | Params | Layers | Heads | Hidden | Use Case |
|------------|----------|--------|-------|--------|----------------------|
| `nano` | ~5M | 4 | 4 | 256 | CPU / Edge devices |
| `small` | ~125M | 12 | 12 | 768 | Laptop GPU |
| `medium` | ~1.3B | 24 | 16 | 2048 | RTX 3080+ |
| `large` | ~7B | 32 | 32 | 4096 | A100 / Multi-GPU |
| `xlarge` | ~80B | 64 | 64 | 8192 | GPU Clusters |
---
## π Project Structure
```
shulker_code/
βββ model/ # Transformer architecture
β βββ transformer.py # Core model (GPT-style decoder)
β βββ attention.py # Multi-head & grouped-query attention
β βββ embeddings.py # Token + positional embeddings (RoPE)
β βββ lora.py # LoRA / PEFT fine-tuning
βββ data/ # Data pipeline
β βββ tokenizer.py # BPE tokenizer (code-optimized)
β βββ dataset.py # Dataset loaders (JSON/TXT/JSONL)
β βββ sample_dataset.jsonl
βββ training/ # Training system
β βββ trainer.py # Main training loop
β βββ scheduler.py # LR schedulers
β βββ checkpointing.py
βββ inference/ # Inference engine
β βββ engine.py # Fast generation engine
β βββ streaming.py # Streaming / typing-effect output
βββ utils/ # Utilities
β βββ hardware.py # Hardware detection & optimization
β βββ quantization.py # INT8 / 4-bit quantization
β βββ banner.py # CLI ASCII art banner
βββ configs/ # Model configs
β βββ nano.yaml
β βββ small.yaml
β βββ medium.yaml
β βββ large.yaml
β βββ xlarge.yaml
βββ plugins/ # Plugin system
β βββ code_executor.py
βββ web/ # Web UI
β βββ app.py # FastAPI web interface
βββ main.py # CLI entrypoint
βββ requirements.txt
```
---
## π Hardware Guide
- **CPU only** β use `nano` config with INT8 quantization
- **Single GPU (8GB)** β use `small` with FP16
- **Single GPU (24GB+)** β use `medium` with FP16
- **Multi-GPU** β use `large` or `xlarge` with DDP/FSDP
---
## π License
MIT β Developed by [@kopeedev](https://github.com/faisalgitt) / CyeroX Development |