File size: 1,151 Bytes
e7a2445
 
 
 
 
5590c06
 
 
 
 
9bb2463
7823bac
9bb2463
 
9d3d43f
9bb2463
7823bac
5590c06
 
 
 
9bb2463
9d3d43f
 
 
9bb2463
 
 
 
5590c06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
---

# enpisi-coder

LoRA adapter for [npcsh](https://github.com/NPC-Worldwide/npcsh) agentic command execution.

Trained on npcsh benchmark traces to improve tool calling, shell command generation, and file operation reasoning.

## Supported Families

| Family | Status |
|--------|--------|
| Qwen3.5 | Planned |
| Gemma4 | Planned |

## Structure

```
adapters/
β”œβ”€β”€ qwen3.5/         # Qwen3.5 family
β”‚   β”œβ”€β”€ mlx/         # Planned
β”‚   β”œβ”€β”€ hf/          # Planned
β”‚   └── gguf/        # Planned
β”œβ”€β”€ gemma4/          # Gemma4 family
β”‚   β”œβ”€β”€ mlx/         # Planned
β”‚   β”œβ”€β”€ hf/          # Planned
β”‚   └── gguf/        # Planned
```

## Usage

```python
from npcpy.ft.sft import load_sft_model, predict_sft

model, tokenizer = load_sft_model("npc-worldwide/enpisi-coder")
response = predict_sft(
    model, tokenizer,
    "Find the largest log file in /var/log and show the last 20 lines",
    max_new_tokens=500,
)
```

## Ecosystem

- [npcpy](https://github.com/NPC-Worldwide/npcpy) β€” training toolkit
- [npcsh](https://github.com/NPC-Worldwide/npcsh) β€” NPC shell