Downloads ยท 30 days
0
OktoSeek/oktoengine
oktoengine is a machine learning model from OktoSeek. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
<p align="center" <img src="./assets/oktologo.png" alt="OktoEngine Banner" width="50%" / </p <p align="center" <img src="./assets/oktologo2.png" alt="OktoScript Banner" width="50%" / </p
Downloads ยท 30 days
0
Access
Public
Updated Nov 27, 2025
Repo size
2.5 MB
Likes
1
Public
Click a slice to open those files.
.png2.8 MB ยท 97%
From the Hugging Face model README
Get started with OktoEngine in 3 steps:
okto init my-projectokto train# Initialize a new project
okto init my-ai-model
# Navigate to project
cd my-ai-model
# Validate your OktoScript configuration
okto validate
# Train your model
okto train
๐ Full documentation: docs/GETTING_STARTED.md
๐ CLI Reference: docs/CLI_REFERENCE.md
OktoEngine is the official execution engine for OktoScriptโa powerful CLI tool that transforms declarative AI configurations into trained, production-ready models.
OktoEngine is engineered to handle:
Traditional Approach:
# Hundreds of lines of Python code
# Complex configuration management
# Error-prone manual setup
# Difficult to reproduce
With OktoEngine:
PROJECT "MyModel"
MODEL { base: "gpt2" }
DATASET { train: "dataset/train.jsonl" }
TRAIN { epochs: 5, batch_size: 32 }
EXPORT { format: ["okm"] }
One command: okto train โ Trained model ready for deployment
Professional command-line interface with intuitive commands:
Core Commands:
okto init # Initialize new projects
okto validate # Validate OktoScript files
okto train # Train models
okto eval # Evaluate models
okto export # Export to multiple formats
okto convert # Convert between formats (PyTorch, ONNX, GGUF, TFLite, OktoModel)
Inference Commands:
okto infer # Direct inference (single input/output)
okto chat # Interactive chat mode with session context
Analysis Commands:
okto compare # Compare two models (latency, accuracy, loss)
okto logs # View historical training logs and CONTROL decisions
okto tune # Auto-tune training using CONTROL block logic
Utility Commands:
okto list # List projects, models, datasets, or exports
okto doctor # System diagnostics and dependency checking
okto upgrade # Auto-update engine to latest version
okto about # Engine and language information
okto exit # Exit interactive mode
What you can do:
Training Methods:
Intelligent Training Control:
Monitoring & Governance:
What makes it unique:
Real-time training metrics displayed directly in your terminal:
๐ Starting training pipeline...
Epoch 1/5: 100%|โโโโโโโโโโโโ| 500/500 [02:15<00:00, 3.70it/s]
Loss: 2.345 โ 1.892
Learning Rate: 5e-5
GPU Memory: 8.2GB / 12GB
Epoch 2/5: 100%|โโโโโโโโโโโโ| 500/500 [02:14<00:00, 3.72it/s]
Loss: 1.892 โ 1.654
...
Comprehensive debug mode for troubleshooting:
okto train --debug
okto validate --debug
Shows detailed parsing logs, execution flow, and error diagnostics.
Built-in upgrade system:
okto upgrade
Automatically downloads and installs the latest version from GitHub Releases.
Comprehensive environment checking:
okto doctor
Checks GPU, CUDA, RAM, dependencies, and provides recommendations.
Automatic dependency installation:
okto doctor --install
Installs missing dependencies automatically.
Download the latest release for your platform:
okto-windows.exeokto-linuxokto-macosAvailable at: GitHub Releases
okto upgrade
Automatically updates to the latest version.
Initialize Project:
okto init my-project
Creates a new OktoScript project with proper folder structure.
Validate Configuration:
okto validate
okto validate --file scripts/train.okt
Validates OktoScript syntax and configuration.
Train Model:
okto train
okto train --file scripts/train.okt
okto train --debug # Enable debug mode
Executes the complete training pipeline.
Evaluate Model:
okto eval --file scripts/train.okt
Evaluates a trained model against test datasets.
Export Model:
okto export --format okm --file scripts/train.okt
okto export --format onnx
Exports trained models to various formats.
Convert Model Formats:
okto convert --input model.pt --from pt --to gguf --output model.gguf
okto convert --input model.pt --from pt --to onnx --output model.onnx
Converts models between different formats (PyTorch, ONNX, GGUF, TFLite, OktoModel).
Direct Inference:
okto infer --model models/chatbot.okm --text "Hello, how can I help?"
Runs single inference on a trained model. Automatically respects BEHAVIOR, GUARD, INFERENCE, and CONTROL blocks.
Interactive Chat:
okto chat --model models/chatbot.okm
Starts an interactive chat session. Uses BEHAVIOR settings, enforces GUARD rules, and supports session context.
Compare Models:
okto compare models/v1.okm models/v2.okm
Compares two models on latency, accuracy, loss, and resource usage.
View Logs:
okto logs my-model
Views historical training logs, metrics, and CONTROL decisions.
Auto-tune Training:
okto tune
Uses CONTROL block to auto-adjust training parameters (learning rate, batch size, early stopping).
System Diagnostics:
okto doctor # Check system
okto doctor --install # Auto-install dependencies
Upgrade Engine:
okto upgrade
List Resources:
okto list projects
okto list models
okto list datasets
okto list exports
Other Commands:
okto about # Show information
okto --version # Show version
okto exit # Exit interactive mode
๐ Complete CLI Reference: docs/CLI_REFERENCE.md
Automatically updates to the latest version.
About:
okto about
Shows information about OktoEngine and OktoScript.
List Resources:
okto list projects
okto list models
okto list datasets
--debug # Enable debug mode (detailed logs)
--help # Show help
--version # Show version
๐ Complete CLI Reference: docs/CLI_REFERENCE.md
OktoEngine can train models of any size:
Full Fine-tuning:
TRAIN {
epochs: 5
batch_size: 32
device: "auto"
}
LoRA Fine-tuning:
FT_LORA {
lora_rank: 8
lora_alpha: 32
epochs: 3
}
Debug mode provides detailed insights into the engine's operation:
# Via command flag
okto train --debug
okto validate --debug
# Via environment variable
OKTO_DEBUG=1 okto train
Parsing Details:
DEBUG: Starting parse_oktoscript. Input preview: '# okto_version: "1.0" PROJECT...'
DEBUG: Parsed version: Some("1.0")
DEBUG: Parsed project: my-model
DEBUG: After PROJECT, remaining input: 'ENV { accelerator: "gpu"...'
Execution Flow:
DEBUG: Attempting to parse ENV block...
DEBUG: Parsed ENV field: accelerator = gpu
DEBUG: Parsed ENV field: precision = fp16
DEBUG: Successfully parsed ENV block with 5 fields
Error Diagnostics:
DEBUG: Failed to parse key in ENV block. Input: 'accelerator: "gpu"...'
DEBUG: Failed to parse ':' after key 'accelerator'. Input: '"gpu"...'
๐ Debug Guide: docs/DEBUG_GUIDE.md
scripts/train.okt:
PROJECT "ChatBot"
ENV {
accelerator: "gpu"
precision: "fp16"
install_missing: true
}
DATASET {
train: "dataset/train.jsonl"
validation: "dataset/val.jsonl"
}
MODEL {
base: "gpt2"
}
TRAIN {
epochs: 5
batch_size: 32
device: "auto"
}
EXPORT {
format: ["okm"]
path: "export/"
}
Terminal Output:
$ okto train
๐ OktoEngine v0.1
๐ Reading: "scripts/train.okt"
๐ Environment Check:
โ Runtime: Python 3.14.0
โ GPU: NVIDIA GeForce RTX 4070
โ RAM: 63GB (40GB available)
โ Platform: windows
๐ฆ Checking dependencies...
โ All dependencies available
๐ Starting training pipeline...
Epoch 1/5: 100%|โโโโโโโโโโโโ| 500/500 [02:15<00:00, 3.70it/s]
Loss: 2.345 โ 1.892
Learning Rate: 5e-5
โ
Training completed successfully!
๐ Output: runs/ChatBot/
See examples/lora-training.okt for a complete LoRA fine-tuning example.
examples/basic-training/ - Minimal working exampleexamples/chatbot/ - Conversational AI trainingexamples/vision-model/ - Computer vision pipeline๐ More Examples: examples/README.md
okto doctor
Shows detailed system information and recommendations.
Complete documentation for OktoEngine:
Q: What models can I train with OktoEngine?
A: OktoEngine supports any model compatible with modern AI frameworks. From small models (millions of parameters) to large language models (billions of parameters).
Q: Do I need to know Python to use OktoEngine?
A: No! OktoEngine provides a complete CLI interface. You only need to write OktoScript configuration files.
Q: Can I train models without a GPU?
A: Yes, OktoEngine automatically detects available hardware and uses CPU when GPU is not available. Training will be slower but fully functional.
Q: How do I update OktoEngine?
A: Simply run okto upgrade to automatically download and install the latest version.
Q: What formats can I export to?
A: OktoEngine supports multiple export formats: OKM (OktoSeek), ONNX, GGUF, SafeTensors, and more.
Q: Can I resume training from a checkpoint?
A: Yes, OktoEngine automatically saves checkpoints and can resume training from any checkpoint.
๐ Complete FAQ โ
OktoEngine will be integrated into OktoSeek IDE for visual training workflows:
OktoEngine is developed and maintained by OktoSeek AI.
This software is proprietary and licensed under the End User License Agreement (EULA). See LICENSE file for details.
Important: OktoEngine is not open source. Binary releases are available for download, but the source code is proprietary.
For questions, support, or licensing inquiries: