Realm

Nlp Byte Empyrealm

Runnable OA SDK tutorial.

Rust · Python

Example

1#[path = "../_byte_common.rs"]
2mod _byte_common;
3
4fn main() -> oa::Result<()> {
5 _byte_common::run(
6 _byte_common::Tutorial {
7 title: "OA Tutorial — Empyrealm Core · autograd fidelity",
8 description: "Empyrealm(Byte Embedding + Mamba-3/attention hybrid stack) → Linear(32→256)",
9 timer_name: "byte_empyrealm_training_step",
10 checkpoint_stem: "oars_byte_empyrealm",
11 learning_rate: 0.003,
12 expected_loss: oasdk::ml::nlp::BYTE_EMPYREALM_FINAL_LOSS,
13 loss_tolerance: 0.001,
14 expected_accuracy: oasdk::ml::nlp::BYTE_EMPYREALM_ACCURACY,
15 expected_generation: oasdk::ml::nlp::BYTE_EMPYREALM_REFERENCE_GENERATION,
16 },
17 oasdk::ml::nlp::ByteEmpyrealm::new,
18 )
19}
20

Run Rust tutorials from the OA SDK checkout with cargo run --release --example <name>. Run Python with the environment containing the OA native extension. Consult each program's arguments and capability checks before running it.