Transformers.rb offers state-of-the-art transformers for Ruby installation. Simply install Torch.rb and add a line to your Gemfile. The library provides models and pipelines for various tasks like sentence embeddings, question answering, sentiment analysis, and more. Additionally, it supports image classification and feature extraction. Surprisingly, the API closely follows the Transformers Python API, offering a familiar experience for users. Notably, the library encourages contributions, bug reports, and feature suggestions from the community. To start, clone the repository, install dependencies, and begin contributing. Follow the changelog for updates and enhancements.
https://github.com/ankane/transformers-ruby