/ Модель

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

Контекст
4 096 токенов
Лицензия
Apache 2.0
Архитектура
philolm · dense
Библиотека
transformers
Опубликована
19 ноя 2026

PhiloLM

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

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

1 513скачиваний за 30 дней36лайковвеса обновлены20 ноя 2026

Бенчмарки

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

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

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

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

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

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

PhiloLM — компактная языковая модель с 112 млн параметров, разработанная Gustave Cortal и обученная с нуля на открытых философских текстах из набора PhiloText. Это базовая авторегрессионная модель для продолжения текста, а не диалоговый помощник с инструкционной настройкой.

Модель предназначена для генерации продолжений философских текстов и экспериментов с языковыми моделями для философского корпуса. Она обработала 1,45 млрд токенов за четыре прохода по данным; обучение использовало оконный контекст, постепенно увеличенный с 1 024 до 2 048 токенов. Модель построена на архитектуре PhiloLMForCausalLM, доступна в формате Safetensors и используется через Transformers; также есть браузерная демонстрация.

Основной язык корпуса и модели — английский. Чекпойнт может повторяться, терять связность рассуждений и выдумывать ссылки или атрибуции, поэтому фактические утверждения следует сверять с первоисточниками. Веса и код инференса доступны по лицензии Apache-2.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

PhiloLM

PhiloLM is a language model with 112M parameters, trained from scratch on open philosophy data (PhiloText). A web demo runs it in your browser.

Architecture

PhiloLM architecture in two panels. Model: token IDs feed a token embedding and a bigram embedding, then four groups of four blocks, each with three local attention blocks (256-token window) and one global attention block (9 query heads, 3 key-value heads), a final RMSNorm and an LM head tied to the token embedding. Decoder block: the bigram vector, times a learned scale, is added to the first 128 of 576 dimensions of the residual stream, then RMSNorm and causal attention (QK norm, partial RoPE), then RMSNorm and a SwiGLU feed-forward network, each with a residual connection

Training

The model processed 1.45B tokens across four source-weighted passes over PhiloText's 450.8M training tokens. Training used document-masked attention, with windows growing from 1,024 to 2,048 tokens, Muon for hidden weight matrices, and AdamW for the remaining parameters. The final pass emphasizes reference sources and selected primary texts. The release blends final weights with a late-training exponential moving average. Training took 15.2 hours on one Intel Arc A770 (16 GB).

Examples

Continuations sampled as on the web page, cut after the first paragraph. The prompt is in bold.

A good life is a state of well-being that is characterized by the absence of suffering and the fulfillment of human potential. It may also be described as a positive experience, a state of happiness, or a state of being in a good mood.

Justice is a concept that has been used to describe the relationship between individuals, groups and institutions. It can be used to refer to what society considers fair or just, but also to apply it in more general ways such as when people are treated equally.

According to Kant, the moral law is the categorical imperative, or a law of nature. It is an idea that can be deduced from reason and not merely derived from experience. In this way it provides a basis for morality, which Kant calls the "Categorical Imperative".

Hume argued that causation is a matter of constant conjunction, where the term "cause" (or "substance") refers to all or most of the occurrences that we have observed. The notion of causation in Hume's philosophy has been interpreted as being about regularities and causal relations between events. In this view, there are no necessary connections among things. Instead, all our experience can be explained by reference to these patterns of observation.

Husserl's phenomenology begins with the question of what is common to all human experience. It asks: "What is it for a given thing to be present in the world?" (p. 1). In other words, how do we get from there to the objects that we encounter and their properties? What is it that makes an object appear as such?

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("gustavecortal/PhiloLM")
model = AutoModelForCausalLM.from_pretrained("gustavecortal/PhiloLM", trust_remote_code=True)
inputs = tokenizer("The problem of personal identity", return_tensors="pt")
output = model.generate(**inputs, max_new_tokens=64)
print(tokenizer.decode(output[0], skip_special_tokens=True))

For faster CPU generation, generate_fast.py runs the web page's 8-bit WebAssembly engine, about three times faster than PyTorch:

pip install wasmtime numpy tokenizers
hf download gustavecortal/PhiloLM core.wasm core.bin tokenizer.json generate_fast.py --local-dir PhiloLM
cd PhiloLM && python generate_fast.py "The problem of personal identity"

Limitations

PhiloLM is a base checkpoint without instruction tuning. It can repeat itself, lose argumentative coherence, and invent citations or attributions. For factual use, verify claims against the original sources.

Weights and inference code are released under Apache-2.0.

Citation

@misc{cortal2026philolm,
  author = {Cortal, Gustave},
  title = {PhiloLM: a small language model trained on philosophy},
  year = {2026},
  url = {https://huggingface.co/gustavecortal/PhiloLM}
}

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

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

0 моделей