Skip to content

Release 2.1.1 - Faster LDA sampling

Latest

Choose a tag to compare

@mimno mimno released this 04 Aug 20:12
· 1 commit to master since this release

What's New

A small patch release focused on LDA sampling performance and release infrastructure.

Highlights

  • Faster LDA sampling for large topic counts - Reduced array writes when re-sorting topic counts during Gibbs sampling; the previous swap-based reordering wrote each shifted value twice, the new version once (#218, thanks @ghuls)
  • New regression test - Pins down exact sampler output for a fixed seed and corpus, to catch unintended behavior changes in this hot path going forward
  • Fixed CI/release pipeline - Maven Central signing was bound unconditionally and failing every CI build since 2.1.0; it's now gated behind a release profile so ordinary builds succeed and GitHub Release publishing works as intended

Binary Download (Recommended for most users)

Download mallet-2.1.1-bin.zip, unzip, and run. No build tools needed — just Java 17 or later.

unzip mallet-2.1.1-bin.zip
cd mallet-2.1.1
bin/mallet --help

The ZIP includes pre-built JARs, sample data, and stoplists for several languages. On Windows, use bin\mallet.bat and set the MALLET_HOME environment variable to the unzipped directory.

Maven / Gradle

Maven:

<dependency>
  <groupId>cc.mallet</groupId>
  <artifactId>mallet</artifactId>
  <version>2.1.1</version>
</dependency>

Gradle:

implementation 'cc.mallet:mallet:2.1.1'

See the full changelog: v2.1.0...v2.1.1