API Reference
This page is generated from docstrings in the codebase. During v0.1 scaffolding, it serves as the canonical place where exported docstrings live so Documenter can pass checkdocs = :exports.
KeemenaLM.Core.AbstractCausalLM — Type
Framework-neutral base type for decoder-only causal language models.
KeemenaLM.Core.AbstractModelConfig — Type
Framework-neutral base type for model configuration objects.
KeemenaLM.Core.Bundle — Type
In-memory bundle container used for save/load APIs.
KeemenaLM.Core.BundleManifest — Type
Bundle manifest for model package metadata.
KeemenaLM.Core.ChatSession — Type
Minimal in-memory chat wrapper around generate.
KeemenaLM.Core.GPT2Config — Type
Minimal GPT-2 style decoder configuration.
KeemenaLM.Core.GenerationConfig — Type
Configuration for text generation settings.
KeemenaLM.Core.Trainer — Type
Minimal training container shared by backend-specific training methods.
KeemenaLM.Core.causal_lm_cross_entropy — Method
Compute causal language-model cross entropy loss.
KeemenaLM.Core.causal_mask — Method
Construct a lower-triangular causal attention mask.
KeemenaLM.Core.generate — Method
Generate text from a prompt using a backend model.
KeemenaLM.Core.load_bundle — Method
Load a model bundle from a directory.
KeemenaLM.Core.load_weights_jld2 — Method
Load backend-agnostic weight dictionaries from JLD2 format.
KeemenaLM.Core.save_bundle — Method
Save a model bundle to a directory.
KeemenaLM.Core.save_weights_jld2 — Method
Persist backend-agnostic weight dictionaries in JLD2 format.
KeemenaLM.Core.validate — Method
Validate a GPT-2 configuration and return it when valid.
KeemenaLM.FluxBackend.FluxGPT2Model — Type
Flux placeholder model for GPT-2 style decoder-only LM.
KeemenaLM.LuxBackend.LuxGPT2Model — Type
Lux placeholder model for GPT-2 style decoder-only LM.