Skip to content

Commit 10656ec

Browse files
committed
release: 0.2.0
Nothing here has ever been tagged, and the CHANGELOG had 78 unreleased entries: everything from this modernization -- the correctness fixes, the evaluation data, the domain tasks, the 28% speedup -- was reachable only by cloning the repository. `pip install hyperhyper` still served the 2019 code, with the bugs. 0.2.0 rather than 0.1.2 because reported numbers move, and rather than 1.0 because the new API has no usage behind it yet. The CHANGELOG now opens with why the numbers moved and says plainly not to compare a 0.1.x score with a 0.2.0 one: analogy accuracy used to be structurally 0.0, similarity gold was ranked as strings, the cache key ignored **kwargs so results depended on call order, and subsample="prob" used word2vec's discard probability as a keep probability. Same-version results stay reproducible, and the tokenizer identity is recorded per result so old and new numbers cannot collide silently. Artifacts verified rather than assumed: the wheel installs into a clean environment, reports 0.2.0, trains and evaluates, and carries all 23 bundled datasets across en/de/fr/sv/da; it contains no tests/, bench/ or tools/. The sdist does carry those 24 entries, so it can run its own tests -- which it could not before b597904.
1 parent 4ddb9c7 commit 10656ec

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,22 @@
22

33
## Unreleased
44

5-
Modernization of the package for current Python and dependency versions.
6-
Everything below is user-visible; several items change numeric results.
5+
## 0.2.0 - 2026-07-22
6+
7+
Modernization of the package for current Python and dependency versions, plus
8+
the bug fixes and evaluation-data work that came out of it. Everything below is
9+
user-visible.
10+
11+
> **Reported numbers move in this release, and that is the point.** Several of
12+
> the fixes below were wrong *answers*, not slow ones: word-analogy accuracy was
13+
> structurally 0.0, word-similarity gold scores were ranked as strings, the
14+
> cache key ignored `**kwargs` so results depended on call order, and
15+
> `subsample="prob"` used word2vec's *discard* probability as a *keep*
16+
> probability. The evaluation data was also cleaned and extended. **Do not
17+
> compare a score from 0.1.x with a score from 0.2.0** -- they are not measuring
18+
> the same thing. Scores computed with the same version remain reproducible, and
19+
> the tokenizer identity is now recorded with every result so old and new
20+
> numbers cannot silently collide.
721
822
### Added
923

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "hyperhyper"
7-
version = "0.1.1"
7+
version = "0.2.0"
88
description = "Python package to construct word embeddings for small data"
99
readme = "README.md"
1010
requires-python = ">=3.10,<3.14"

0 commit comments

Comments
 (0)