Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for UniSpeech and UniSpeechSat models #624

Merged
merged 3 commits into from
Mar 6, 2024
Merged

Conversation

xenova
Copy link
Collaborator

@xenova xenova commented Mar 4, 2024

Follow-up to #611

Example usage:

import { pipeline } from '@xenova/transformers';

// Create an Automatic Speech Recognition pipeline
const transcriber = await pipeline('automatic-speech-recognition', 'Xenova/unispeech-sat-base-100h-libri-ft');

// Transcribe audio
const url = 'https://huggingface.co/datasets/Xenova/transformers.js-docs/resolve/main/jfk.wav';
const output = await transcriber(url);
// { text: 'AND SO MY FELLO AMERICAN ASK NOT WHAT YOUR COUNTRY CAN DO FOR YOU ASK WHAT YOU CAN DO FOR YOUR COUNTRY' }

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@xenova xenova merged commit 5f57224 into main Mar 6, 2024
4 checks passed
@xenova xenova deleted the add-unispeech-sat branch March 6, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants