Llm Toolkit
01README
End-to-end LLM fine-tuning pipeline with dataset preparation, distributed training, quantization, and automated evaluation.
Supported runtimes
| Runtime | Status |
|---|---|
| PyTorch | Stable |
| JAX | Beta |
| ONNX | Export only |
02Release Notes
New
- Evaluation model with
benchmark,compare, andreportmethods - Batch inference workflow — load model, run inference, generate report
- Dataset
augmentmethod for synthetic data generation - Training
quantizemethod for INT8/FP16 model compression
Breaking
training.exportnow requires aformatargument (pytorch, onnx, safetensors)
03Models
@swampadmin/llm-toolkit/datasetv1.0.0dataset.ts
fn prepare(name: string)
prepare operation
| Argument | Type | Description |
|---|---|---|
| name | string | Resource name |
fn validate(name: string)
validate operation
| Argument | Type | Description |
|---|---|---|
| name | string | Resource name |
fn split(name: string)
split operation
| Argument | Type | Description |
|---|---|---|
| name | string | Resource name |
fn augment(name: string)
augment operation
| Argument | Type | Description |
|---|---|---|
| name | string | Resource name |
Files
dataset.log(text/plain)— Operation audit log
dataset.json(application/json)— Structured output
@swampadmin/llm-toolkit/trainingv1.0.0training.ts
fn fine_tune(name: string)
fine tune operation
| Argument | Type | Description |
|---|---|---|
| name | string | Resource name |
fn resume(name: string)
resume operation
| Argument | Type | Description |
|---|---|---|
| name | string | Resource name |
fn export(name: string)
export operation
| Argument | Type | Description |
|---|---|---|
| name | string | Resource name |
fn quantize(name: string)
quantize operation
| Argument | Type | Description |
|---|---|---|
| name | string | Resource name |
Resources
training.state(persistent)— Managed resource state
training.lock(ephemeral)— Concurrency lock
Files
training.log(text/plain)— Operation audit log
training.json(application/json)— Structured output
@swampadmin/llm-toolkit/evaluationv1.0.0evaluation.ts
fn benchmark(name: string)
benchmark operation
| Argument | Type | Description |
|---|---|---|
| name | string | Resource name |
fn compare(name: string)
compare operation
| Argument | Type | Description |
|---|---|---|
| name | string | Resource name |
fn report(name: string)
report operation
| Argument | Type | Description |
|---|---|---|
| name | string | Resource name |
Files
evaluation.log(text/plain)— Operation audit log
evaluation.json(application/json)— Structured output
04Workflows
Train and Evaluatetrain-eval
Train and Evaluate workflow
train-eval-jobExecute Train and Evaluate
1.Prepare Dataset@swampadmin/llm-toolkit/dataset.prepare— Prepare Dataset step
2.Fine Tune@swampadmin/llm-toolkit/training.fine_tune— Fine Tune step
3.Evaluate@swampadmin/llm-toolkit/evaluation.benchmark— Evaluate step
Batch Inferencebatch-inference
Batch Inference workflow
batch-inference-jobExecute Batch Inference
1.Load Model@swampadmin/llm-toolkit/training.export— Load Model step
2.Run Inference@swampadmin/llm-toolkit/evaluation.benchmark— Run Inference step
3.Generate Report@swampadmin/llm-toolkit/evaluation.report— Generate Report step
05Previous Versions
2025.08.05.0Dec 1, 2025
06Stats
Downloads
0
Archive size
161.0 KB
Not yet scored.
A score will be generated the next time this extension is published. The owner can also trigger scoring manually.
07Platforms
08Labels