/ Модель

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

Контекст
2 048 токенов
Параметры
12,9 млрд
Лицензия
Apache 2.0
Архитектура
talkie · dense
Базовая модель
talkie-1930-13b-it
Библиотека
transformers
Опубликована
28 апр 2026

talkie-1930-13b-it-hf

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

Инструкционная англоязычная модель Talkie на 12,9 млрд параметров для диалогов и генерации текста в языковом контексте до 1931 года.

299скачиваний за 30 дней26лайковвеса обновлены28 апр 2026

Бенчмарки

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

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

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

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

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

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

talkie-1930-13b-it-hf — преобразованная в формат Transformers версия инструкционной языковой модели семейства Talkie, разработанной Alec Radford, Nick Levine и David Duvenaud. Модель содержит 12,9 млрд параметров и использует плотную авторегрессионную архитектуру TalkieForCausalLM: 40 слоёв и 40 голов внимания. Она обучалась на 260 млрд токенов англоязычных текстов, созданных до 1931 года, а затем была настроена для диалогов на материалах старинных справочников и улучшена с помощью онлайн-DPO.

Модель предназначена для генерации текста и общения в стиле начала XX века, включая ответы на инструкции и вопросы с опорой на языковые и культурные особенности эпохи. Контекст составляет 2048 токенов; поддерживается английский язык. В README заявлено, что веса численно идентичны исходному чекпойнту с учётом округления bfloat16. Репозиторий содержит веса safetensors для Transformers; для загрузки требуется trust_remote_code=True. Лицензия — Apache-2.0.

К ограничениям относятся узкое временное окно обучающих текстов, из-за которого знания и формулировки могут отражать взгляды эпохи и не покрывать современные сведения, а также контекст в 2048 токенов. Для работы с указанной точностью bfloat16 README приводит ориентир около 26 ГБ видеопамяти.

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

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

Ограничения

Обучение только на англоязычных текстах до 1931 года ограничивает актуальность современных знаний и может отражать установки той эпохи. Контекст ограничен 2048 токенами; для загрузки требуется trust_remote_code=True.

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

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

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

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

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

Открыть на Hugging Face

talkie-1930-13b-it (Transformers format)

This is a conversion of talkie-lm/talkie-1930-13b-it to the HuggingFace Transformers format. The original model was distributed as a raw PyTorch checkpoint with a custom inference library; this version can be loaded directly with AutoModelForCausalLM and AutoTokenizer.

The weights are numerically identical to the original — top-5 decoded tokens match across all test prompts, with max logit differences below 0.07 (bf16 rounding).

[!NOTE] This model was converted automatically by Hugging Face's ML Intern — an AI agent for ML engineering tasks. Try it yourself via the CLI or the Demo.

Table of Contents

  1. Model Summary
  2. How to Use
  3. Architecture Details
  4. Conversion Notes
  5. License

Model Summary

talkie-1930-13b-it is a 13B-parameter instruction-tuned language model from the talkie family, developed by Alec Radford, Nick Levine, and David Duvenaud. It was pretrained on 260B tokens of pre-1931 English-language text and instruction-tuned using a novel dataset extracted from vintage reference works — etiquette manuals, encyclopedias, letter-writing guides, and poetry collections. The model underwent reinforcement learning via online DPO with an LLM-as-a-judge to improve instruction following.

Read more in the talkie report.

Key Features

  • Vintage knowledge: trained exclusively on pre-1931 text, offering a unique window into early 20th-century language and thought
  • Instruction-tuned: fine-tuned for conversational use with a simple chat template
  • 13B parameters in bfloat16 (~26 GB VRAM)
  • 2048 token context window

How to Use

Installation

This model uses custom modeling code. Make sure you have a recent version of transformers installed:

pip install -U transformers torch

Basic Generation

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "lewtun/talkie-1930-13b-it-hf"

tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    trust_remote_code=True,
    dtype="bfloat16",
).to("cuda")

prompt = "Write an essay predicting what life will be like in the year 1960."
messages = [{"role": "user", "content": prompt}]

text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

generated_ids = model.generate(**model_inputs, max_new_tokens=512, temperature=0.7, do_sample=True)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):]
print(tokenizer.decode(output_ids, skip_special_tokens=True))

Multi-turn Chat

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "lewtun/talkie-1930-13b-it-hf"

tokenizer = AutoTokenizer.from_pretrained(model_name, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    trust_remote_code=True,
    dtype="bfloat16",
).to("cuda")

messages = [
    {"role": "user", "content": "What were the causes of the French Revolution?"},
]

text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors="pt").to(model.device)

output = model.generate(**inputs, max_new_tokens=512, temperature=0.7, do_sample=True)
reply = tokenizer.decode(output[0][len(inputs.input_ids[0]):], skip_special_tokens=True)
print(reply)

# Continue the conversation
messages.append({"role": "assistant", "content": reply})
messages.append({"role": "user", "content": "Which of those causes was the most significant?"})

text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer([text], return_tensors="pt").to(model.device)

output = model.generate(**inputs, max_new_tokens=512, temperature=0.7, do_sample=True)
print(tokenizer.decode(output[0][len(inputs.input_ids[0]):], skip_special_tokens=True))

Chat Template

The model uses the following chat format:

<|system|>{system_message}<|end|><|user|>{user_message}<|end|><|assistant|>{assistant_message}<|end|>

This is applied automatically when using tokenizer.apply_chat_template().

Architecture Details

talkie is a 40-layer decoder-only GPT with several distinctive architectural choices:

ComponentDetails
Parameters13B
Layers40
Attention heads40 (MHA, no GQA)
Hidden size5120
Head dimension128
Intermediate size (MLP)13696
Position encodingRoPE (θ = 1,000,000)
ActivationSwiGLU
NormalizationRMSNorm (pre-norm)
Context length2048
Vocabulary65,540 (65,535 BPE + 5 special tokens)
Precisionbfloat16

Notable architectural features:

  • QK-normalization: RMSNorm is applied to queries and keys after RoPE
  • Per-head gain: learnable scalar gain per attention head, applied to queries
  • Embedding skip connections: each transformer block receives a residual connection from the (normalized) input embeddings
  • Activation gains: learnable scalar gains on attention and MLP residual streams (initialized to (2·L)^(-0.5))
  • lm_head weight gain: a learnable scalar applied to the output projection weights

Conversion Notes

This model was converted from the original talkie-lm/talkie-1930-13b-it PyTorch checkpoint using the reference talkie codebase as ground truth. The conversion involved:

  1. Model weights: the .pt state dict was remapped to a PreTrainedModel subclass (TalkieForCausalLM) and saved as safetensors
  2. Tokenizer: the tiktoken BPE vocabulary was converted to a PreTrainedTokenizerFast with the HuggingFace TikTokenConverter, including all 5 special tokens (<|endoftext|>, <|end|>, <|user|>, <|assistant|>, <|system|>)
  3. Validation: logits were compared on 4 test prompts covering chat, system prompts, and raw completion — all top-5 decoded tokens match exactly, with cosine similarity ≥ 0.99999994

Since this is a custom architecture, loading requires trust_remote_code=True.

License

Apache 2.0 — same as the original model.

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

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

GPU в ailist

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

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

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

Класс архитектуры
TalkieForCausalLM
Ревизия весов
6311ded

0 моделей