/ Модель

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

Контекст
1 024 токена
Лицензия
Apache 2.0
Архитектура
gpjtgpt2 · dense
Библиотека
transformers
Опубликована
3 окт 2026

8xa100m40-lore-10-both-corrected-smart-init

Генерация текстаТекст → текст

Компактная причинная GPT-2-подобная модель с низкоранговыми эмбеддингами для генерации продолжений текста и экспериментов с архитектурой LoRE.

138скачиваний за 30 дней0лайковвеса обновлены3 окт 2026

Бенчмарки

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

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

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

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

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

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

Модель gpjt/8xa100m40-lore-10-both-corrected-smart-init разработана Giles Thomas на основе кода Sebastian Raschka. Это авторская языковая модель, обученная с нуля: причинный трансформер в стиле GPT-2 с 12 слоями, 12 головами внимания и размерностью эмбеддингов 768. Для токеновых эмбеддингов и выходной матрицы используется LoRE — низкоранговое представление ранга 128 со скорректированной умной инициализацией. В README указано 98 877 184 параметра; контекст составляет 1 024 токена.

Модель предназначена для продолжения текстов и экспериментов с компактными языковыми моделями и низкоранговыми матрицами словаря. Она обучалась на токенизированном датасете gpjt/fineweb-gpt2-tokens. Автор предупреждает, что модель слабо знает факты и обладает ограниченными возможностями, поэтому она подходит скорее для обучения и экспериментов, чем для серьёзных прикладных задач. Лицензия — Apache 2.0.

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

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

Ограничения

Автор предупреждает, что модель слабо знает факты и обладает ограниченными возможностями; она не предназначена для серьёзных прикладных задач. Контекст ограничен 1 024 токенами.

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

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

Открыть на Hugging Face

Model Card for gpjt/8xa100m40-lore-10-both-corrected-smart-init

This model is gpjt/8xa100m40-lore-10-both-corrected-smart-init, a trained-from-scratch base model based on the GPT-2-style architecture from Sebastian Raschka's book "Build a Large Language Model (from Scratch)", but extended to optionally use low-rank matrices for the embeddings and the output head -- a technique I've taken to calling LoRE (for Low Rank Embeddings). This idea was suggested by AndrewThompson1233.

You can read more about it in the blog post: Low-rank vocab matrices (coming soon!)

LoRE settings for this model

See the blog post for information about what these mean:

  • LoRE enabled for token embeddings: True
  • LoRE enabled for output head: True
  • LoRE rank: 128
  • Smart initialization: corrected

Model Details

Model Description

  • Developed by: Giles Thomas, based on code by Sebastian Raschka
  • Model type: GPT-2 style Transformer-based causal LLM.
  • License: Apache 2
  • Parameters: 98,877,184
  • Context length: 1,024
  • Transformers embedding dimension: 768
  • MHA heads: 12
  • Layers: 12
  • QKV bias: False
  • Weight tying: False

Don't have high expectations for the model! It has 163M parameters -- or even fewer if it's using LoRE on either the embeddings or the output head -- and was trained on roughly the Chinchilla-optimal number of tokens (~20x the number of parameters) for a non-LoRE version, which means that it doesn't know many facts and is not terribly smart. If you want to do serious work, use a serious model (I like Qwen's). But if you want to build on this and see what you can do with a 2020-vintage LLM, please do feel free to play with it!

Model Sources

How to Get Started with the Model

You can download and run the model for inference directly:

from transformers import pipeline
pipe = pipeline("text-generation", model="gpjt/8xa100m40-lore-10-both-corrected-smart-init", trust_remote_code=True)
out = pipe(
    "Every effort moves you",
    max_new_tokens=20,
    do_sample=True,
    temperature=1.4,
    top_k=25,
)
print(out[0]["generated_text"])

Note that because it uses custom code, you'll need to set trust_remote_code to True.

It supports AutoTokenizer, AutoModel and AutoModelForCausalLM:

>>> from transformers import AutoTokenizer, AutoModel, AutoModelForCausalLM
>>> tokenizer = AutoTokenizer.from_pretrained("gpjt/8xa100m40-lore-10-both-corrected-smart-init")
>>> model = AutoModel.from_pretrained("gpjt/8xa100m40-lore-10-both-corrected-smart-init", trust_remote_code=True)
>>> llm_model = AutoModelForCausalLM.from_pretrained("gpjt/8xa100m40-lore-10-both-corrected-smart-init", trust_remote_code=True)

You can also fine-tune it; this notebook has an example.

Again, don't expect too much from this model! It's a 163M or fewer-parameter GPT-2 one, trained on a limited number of tokens. It's both dumb and ignorant ;-)

Training Details

  • Machine type: 8x A100 on Lambda, with 40 GiB VRAM per GPU.
  • Tokens: 3,260,252,160 (the target of 3,260,190,720 -- exactly 20x the non-LoRE model's parameter count -- rounded up to the nearest complete batch).
  • Dataset: gpjt/fineweb-gpt2-tokens
  • Micro-batch size: 12
  • Global batch size: 96
  • Dropout: 0.0
  • Gradient clipping: 3.5
  • Learning rate: 0.0014
  • Schedule learning rate: True
  • Weight decay: 0.01

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

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

GPU в ailist

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

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

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

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

0 моделей