Skip to page content
SAVRN
Search Plan a project

Open-weight model · Text generation

luna-1.5-flash

by AobanZ Aobangaming/luna-1.5-flash

luna-1.5-flash is an open-weight model for text generation from AobanZ, released under MIT License. It has 43M parameters. At 16-bit it needs about 0.1 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.

We introduce LUNA, a small, autoregressive transformer. This model aims to provide conversational-like chat without overloading the computer. This model is designed to run on small hardware, such as phones or office computers.

Parameters43M
Context—
Weights172.8 MB
Licensemit
AccessOpen weights
Monthly Downloads—

Runs On

What it takes to serve luna-1.5-flash (43M 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.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 0.0 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 Oct 19, 2026.

luna-1.5-flash on every accelerator the SAVRN Index prices, at every precision

Model Card

By AobanZ, published under mit, revision 9b557d42b982.

We introduce LUNA, a small, autoregressive transformer. This model aims to provide conversational-like chat without overloading the computer. This model is designed to run on small hardware, such as phones or office computers. Luna utilizes FlashAttention and AdamW for performance and capability. Lightning is designed to provide quick, coherent outputs, improved with a larger size and weight. Luna is intended to be used for research, analysis and fine-tuning, general conversation, 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. Luna can be used directly for text generation…

Read AobanZ's full model card

Model Card for Model ID

Model Details

We introduce LUNA, a small, autoregressive transformer. This model aims to provide conversational-like chat without overloading the computer. This model is designed to run on small hardware, such as phones or office computers.

Model Description

Luna 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

Model Sources

  • Repository: https://huggingface.co/Aobangaming/luna-1.5-flash

Uses

Luna is intended to be used for research, analysis and fine-tuning, general conversation, 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

Luna 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

Luna may be fined-tuned for a AI Character, AI Agents, and chat 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
from huggingface_hub import hf_hub_download
import importlib.util

model_id = "Aobangaming/luna-1.5-flash"

path = hf_hub_download(model_id, "modeling_lightning.py")
spec = importlib.util.spec_from_file_location("lightning", path)
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)

model = AutoModelForCausalLM.from_pretrained(
    model_id, trust_remote_code=True
)
tokenizer = Tokenizer.from_file(
    hf_hub_download(model_id, "luna_tokenizer.json")
)

device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model = model.to(device)

history = []

print("Aoban Luna 1.5 Flash")
print("!clear = clear history | !exit = quit")

while True:
    prompt = input("You: ").strip()

    if prompt.lower() == "!exit":
        break

    if prompt.lower() == "!clear":
        history.clear()
        print("History cleared.")
        continue

    response = module.generate_text(
        model,
        tokenizer,
        prompt,
        max_len=100,
        device=device,
        top_k=40,
        top_p=0.6,
        penalty=1.2,
        temperature=0.8,
        chat_history=history
    )

    print(f"Assistant: {response}")

    history.extend([
        {"role": "user", "content": prompt},
        {"role": "assistant", "content": response}
    ])

Training Details

Training Data

Luna was trained a subset of the OASST dataset.

Training Procedure

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

Training Results

Epoch Loss Perplexity
1 6.13648 462.42
2 4.84533 127.15
3 4.17732 65.19
4 3.67652 39.51
5 3.27694 26.49
#### Training Hyperparameters
Hyperparameter Value Comment
Precision FP32
Optimizer AdamW
Learning rate 5e-4
Batch size 32

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: 3
  • Cloud Provider: AobanLabs
  • Compute Region: Asia
  • Carbon Emitted: ~0.17 kg CO₂e

Technical Specifications

Model Architecture and Objective

Luna uses a 6-layer causal Transformer with 256-dimensional hidden states and 4 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 6
D_MODEL 256 Optimized for 64dim/head
Attention Heads 4
Vocabulary ~75003 w/ 200 Sequence length

Benchmarks

Aoban Luna 1.5 got a 15% benchmark in a custom-made benchmark generated by AI.

Compute Infrastructure

Hardware

The model was trained on a RTX 3050 6GB paired with a UHD Graphics 630.

Software

Windows 11, Intel i5-10400

Configuration

Vocabulary size
75,003
Model type
lightning

Identity and Version

Repository
Aobangaming/luna-1.5-flash
Publisher
AobanZ
Task
Text generation
Modality
Text
Library
transformers
Parameters
43M parameters
Languages
en
Revision
9b557d42b9827039e52cfdee5dfae0f900d2ec6f
First published
2026-09-23
Last updated
2026-09-24

Files and Weights

7 files, 178.2 MB in total. The weights are 1 file totalling 172.8 MB in safetensors.

Weights1 file · 172.8 MB
Configuration3 files · 17.4 KB
Tokenizer1 file · 5.4 MB
Documentation1 file · 6.1 KB
Repository1 file · 1.5 KB
Every file
FileTypeSizeSHA-256
model.safetensorsWeights172.8 MB 8ee65b783e97
config.jsonConfiguration309 B —
configuration_lightning.pyConfiguration753 B —
modeling_lightning.pyConfiguration16.4 KB —
README.mdDocumentation6.1 KB —
.gitattributesRepository1.5 KB —
luna_tokenizer.jsonTokenizer5.4 MB —

License and Download

License
mit
Access
Open weights, no gate
Download size
172.8 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 published172.8 MB
16-bit0.1 GB
8-bit0.0 GB
4-bit0.0 GB

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

Questions About luna-1.5-flash

How much GPU memory does luna-1.5-flash need?

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

What is the cheapest GPU to run luna-1.5-flash 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 luna-1.5-flash commercially?

Yes. luna-1.5-flash 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

BAAR8-44M-Vision

BAAR

BAAR8-45M-Vision is an ultra-compact multilingual conversational model designed to enable real-time chat under minimal hardware conditions. With just 9 million (9M) parameters, it brings lightweight, interactive dialogue capabilities across 11 languages to extreme resource-constrained environments, embedded devices, and on-device platforms where standard LLMs cannot operate. BAAR8-45M-Vision은 최소한의 하드웨어 여건과 극단적인 리소스 제약 환경에서도 11개 언어로 실시간 대화(Chat)가 가능하도록 설계된 900만(9M) 파라미터 규모의 초경량 다국어 언어 모델입니다. 일반적인 대형 모델 구동이 불가능한 초저사양 엣지 및 임베디드 기기에서도 즉각적인 대화형 추론과 초경량 실시간 RAG 시스템 구축을 지원합니다. - Non-Commercial Use Only (비상업적 연구·개인 이용 한정): This model is strictly provided for non-commercial, research, and…

Open weights other 44M parameters 512 tokens