karpathy / minGPT

A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integration with HuggingFace

marxav opened this issue · comments

I wish minGTP could also work with HuggingFace hub in order to be even more easily experienced by any user.
I admit I don't know if this is feasible while keeping its core properties (small, clean, interpretable and educational).
In the meantime, here's a workaround I found for play_char use-case: https://discuss.huggingface.co/t/character-level-tokenizer/12450, which was used in https://huggingface.co/Marxav/frpron?text=bonjour%3A