/ Модель

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

Контекст
2 048 токенов
Параметры
342 млн
Лицензия
CC BY-SA 4.0
Архитектура
llama · dense
Библиотека
transformers
Опубликована
29 сен 2026

claudius-latin-400m-base

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

Базовая модель Llama с 342 млн параметров, обученная с нуля на латинских текстах для продолжения и генерации латыни.

416скачиваний за 30 дней0лайковвеса обновлены29 сен 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

Claudius 400M Base — базовая языковая модель, разработанная fbandov и обученная с нуля только на латинских текстах. Это плотная авторегрессионная модель семейства Llama с 342 млн параметров, контекстом 2 048 токенов и весами в формате safetensors; для работы используется библиотека Transformers. Обучение охватило около 6,8 млрд токенов из классической, средневековой и неолатинской литературы, преимущественно схоластических и церковных текстов.

Модель предназначена для продолжения латинского текста, генерации прозы и стихов, а также для дальнейшего предобучения или дообучения. Она не обучалась выполнять инструкции или вести диалог; автор рекомендует для большинства сценариев генерации использовать дообученную версию fbandov/claudius-latin-400m. Модель может писать грамматически связную латынь, но ненадёжно отвечает на фактические вопросы и способна выдумывать сведения.

Стиль модели тяготеет к средневековой латыни; она может воспроизводить заголовки глав и номера разделов, а генерируемый текст выводится заглавными буквами. Греческий язык в обучающие данные не входил. Лицензия весов — CC BY-SA 4.0.

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

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

Ограничения

Модель не обучалась следовать инструкциям или вести диалог, а её фактические ответы ненадёжны и могут содержать выдумки. Она склонна к средневековой латыни, может генерировать заголовки и номера разделов, выводит текст заглавными буквами и не поддерживает греческий.

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

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

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

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

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

Открыть на Hugging Face

Claudius 400M Base: a Latin-only language model

The pretrained checkpoint of Claudius 400M: 342M parameters, pretrained from scratch on Latin only, about 6.8 billion tokens, trained compute-optimally (Chinchilla). It has not been annealed, so its register is that of its data: mostly medieval, scholastic and ecclesiastical. It also prints edition line and section numbers it learned from the sources.

For most uses, take fbandov/claudius-latin-400m instead. This checkpoint is for continued pretraining, fine-tuning, and comparison.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

tok = AutoTokenizer.from_pretrained("fbandov/claudius-latin-400m-base")
model = AutoModelForCausalLM.from_pretrained("fbandov/claudius-latin-400m-base")

ids = tok("Sed de his hactenus", return_tensors="pt").input_ids
out = model.generate(ids)
print(tok.decode(out[0][ids.shape[1]:], skip_special_tokens=True))
  • Any Latin input works. The tokenizer normalises to the classical orthography by itself: accents and macrons are dropped, letters are uppercased, V becomes U, J becomes I. "Salvē, amīce" and "SALUE, AMICE" are the same input.
  • Output is in that orthography: capitals, U for both U and V. For display, write U as V (SALVE, VERBVM); on this text that is a one-to-one swap.
  • Generation defaults are set (sampling, temperature 0.8, top-p 0.95, repetition penalty 1.2, no repeated 4-grams, 80 new tokens). Without the repetition controls, 7.4% of continuations fell into a loop; with them, 0%.

Training

architectureLlama: 24 layers, hidden 1024, 16 heads, MLP 2816, tied embeddings
parameters342M
context2,048 tokens
tokens6.84B (about 20 per parameter), 13,911 steps of about 0.5M tokens
optimiserAdamW, beta2 0.95, weight decay 0.1, peak lr 3e-4, cosine schedule to 10%
tokenizerbyte-level BPE, 32,768 tokens, with the classical normaliser built in

Training data

Latin only. No English or other modern language, not even translations.

sourcewhat it isshare of pretraining textlicense
latin-literature-dataset-170Mclassical, medieval and neo-Latin (Corpus Corporum)95%not stated by the dataset
The Latin Library (via CLTK) and Perseus canonical-latinLitclassical prose and verse4%CC BY-SA / public domain per text
Vicipaedia (Latin Wikipedia)modern expository Latin1%CC BY-SA 4.0

The text was filtered for Latin (a language score, with rival languages rejected), normalised, and deduplicated globally (exact paragraph hashing plus MinHash-LSH). Because it includes CC BY-SA text, the weights are released under CC BY-SA 4.0.

Evaluation

Bits per byte on a whole-author holdout. No author in the evaluation set appears in training. The floor, an interpolated character bigram, was fixed before any model was trained.

modelparamstokensbits per byte
character-bigram floor3.518
Claudius 150M110M2.2B1.351
Claudius 400M base342M6.84B1.091
Claudius 400M342M6.84B + 67M anneal1.097

Output quality. Measured per 1,000 words on continuations of 40 fixed prompts (classical, everyday, modern), 3 samples each:

edition numberschurch vocabularyfused wordsloops
400M base10.917.00.40%
400M0.011.60.00%

"Church vocabulary" counts words such as DEUS, DOMINUS, ECCLESIA, SANCTUS. The classical core of the corpus has 10.8 per 1,000 and the medieval bulk 28.5.

Memorisation. No 13-word run of generated text occurs verbatim in the training text, for either model.

Limitations

  • It invents things. It writes fluent, grammatical Latin, but at 342M parameters it has no reliable knowledge. Asked about Gaul, it will name islands and peoples that do not exist. Use it to generate Latin, not facts.
  • It continues text, it does not chat. This is a base model with no instruction or dialogue training. Prompt it with the start of the text you want.
  • A medieval accent. 95% of the pretraining text is medieval or later. The anneal pulls the register towards classical and expository Latin, but vocabulary and style still drift post-classical, and religious themes come up more often than in Cicero.
  • Book structure. It sometimes writes chapter and book headings (CAPUT II, LIBER UI), as the source editions do.
  • No Greek, no lowercase in output. Greek was removed from the training text, and output is always in capitals.

License

CC BY-SA 4.0. Credit "Claudius (fbandov)" and share derivatives under the same license.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

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

0 моделей