rougers
ROUGE scores identical to Google's rouge-score, 30–80× faster on one core and up to 350× with all cores.
pip install rouge-score-rsLibraries
Grouped by the job they do. Versions and download counts update live from crates.io, PyPI and RubyGems.
Score model outputs and estimate what a test actually measures.
ROUGE scores identical to Google's rouge-score, 30–80× faster on one core and up to 350× with all cores.
pip install rouge-score-rsItem response theory in Ruby: Rasch, 2PL and 3PL models with missing-data strategies and adaptive optimisation.
gem install irt_rubyMeasure how well an API model writes Ruby: pass@1 on your own private tasks, run in a Docker sandbox.
git clone https://github.com/kholdrex/ruby-llm-eval && pip install -e ./ruby-llm-evalRust cores for Python text tools, with the same output as the originals.
Language detection identical to Python's langdetect, bit for bit, 40–52× faster on one core and up to 315× with all cores.
pip install langdetect-rsRecurrent networks and Bayesian inference in Rust, checked against reference implementations.
LSTM, GRU and BiLSTM networks with full backpropagation through time, gradients checked against finite differences and PyTorch.
cargo add rust-lstmBayesian inference in Rust: Metropolis–Hastings, Gibbs and HMC samplers with R-hat, effective sample size and multi-chain runs.
cargo add bayes-rsGems for Rails apps: agent memory, fast reads and guarded text-to-SQL.
Long-term memory for AI agents in Ruby: recall the facts that matter and add them to the prompt, stored in your own Postgres.
gem install engramA chainable query builder for ActiveRecord with struct results, read models, bulk updates and streaming on PostgreSQL and MySQL.
gem install simple_queryTurn plain-English questions into parameterized SQL for Rails, with table allowlists, policy filters and EXPLAIN checks.
gem install code_to_querySmall learning projects, kept for reference.