Model reference · open weights
lightning-ft is an open-weight language model from Aobangaming. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | Aobangaming |
|---|---|
| Type | Language models |
| Task | Text gen |
| Parameters (lead) | 29M |
| Context | 160 tokens |
| Runs with | transformers |
| Released | 2026-09-12 |
| Popularity | 518 downloads / month |
| Licence | Open weights |
About
Lightning is a small, autoregressive transformer which utilizes FlashAttention and MHA. This model is trained on a variety of books from a dataset(300 MB).
Lightning utilizes FlashAttention and AdamW for performance and capability. Lightning is designed to provide quick, coherent outputs, with the downside of limited embedding.
Lightning is intended to be used for research, analysis and fine-tuning, stories and other. It is not intended to be used for professional advice, real writing or any kind of heavy work as generated outputs may be incorrect.
Aoban 3.0 can be used directly for text generation, experimentation, and conversational interactions. Users can provide text prompts and generate responses using the model's built-in language modeling capabilities.
Direct use is primarily intended for research and experimentation. Outputs may be incomplete, inaccurate, repetitive, or unrelated to the input, and should be evaluated before being used for other purposes.
The Download Model is here https://huggingface.co/Aobangaming/Lightning-30M/tree/main.
Aoban 3.0 may be fined-tuned for an AI Story makers, Research, and small continuation models. However, please note that generated outputs may be corrupted and/or incorrect.
Heavy Work may overload the model, which will cause corrupted outputs and/or misinformation if implemented into a larger-app/ecosystem.
Aoban 3.0 is designed to process english and conversational text ONLY and cannot be fined-tuned for any other uses(eg. Robotics)
We recommend users of Lightning to finetune the model on new text, and add necessary guardrails and precautions to prevent misuse.
Use the code below to get started with the model.
import torch
from transformers import AutoModelForCausalLM
from tokenizers import Tokenizer
model_id = "Aobangaming/lightning-30m-ft"
model = AutoModelForCausalLM.from_pretrained(
model_id,
trust_remote_code=True
)
tokenizer = Tokenizer.from_pretrained(model_id)
prompt = "The"
encoded = tokenizer.encode(prompt, add_special_tokens=False)
input_ids = torch.tensor([encoded.ids])
outputs = model.generate(
input_ids,
max_new_tokens=100,
do_sample=True,
temperature=0.8,
top_k=40,
top_p=0.6,
)
print(tokenizer.decode(outputs[0].tolist()))
Lightning was trained on the full Booksum dataset.
Lightning was trained on an RTX 3050 GPU, using FlashAttention and MHA. First, the model was initally trained on a large dataset. Then trained on a smaller dataset to fine tune.
| Hyperparameter | Value | Comment |
|---|---|---|
| Precision | FP32 | |
| Optimizer | AdamW | Better weight decay |
| Learning rate | 5e-4 | |
| Batch size | 32 | Adapted for larger dataset |
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
Lightning is a casual decoder model which is autoregressive.
| Hyperparameter | Value | Comment |
|---|---|---|
| Layers | 4 | |
| D_MODEL | 256 | Optimized for 64dim/head |
| Attention Heads | 4 | |
| Vocabulary | ~50000 | w/ 160 Sequence length |
RTX 3050 6GB
Windows 11, Intel i5-10400
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys lightning-ft for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (lightning-ft below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/chat/completions \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"lightning-ft","messages":[{"role":"user","content":"Hello"}]}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.