v3.6.1
What's new?
-
Add support for NeoBERT in https://github.com/huggingface/transformers.js/pull/1350
import { pipeline } from "@huggingface/transformers"; // Create feature extraction pipeline const extractor = await pipeline("feature-extraction", "onnx-community/NeoBERT-ONNX"); // Compute embeddings const text = "NeoBERT is the most efficient model of its kind!"; const embedding = await extractor(text, { pooling: "cls" }); console.log(embedding.dims); // [1, 768] -
Improve webworker detection to support ServiceWorker and SharedWorker by @aungKhantPaing in https://github.com/huggingface/transformers.js/pull/1346
-
Pin numpy version for scripts by @fidoriel in https://github.com/huggingface/transformers.js/pull/1351
-
Fix optional
from_pretrainedtypes in https://github.com/huggingface/transformers.js/pull/1352
New Contributors
- @aungKhantPaing made their first contribution in https://github.com/huggingface/transformers.js/pull/1346
- @fidoriel made their first contribution in https://github.com/huggingface/transformers.js/pull/1351
Full Changelog: https://github.com/huggingface/transformers.js/compare/3.6.0...3.6.1
Fetched April 7, 2026
