/ Модель

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

Контекст
512 токенов
Параметры
152 млн
Лицензия
MIT
Архитектура
ailo · dense
Опубликована
20 янв 2026

ailo-152m

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

Компактная англоязычная авторегрессионная Transformer-модель для генерации текста и экспериментов с небольшими языковыми моделями.

264скачиваний за 30 дней1лайквеса обновлены5 июн 2026

Бенчмарки

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

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

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

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

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

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

AILO-152M — компактная авторегрессионная языковая модель на архитектуре decoder-only Transformer, разработанная автором xxrickyxx и обученная с нуля. В модели около 151,8 млн параметров, для генерации текста она использует контекст до 512 токенов. Репозиторий содержит веса PyTorch и распространяется по лицензии MIT.

Модель предназначена для генерации текста, дообучения под специализированные задачи, обучения и экспериментов с небольшими языковыми моделями. В README указано обучение на выборке FineWeb-Edu; заявлены более связные ответы и меньше повторов по сравнению с GPT-2 схожего размера, однако приведённые примеры не являются независимой оценкой качества.

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

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

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

Ограничения

Небольшой размер ограничивает качество на сложных запросах; модель может генерировать повторы или несвязный текст. Обучающие данные преимущественно англоязычные.

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

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

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

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

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

Открыть на Hugging Face

AILO-152M: Transformer Language Model

AILO (Artificial Intelligence Language Operator) is a 152M parameter Transformer-based language model trained from scratch.

Model Details

PropertyValue
Parameters151.9M
ArchitectureDecoder-only Transformer
Layers12
Hidden Size768
Attention Heads12
Context Length512 tokens
Vocabulary50,257 (GPT-2 tokenizer)

Training

  • Dataset: FineWeb-Edu (100B token sample, streamed)
  • Training Steps: 182,000+
  • Final Loss: ~3.0
  • Training Time: ~64 hours
  • Optimizer: AdamW with cosine LR schedule + warm restarts

Training Loss Curve

Training Loss Curve

Quick Start

# Install dependencies
pip install torch transformers tiktoken huggingface_hub

# Download and use
from huggingface_hub import hf_hub_download
import torch
import sys

# Download model files
repo_id = "xxrickyxx/ailo-152m"
for f in ["config.json", "configuration_ailo.py", "modeling_ailo.py", "pytorch_model.bin"]:
    hf_hub_download(repo_id=repo_id, filename=f, local_dir="ailo_model")

# Load model
sys.path.insert(0, 'ailo_model')
from configuration_ailo import AILOConfig
from modeling_ailo import AILOForCausalLM
import tiktoken

config = AILOConfig.from_pretrained("ailo_model")
model = AILOForCausalLM(config)
state_dict = torch.load("ailo_model/pytorch_model.bin", map_location='cpu')
model.load_state_dict(state_dict, strict=False)
model.eval()

# Generate text
tokenizer = tiktoken.get_encoding("gpt2")
prompt = "What is artificial intelligence?"
tokens = tokenizer.encode(prompt)
input_ids = torch.tensor([tokens])

with torch.no_grad():
    output_ids = model.generate(input_ids, max_new_tokens=100, temperature=0.8)

print(tokenizer.decode(output_ids[0].tolist()))

🏆 AILO vs GPT-2 Arena Comparison

We compared AILO-152M against GPT-2 (124M) on various prompts. Despite similar size, AILO shows better coherence and fewer repetitions.

Example 1: What is artificial intelligence?

ModelResponse
AILO ✅"The term artificial intelligence refers to a range of diverse fields of research that focuses on the ability of human beings to understand complex systems, perform complex tasks, and perform complex operations..."
GPT-2 ❌"How do you find out? What do you do when you're out in the field? The answer is, you have to do what you know..."

Example 2: Write a short story about a robot

ModelResponse
AILO ✅"But the robot has no control of the robot itself. It uses the robot's hand to drive it. The robot is able to read the information about the robot..."
GPT-2 ❌"Write a short story about a robot. Write a short story about a robot. Write a short story about a robot..." (infinite repetition)

Example 3: Tell me a joke

ModelResponse
AILO ✅"I think I could have made the joke. But, it's just really bad. I have never made a joke. It's only a joke..."
GPT-2 ❌"It is not funny. It is not funny. It is not funny. It is not funny. It is not funny..." (infinite repetition)

Summary

MetricAILO-152MGPT-2 (124M)
Parameters151.9M124.4M
Coherence✅ Better⚠️ Often loses track
Repetition✅ Rare❌ Frequent
Training Time64 hoursWeeks

Intended Uses

  • Text generation
  • Fine-tuning for specific domains
  • Educational purposes
  • Research on small language models

Limitations

  • Small model size (152M) limits capabilities compared to larger models
  • May produce repetitive or incoherent text for complex queries
  • Training data primarily in English

Files

FileDescription
config.jsonModel configuration
configuration_ailo.pyConfig class
modeling_ailo.pyModel architecture
pytorch_model.binModel weights (607 MB)
AILO_Demo.ipynbColab notebook

Citation

@misc{ailo2026,
  title={AILO-152M: A Small Transformer Language Model},
  author={AILO Team},
  year={2026},
  howpublished={\url{https://huggingface.co/xxrickyxx/ailo-152m}}
}

📜 License This project uses a dual-license model.

🆓 Non-Commercial License Released under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 (CC BY-NC-SA 4.0).

You are free to:

Use the model for research, education, and personal projects Modify and fine-tune the model Redistribute derivatives under the same license You must:

Provide attribution Keep the same license for derivative works Not use the model for commercial purposes 💼 Commercial License Commercial use of AILO-152M is not permitted under the free license. Commercial use includes:

Integration into paid products or services Use in SaaS platforms, APIs, or enterprise systems Any application that generates revenue directly or indirectly For commercial licensing, a separate paid agreement (royalty or license fee) is required. Please contact the author.

📬 Contact For research collaboration or commercial licensing inquiries, contact the project maintainer:

Riccardo Sparacino LinkedIn https://www.linkedin.com/in/riccardo-sparacino-developer-php-javascript-mysql-app-ios-android/it/?skipRedirect=true

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

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

GPU в ailist

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

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

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

Класс архитектуры
AILOForCausalLM
Ревизия весов
778031c

0 моделей