2 ms·
There are obviously fewer ML libraries than for Python (sometimes worse quality, sometimes better), but if you are willing to invest time, it's definitely doabl
by microtonal 4y ago
There are obviously fewer ML libraries than for Python (sometimes worse quality, sometimes better), but if you are willing to invest time, it's definitely doable. E.g. I made a multi-task transformer-based syntax annotator in Rust using the tch Torch binding:
https://github.com/tensordot/syntaxdot https://github.com/tensordot/syntaxdot
In my current job I do NLP with Python, Cython, and some C++. I don't think implementing ML stuff in Rust was much more work. Once you are beyond the stage of implementing a small research project or toy model, most systems are going to contain a lot of custom, specialized code. You will have to do that work in any language.
- czbond 4y agoThank you for the informed response - really helpful