/ Модель

Характеристики

Параметры
44,2 млн
Лицензия
MIT
Архитектура
lightning · dense
Базовая модель
lightning-30m-ft
Библиотека
transformers
Опубликована
14 сен 2026

lightning-60m

Генерация текстаТекст → текст3 профессии

Небольшая англоязычная авторегрессионная модель для генерации текста, диалоговых экспериментов и дообучения.

712скачиваний за 30 дней1лайквеса обновлены20 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Lightning-60m — небольшая авторегрессионная трансформерная языковая модель, созданная AobanZ. Это расширенная версия Lightning-30m, дообученная на датасете BookSum; модель содержит 44,2 млн параметров и предназначена для генерации текста и диалоговых экспериментов на английском языке.

Архитектура включает 8 слоёв, скрытое представление размером 384 и 6 голов внимания. Используются FlashAttention, причинное внимание, предварительная нормализация, GELU-сеть прямого распространения и синусоидальное позиционное кодирование. Модель принимает текстовые запросы и генерирует продолжение или ответ.

Модель подходит для экспериментов, генерации историй и дальнейшего дообучения. Ответы могут быть неполными, повторяющимися, неточными или не относящимися к запросу; разработчик не рекомендует использовать её для профессиональных советов или ответственной работы. Лицензия — MIT.

Сценарии применения

  • генерация продолжений англоязычных текстов
  • создание черновиков историй
  • эксперименты с небольшими диалоговыми моделями
  • дообучение на собственных англоязычных текстах

Ограничения

Генерация может быть неполной, повторяющейся, неточной или не связанной с запросом; модель не предназначена для профессиональных советов и ответственной работы. В карточке заявлена поддержка только английского языка.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

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]

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

HyperparameterValueComment
PrecisionFP32
OptimizerAdamWBetter weight decay
Learning rate5e-4
Batch size32Adapted 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.

HyperparameterValueComment
Layers8
D_MODEL384Optimized for 64dim/head
Attention Heads6Improved from lightning-30m
Vocabulary~65830w/ 210 Sequence length

Compute Infrastructure

Hardware

RTX 3050 6GB

Software

Windows 11, Intel i5-10400

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
LightningForCausalLM
Ревизия весов
0628190

0 моделей