SAVRN
Search Contact SAVRN

Open-weight model · Text generation

lightning-60m

by AobanZ Aobangaming/lightning-60m

lightning-60m is an open-weight model for text generation from AobanZ, released under MIT License. It has 65M parameters. At 16-bit it needs about 0.2 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index. It draws 261 downloads a month.

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). This is the expanded version of Lightning-30m.

Parameters65M
Context
Weights259.3 MB
Licensemit
AccessOpen weights
Monthly Downloads261

Runs On

What it takes to serve lightning-60m (65M parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 0.1 GB 0.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.1 GB 0.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 0.0 GB 0.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 20, 2026.

lightning-60m on every accelerator the SAVRN Index prices, at every precision

Model Card

By AobanZ, published under mit, revision 062819065e00.

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). This is the expanded version of Lightning-30m. Lightning utilizes FlashAttention and AdamW for performance and capability. Lightning is designed to provide quick, coherent outputs, improved with a larger size and weight. 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. Lightning can be used directly for text generation, experimentation, and conversational…

Read AobanZ's full model card

Model Card for Model ID

Model Details

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). This is the expanded version of Lightning-30m.

Model Description

Lightning utilizes FlashAttention and AdamW for performance and capability. Lightning is designed to provide quick, coherent outputs, improved with a larger size and weight. - Developed by: AobanZ - Model type: Transformer - Language(s) (NLP): English - License: MIT - Finetuned from model [optional]: lightning-30m

Model Sources [optional]

  • Repository: https://huggingface.co/Aobangaming/lightning-60m

Uses

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.

Direct Use

Lightning 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.

Downstream Use

Lightning 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.

Out-of-Scope Use

Heavy Work may overload the model, which will cause corrupted outputs and/or misinformation if implemented into a larger-app/ecosystem.

Bias, Risks, and Limitations

Lightning is designed to process english and conversational text ONLY and cannot be fined-tuned for any other uses(eg. Robotics)

Recommendations

We recommend users of Lightning to finetune the model on new text, and add necessary guardrails and precautions to prevent misuse.

How to Get Started with the Model

Use the code below to get started with the model.

import torch
from transformers import AutoModelForCausalLM
from tokenizers import Tokenizer

model_id = "Aobangaming/lightning-60m"

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()))

Training Details

Training Data

Lightning was trained on the full Booksum dataset.

Training Procedure

Lightning was trained on an RTX 3050 GPU, using FlashAttention and MHA. The model was trained on a large dataset. It was not trained on fine-tuning datasets since memory issues.

Training Results

Training Hyperparameters

Hyperparameter Value Comment
Precision FP32
Optimizer AdamW Better weight decay
Learning rate 5e-4
Batch size 32 Adapted for larger dataset

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: RTX 3050 6GB
  • Hours used: 1.5
  • Cloud Provider: My Computer
  • Compute Region: Asia
  • Carbon Emitted: ~0.17 kg CO₂e

Technical Specifications

Model Architecture and Objective

Lightning-60m uses a 8-layer causal Transformer with 384-dimensional hidden states and 6 attention heads. Each attention head has a dimension of 64.

The architecture uses pre-layer normalization, causal scaled dot-product attention, a 4× expansion GELU feed-forward network, sinusoidal positional encoding, and untied input/output embeddings.

Hyperparameter Value Comment
Layers 8
D_MODEL 384 Optimized for 64dim/head
Attention Heads 6 Improved from lightning-30m
Vocabulary ~65830 w/ 210 Sequence length

Compute Infrastructure

Hardware

RTX 3050 6GB

Software

Windows 11, Intel i5-10400

Configuration

Architecture
LightningForCausalLM
Layers
8
Hidden size
384
Attention heads
6
Vocabulary size
65,830
Model type
lightning

Identity and Version

Repository
Aobangaming/lightning-60m
Publisher
AobanZ
Task
Text generation
Modality
Text
Library
transformers
Parameters
65M parameters
Languages
en
Revision
062819065e003d7f61e61e658476f97959f237b4
First published
2026-09-14
Last updated
2026-09-20

Files and Weights

8 files, 264.2 MB in total. The weights are 1 file totalling 259.3 MB in safetensors.

Weights1 file · 259.3 MB
Configuration4 files · 8.3 KB
Tokenizer1 file · 4.8 MB
Documentation1 file · 5.0 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights259.3 MB 26edb3123469
config.jsonConfiguration513 B
configuration_lightning.pyConfiguration753 B
generation_config.jsonConfiguration138 B
modeling_lightning.pyConfiguration6.9 KB
README.mdDocumentation5.0 KB
.gitattributesRepository1.5 KB
tokenizer.jsonTokenizer4.8 MB

License and Download

License
mit
Access
Open weights, no gate
Download size
259.3 MB
Download from AobanZ

Released by AobanZ through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published259.3 MB
16-bit0.1 GB
8-bit0.1 GB
4-bit0.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About lightning-60m

How much GPU memory does lightning-60m need?

About 0.2 GB at 16-bit and 0 GB at 4-bit: the weights (65M parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run lightning-60m on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use lightning-60m commercially?

Yes. lightning-60m is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

Similar Models

Model · Text generation

DiscoverLM-70M

Convergent Intelligence

A 69M parameter causal language model built on the Mixture-of-Attentions (MoA) architecture — distance-based metric attention that respects the triangle inequality by construction, not approximation. Every attention head operates in a proper metric space. The geometry is enforced, not hoped for. Standard transformers compute attention as a dot product: Q·Kᵀ. This has no geometric meaning — it's a bilinear form, not a distance. Two tokens can be "close" by dot product while violating basic metric properties. MoA replaces this with negative squared distance under a learned diagonal Mahalanobis metric, then enforces the triangle inequality through a regularizer over random triples sampled…

Open weights cc 69M parameters 1,024 tokens transformers

Model · Text generation

Discovery

Convergent Intelligence

A 70M parameter causal language model built on the Mixture-of-Attentions (MoA) architecture — distance-based metric attention that respects the triangle inequality by construction, not approximation. Every attention head operates in a proper metric space. The geometry is enforced, not hoped for. Standard transformers compute attention as a dot product: Q·Kᵀ. This has no geometric meaning — it's a bilinear form, not a distance. Two tokens can be "close" by dot product while violating basic metric properties. MoA replaces this with negative squared distance under a learned diagonal Mahalanobis metric, then enforces the triangle inequality through a regularizer over random triples sampled…

Open weights cc 71M parameters 2,048 tokens transformers

Model · Text generation

cRia-LM-75M

Shreyan Mohanty

cRia-LM-75M is a 75.7M-parameter base language model built as a Relaxed Recursive Transformer (RRT). It uses a shared 11-layer recurrent block evaluated twice, with pass-specific LoRA parameters on the second traversal. Training was carried out in three stages. Stage 1 established the 2K base model over 10B tokens. Stage 2 continued training with a 2B-token budget and a capability-focused data curriculum; the released Stage 2 checkpoint is step 10,000, corresponding to about 1.31B continuation tokens. Stage 3 extended the context window from 2,048 to 4,096 tokens with a 50M-token run on codelion/sutra-1B. The released checkpoint continues from that long-context stage with 35 learned…

Open weights apache-2.0 76M parameters 4,096 tokens transformers

Model · Text generation

cRia-LM-75M-Instruct

Shreyan Mohanty

cRia-LM-75M-Instruct is a 75.7M-parameter instruction-tuned language model built as a Relaxed Recursive Transformer (RRT). It uses a shared 11-layer recurrent block evaluated twice, with pass-specific LoRA parameters on the second traversal. The model starts from cRia-LM-75M, then adds supervised instruction tuning and preference optimization. It ships with a native chat template using and markers. cRia-LM-75M-Instruct keeps the base model's 13 unique Transformer layers: src="https://hfviewer.com/api/card.svg?source=sz14%2FcRia-LM-75M-Instruct&granularity=auto&v=20260516-title-pills-card" alt="Architecture graph for sz14/cRia-LM-75M-Instruct. Open in hfviewer" width="100%" This gives an…

Open weights apache-2.0 76M parameters 4,096 tokens transformers

Model · Text generation

SAGI

Convergent Intelligence

SAGI is a novel causal language model that integrates swarm intelligence dynamics with transformer architecture. The model treats cognition as a dynamic, adaptive system where multiple internal "agents" collaborate through differentiable routing, trust mechanisms, and shared memory. - Episodic + Semantic Memory: Dual memory system with trainable retrieval utility The swarm processes observations derived from token embeddings, updating its internal state S. This state conditions the transformer's attention patterns and feed-forward activations via learned projections, creating bidirectional information flow between symbolic (tokens) and subsymbolic (swarm dynamics) processing. - Educational…

Open weights apache-2.0 53M parameters 2,048 tokens transformers

Model · Text generation

distilgpt2

DistilBERT community

DistilGPT2 (short for Distilled-GPT2) is an English-language model pre-trained with the supervision of the smallest version of Generative Pre-trained Transformer 2 (GPT-2). Like GPT-2, DistilGPT2 can be used to generate text. Users of this model card should also consider information about the design, training, and limitations of GPT-2. CONTENT WARNING: Readers should be aware this section contains content that is disturbing, offensive, and can propagate historical and current stereotypes. As the developers of GPT-2 (OpenAI) note in their model card, “language models like GPT-2 reflect the biases inherent to the systems they were trained on.” Significant research has explored bias and…

Open weights apache-2.0 88M parameters transformers