Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
badmonster
· 1y ago · 0 comments
How do I load a custom model instead of the ones on Hugging Face?
Comments
[–]
Tananon
1y ago
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.