RonaldsonBellande f848d72f06
Some checks are pending
Rust / build (push) Waiting to run
foundation
2025-01-31 01:29:14 -05:00
2025-01-31 01:29:14 -05:00
2025-01-31 01:29:14 -05:00
2025-01-31 01:29:14 -05:00
2025-01-31 01:29:14 -05:00
2025-01-31 01:29:14 -05:00
2025-01-31 01:29:14 -05:00
2025-01-31 01:29:14 -05:00
2025-01-31 01:29:14 -05:00
2025-01-31 01:29:14 -05:00
2025-01-31 01:29:14 -05:00

Bellande Artificial Intelligence Training Framework

Bellande training framework in Rust for machine learning models

Run Bellos Scripts

- build_bellande_framework.bellos
- make_rust_executable.bellos
- run_bellande_framework.bellos

Run Bash Scripts

- build_bellande_framework.sh
- make_rust_executable.sh
- run_bellande_framework.sh

Testing

  • "cargo test" for a quick test

Example Usage

use bellande_ai_training_framework::prelude::*;

fn main() -> Result<(), Box<dyn Error>> {
    let mut framework = Framework::new()?;
    framework.initialize()?;

    // Create model
    let model = Sequential::new()
        .add(Conv2d::new(3, 64, 3, 1, 1))
        .add(ReLU::new())
        .add(Linear::new(64, 10));

    // Configure training
    let optimizer = Adam::new(model.parameters(), 0.001);
    let loss_fn = CrossEntropyLoss::new();
    let trainer = Trainer::new(model, optimizer, loss_fn);

    // Train model
    trainer.fit(train_loader, Some(val_loader), 100)?;

    Ok(())
}

License

Bellande Artificial Intelligence Training Framework is distributed under the GNU General Public License v3.0, see LICENSE and NOTICE for more information.

Description
No description provided
Readme GPL-3.0 165 KiB
Languages
Rust 99.9%
Shell 0.1%