theosorus/GPT2-Hasktorch

GPT2 implementation in Haskell with the Hasktorch library, inspired by Andrej Karpathy's Pytorch implementation.

30
/ 100
Emerging

This project offers a functional re-implementation of the GPT-2 language model in Haskell. It takes large text datasets as input and produces a trained language model capable of understanding and generating human-like text patterns. This is ideal for researchers and advanced practitioners in natural language processing who want to experiment with or develop on generative AI models using the Haskell ecosystem.

No commits in the last 6 months.

Use this if you are a research engineer or academic who wants to explore, understand, and build upon the architecture of GPT-2 using a functional programming paradigm like Haskell.

Not ideal if you need a ready-to-use text generation tool, as the text generation function is not yet implemented.

natural-language-processing generative-ai language-modeling machine-learning-research haskell-development
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 7 / 25
Maturity 15 / 25
Community 6 / 25

How are scores calculated?

Stars

36

Forks

2

Language

Haskell

License

BSD-3-Clause

Last pushed

Jun 17, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/theosorus/GPT2-Hasktorch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.