github huggingface/transformers.js 3.8.0

latest release: 3.8.1
2 months ago

🚀 Transformers.js v3.8 — SAM2, SAM3, EdgeTAM, Supertonic TTS

  • Add support for EdgeTAM in #1454

  • Add support for Supertonic TTS in #1459

    Example:

    import { pipeline } from '@huggingface/transformers';
    
    const tts = await pipeline('text-to-speech', 'onnx-community/Supertonic-TTS-ONNX');
    
    const input_text = 'This is really cool!';
    const audio = await tts(input_text, {
        speaker_embeddings: 'https://huggingface.co/onnx-community/Supertonic-TTS-ONNX/resolve/main/voices/F1.bin',
    });
    await audio.save('output.wav');
  • Add support for SAM2 and SAM3 (Tracker) in #1461

  • Remove Metaspace add_prefix_space logic in #1451

  • ImageProcessor preprocess uses image_std for fill value by @NathanKolbas in #1455

New Contributors

Full Changelog: 3.7.6...3.8.0

Don't miss a new transformers.js release

NewReleases is sending notifications on new releases.