Replies: 1 comment
|
Hi @cobanov, Quick update on Trainaya's architecture and roadmap to keep you in the loop!
The .Trainfile and .Curatefile ergonomics remain unchanged, so the workflow into ollaya run stays completely seamless. Best, |
|
Hi @cobanov, Quick update on Trainaya's architecture and roadmap to keep you in the loop!
The .Trainfile and .Curatefile ergonomics remain unchanged, so the workflow into ollaya run stays completely seamless. Best, |
Uh oh!
There was an error while loading. Please reload this page.
Hi @cobanov,
First off, huge congratulations on Ollaya! The developer ergonomics, local runtime performance, and the declarative simplicity of
.Modelfilemake it one of the most exciting local-first AI runtimes out there.To complete the local lifecycle (from raw data ➔ fine-tuned model ➔ Ollaya deployment), I recently released Trainaya (https://github.com/solarpush/trainaya) — a 100% native Rust toolchain (zero Python dependency at runtime) dedicated to curating, fine-tuning (LoRA), merging, and benchmarking edge decision & classification models specifically for the Ollaya runtime.
Borrowing the
.ModelfilephilosophyTrainaya borrows directly from Ollaya’s declarative design philosophy by introducing three companion specs:
.Trainfile: Declarative LoRA recipes (FROM,TASK,PARAMETER,MERGE,TAG winnow:v{auto}) that output SafeTensors or GGUF v3 weights and automatically register the model directly into Ollaya's localmanifest storage (
~/.ollaya/models//usr/share/ollaya/). As soon as training finishes, users can immediately runollaya run <model>:<version>..Curatefile: Distillation recipes from teacher CLIs/models with automatic quarantine for uncertain predictions..Benchfile: Automated A/B evaluation against Ollaya's/v1/systemoneendpoint across 13 public decision benchmarks with 10-bin Expected Calibration Error (ECE) and latency metrics.Observations & Potential Architectural Improvements for Ollaya
While building the integration with Ollaya's storage layout (
manifests/ollaya.dev/library/...and blob layers), a few ideas came up that could make Ollaya even more powerful:Hot-Swappable Runtime LoRA Adapters (
application/vnd.ollaya.adapter.gguf)Right now, we merge LoRA weights directly into the base GGUF model so Ollaya can run it as a standalone model. If Ollaya’s engine supported dynamically loading small LoRA adapter blobs on top of a shared frozen base
model in VRAM (similar to
llama-server --lora), users could run dozens of specialized domain models (customer support, routing, moderation) concurrently with virtually zero extra memory footprint.Standardized Calibration & Logits in
/v1/systemoneFor edge classification and decision models (like
winnow,kev,modernbert), raw logits or calibrated probability distributions are critical for downstream decision engines. Having an explicit field in theresponse (e.g.,
confidence,logprobs, or raw head scores) would make Ollaya the gold standard for agentic guardrails and router models.Lineage & Training Provenance in Manifests
Trainaya currently annotates generated manifests with
org.ollaya.creator: trainaya. We could standardize metadata labels such as:org.ollaya.base_model: sha256 of the parent weights.org.ollaya.metrics: benchmark accuracy, ECE, or evaluation timestamp.This would allow
ollaya showorollaya listto display model lineage and validation scores natively.Support in Ollaya for bidirectional encoder backends (ModernBERT, DeBERTa) with native classification/NLI heads alongside generative causal LLMs would unlock incredible speed (<2ms inference) for non-generative classification tasks.
I’d love to hear your thoughts on this! If you're open to it, I'd be thrilled to help align Trainaya's manifest generators with Ollaya's roadmap or collaborate on PRs if any of these features align with your vision.
Thanks again for the fantastic work on Ollaya!
Cheers,
Pierre (@solarpush)
All reactions