Skip to content

3.8.0

Latest

Choose a tag to compare

@xenova xenova released this 19 Nov 16:50
· 1 commit to main since this release
bf09aaf

πŸš€ 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