What is rust_model.ot and how can I use it?
Lots of models have rust weights available for them in the filerust_model.otand there’s even arusttag on thehub. Is there any rust project coming up from HF ? Also is there any we way I can use these weights to do inference from rust ?cc.@julien-c
2020-08-19T16:54:23Z
I seeon Twitterthat you figured it out, but those weights are forhttps://github.com/guillaume-be/rust-bertwhich is a great project – I think the author is planning to communicate about it in a couple of weeks
2020-08-19T17:06:00Z
Yes.@stefan-itshared it with me. And really seems like a great project.
2022-03-14T18:40:20Z
Is there any way to convert bin to .ot ?
2022-03-23T07:29:12Z
See the script here:rust-bert/convert_model.py at master · guillaume-be/rust-bert · GitHubNote that you must install both pytorch in python and rust-bert in rust.