Y
Hacker News
new
|
ask
|
show
|
jobs
by
badmonster
394 days ago
How do I load a custom model instead of the ones on Hugging Face?
1 comments
Tananon
394 days 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.
link