/ Модель

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

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

claudius-latin-400m

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

Модель Claudius Latin 400M продолжает текст на латыни в преимущественно классическом и пояснительном стиле.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Claudius Latin 400M — языковая модель fbandov для продолжения текста на латинском языке. Это дообученная модель семейства Llama с 341,8 млн параметров, созданная с нуля на корпусе из примерно 6,8 млрд токенов классической, средневековой и новолатинской прозы; дополнительная настройка смещает стиль к классической латыни и изложению. Модель принимает текстовый фрагмент и генерирует его продолжение, поддерживает контекст до 2048 токенов и выдаёт текст прописными буквами.

Она подходит для черновиков на латыни, стилизации и творческого продолжения текста. Модель не обучалась диалогу и не предназначена для надёжных ответов на фактические вопросы: она может уверенно выдумывать сведения. В стиле сохраняется влияние средневековых текстов, могут встречаться заголовки глав и книг; греческий текст она не поддерживает. Веса распространяются по лицензии CC BY-SA 4.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Claudius 400M: a Latin-only language model

A 342M-parameter language model pretrained from scratch on Latin only: about 6.8 billion tokens of classical, medieval and neo-Latin text, trained compute-optimally (Chinchilla, about 20 tokens per parameter), then annealed on classical Latin and Latin Wikipedia so that it writes clean classical and expository Latin. Its continuations are Latin and nothing else: it has never seen English.

This is the recommended model. The pretrained model before the anneal is fbandov/claudius-latin-400m-base.

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

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

ids = tok("Gallia est omnis divisa in partes tres", 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
pretraining6.84B tokens (about 20 per parameter), AdamW (beta2 0.95, weight decay 0.1), peak lr 3e-4, cosine schedule to 10%, about 0.5M tokens per step
anneal136 steps at lr 3e-5 over 33.5M tokens (2 epochs): the classical core (Latin Library and Perseus) plus Vicipaedia
anneal data cleaningedition line and section numbers removed; sentences that carry numbers as content dropped whole, not left with gaps
tokenizerbyte-level BPE, 32,768 tokens, trained on the normalised corpus, with the 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
Ревизия весов
221884e

0 моделей