Repository navigation
Jabberjay v0.1.2
·
1 commit
to main
since this release
Immutable
release. Only release title and notes can be modified.
Fixed
- SpectraAASIST and SpectraAASIST3 predictions were effectively random β
lab260's checkpoints nest each AASIST encoder residual block one level
deeper (aasist.enc.enc.N.0.*) than our port (aasist.enc.enc.N.*).
PyTorchModelHubMixin.from_pretrained()defaults tostrict=False, so the
mismatch was silent and the entire six-block encoder stayed randomly
initialised β scores changed from process to process and the bundled
sample clips were misclassified. Each block is now wrapped in its own
nn.Sequentialto match upstream, and logits are verified bit-identical
to lab260's referencemodel.pyfor all three Spectra models
Changed
- Spectra models now load strictly β
load_pretrained()passes
strict=True, so any future checkpoint/architecture drift raises instead
of silently leaving layers uninitialised - Spectra first-run download halved β the Wav2Vec2-XLS-R-300M encoder is
now built from its config alone instead of downloading the 1.27 GB
facebook/wav2vec2-xls-r-300mweights, which every Spectra checkpoint
overwrites with its own fine-tuned copy anyway. Also removes the
Wav2Vec2Model LOAD REPORTnoise printed on every Spectra load - VIT spectrograms render without pyplot β
get_image()draws onto a
barematplotlib.figure.Figure, so no GUI backend is started. Output is
pixel-identical, butdetect()with VIT now works off the main thread and
on Python builds without Tk - ty
invalid-mutable-overrideignored underModels/β ty 0.0.89
flags every idiomaticnn.Module.forward()override because torch types
forwardas a mutableCallableattribute
Dependencies
huggingface-hub1.31.0 β 2.2.0,transformers5.17.0 β 5.20.1,
torch2.14.0 β 2.14.1,pillow12.3.0 β 13.0.0,numpy2.5.3 β 2.5.4,
scikit-learn1.9.0 β 1.9.1,matplotlib3.11.1 β 3.11.2 (lockfile;
verified with the full model sweep β every non-Spectra result is
identical to v0.1.1)- Dev:
black26.10.1,ruff0.17.1,ty0.0.89,pre-commit4.7.0
(pre-commit hook revs bumped to match);astral-sh/setup-uv10.3.0