r/MachineLearning • u/antcroca159 • 3d ago
Project PhiloLM: a 112M language model trained from scratch on philosophy texts [P]
I trained PhiloLM, a 112M-parameter language model from scratch using only openly available philosophy texts.
The training corpus, PhiloText, contains 0.5B tokens from philosophy encyclopedias (SEP, IEP), public-domain books, reviews, textbooks, and educational resources.
The model was trained on 1.5B tokens in 15 hours on a single Intel Arc A770 (16 GB). The architecture uses grouped-query attention, sliding-window attention, bigram embeddings, and the Muon optimizer.
Model and technical details: https://huggingface.co/gustavecortal/PhiloLM
The training dataset and interactive demo are also publicly available. Happy to discuss the architecture, training setup, or results.
36
u/bacon_boat 3d ago
This sounds horrible.
I love it
8
u/norfkens2 3d ago
Just curious, what's your goal with this?
1
u/AwkwardWaltz3996 2d ago
How are Intel Arc gpus for training and general development? I've wanted one for a while but feared it would suck due to Cuda stuff. You're the first person I've seen use one for machine learning.
1
u/arcandor 2d ago
Awesome work!
1
u/vale_valerio 3d ago
Can you make the modifications to run the model in Ollama please? LoL
3
u/McSendo 3d ago
Thanks. Looking forward to reproducing it soon and apply it to another similar domain.
1
u/MattTheDemonCat 2d ago
Can you build a chat llm that fits in less than 8mb ram and can run on dos using CPU?
1
u/sasizza 3d ago
A magic ebook
0
u/[deleted] 3d ago
[deleted] — view deleted comment