Getting a custom PyTorch LLM onto the Hugging Face Hub (Transformers: AutoModel, pipeline, and Trainer)
gilesthomas.com·23h·
Discuss: Hacker News
🚀Model Deployment
Preview
Report Post

Archives

Categories

Blogroll

I spent some time recently getting some models uploaded onto the Hugging Face Hub. I’d trained a bunch of GPT-2 small sized base models from scratch as part of my LLM from scratch series, and wanted to share them with anyone that was interested. I managed to get it done, but it was kind of tricky to get right.

The Hugging Face documentation is great if you’re using the built-in models, but the coverage of custom architectures is... not quite as comprehensive. There are scattered examples, but they’re all a bit vague and there’s nothing really bringing them all together. But with what I could find, plus a lot of running th…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help