Text Generation
PEFT
Safetensors
English
Chinese
code
coding-agent
repository-level
software-engineering
lora
qlora
qwen2.5-coder
consumer-gpu
conversational
Instructions to use PummyLee/TAYI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use PummyLee/TAYI with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-7B-Instruct") model = PeftModel.from_pretrained(base_model, "PummyLee/TAYI") - Notebooks
- Google Colab
- Kaggle
File size: 4,050 Bytes
5746413 | 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 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 | # TAYI Project State
Last updated: 2026-08-24
## Summary
TAYI is a working local research prototype for a consumer-GPU coding agent. It currently has:
- a Rust CLI for indexing, retrieval, context construction, solving, patch validation, and test execution;
- a Python research package for evaluation, distillation, teacher repair, capability analysis, and adapter training flows;
- local gold fixtures across Python, JavaScript, Rust, Go, and Java;
- scripts for workspace-local environment setup, `llama.cpp` serving, open-teacher serving, WSL training, and cleanup;
- documented v3 context/curriculum and v5 system-optimization research tracks.
The repo is ready to be saved to GitHub as source and documentation. Large generated assets stay local and are restored separately.
## Status
Current status is research prototype, not production model release.
Working:
- CLI command surface builds and exposes `index`, `analyze`, `retrieve`, `context`, `solve`, `apply-patch`, `test`, `doctor`, and `local-check`.
- Workspace-local Cargo target/cache policy is configured through `.cargo/config.toml`.
- Python tests cover the research modules.
- Local model and teacher paths are standardized under `model/`.
- Large files are excluded by `.gitignore`.
- README and restore docs explain how to hand off the project.
Known limits:
- v5.1 semantic adapter was not promoted because target3 stayed at `2/3`.
- Current verified semantic repair data is too small for a meaningful capability jump.
- Full broad-language claims require more fixtures and verified repairs.
- Large local assets are not in Git and must be re-created or preserved outside the repository.
## Measured Capability
Known local readout from the existing project notes:
| System | Eval slice | Result |
| --- | --- | --- |
| Base 7B HF student | local gold-20 | `13/20`, pass@1 `0.65` |
| Early TAYI LoRA v0 | local gold-20 | `14/20`, pass@1 `0.70` |
| Runtime v4.4 | target3 | `2/3`, pass@1 `0.6667` |
| v5 system adapter | target3 | `2/3`, pass@1 `0.6667` |
| v5.1 semantic adapter | target3 | `2/3`, pass@1 `0.6667`, not promoted |
Interpretation:
- TAYI has a real repo-level loop and measurable progress.
- It should be described as a promising local coding-agent system, not as a finished frontier-class model.
- The next bottleneck is verified semantic repair data scale and harder fixtures.
## Hardware Policy
Primary target:
- RTX 5060 Ti 16GB or similar consumer GPU.
Policy:
- hard VRAM ceiling: 16GB;
- preferred active band: 8-12GB for routine work;
- training and serving should reduce context, batch size, rank, or offload before exceeding the ceiling;
- use retrieval and context compression instead of brute-force full-repo context.
## Git Tracking Policy
Track:
- source code;
- tests;
- scripts;
- configs;
- docs;
- brand assets;
- small example fixtures;
- schemas and small task definitions.
Do not track:
- `model/`;
- `artifacts/`;
- `.cache/`;
- `third_party/`;
- `downloads/`;
- `.wsl/`;
- `.aicoder/` and `.tayi/` runtime traces;
- checkpoint, GGUF, safetensors, or temporary training output files.
## Next Mainline
Next milestone:
```text
verified_semantic_repair_pack_v1
```
Definition:
- build 20-50 verified semantic-repair samples;
- include source context, paired specs/tests, failed candidates, logs, and passing patches;
- expand fixture coverage beyond the current small local set;
- run teacher repair only through isolated verification;
- train v5.2 with more than an 8-step smoke only after the verified pack exists;
- promote only through fixed quality gates.
## Recommended Next Commands
```powershell
. .\scripts\tayi_env.ps1
cargo test
$env:PYTHONPATH="src_py"; python -m unittest discover -s tests_py
```
Then generate or refresh the next training/eval artifacts:
```powershell
$env:PYTHONPATH="src_py"; python -m aicoder_research.system_optimizer --help
$env:PYTHONPATH="src_py"; python -m aicoder_research.gold_eval --help
$env:PYTHONPATH="src_py"; python -m aicoder_research.failure_refinery --help
```
|