HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by badmonster | Hacker News Reader
Full thread
badmonster
·
How do I load a custom model instead of the ones on Hugging Face?
View on HN
Tananon
·
We support loading from both local as well as Hugging Face paths with from_pretrained! So let model = StaticModel::from_pretrained("my_custom_model", None, None, None)?; will work.
Reply on news.ycombinator.com