Automatic Speech Recognition
Transformers
PyTorch
French
wav2vec2
Generated from Trainer
hf-asr-leaderboard
mozilla-foundation/common_voice_8_0
robust-speech-event
Eval Results (legacy)
Instructions to use AlexN/xls-r-300m-fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AlexN/xls-r-300m-fr with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="AlexN/xls-r-300m-fr")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("AlexN/xls-r-300m-fr") model = AutoModelForCTC.from_pretrained("AlexN/xls-r-300m-fr", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from AlexN/xls-r-300m-fr: direct link, hf CLI and curl.
- Browser
- Download file 260 Bytes
-
https://huggingface.co/AlexN/xls-r-300m-fr/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://AlexN/xls-r-300m-fr/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/AlexN/xls-r-300m-fr/resolve/main/tokenizer_config.json
260 Bytes
| {"unk_token": "<unk>", "bos_token": "<s>", "eos_token": "</s>", "pad_token": "<pad>", "do_lower_case": false, "word_delimiter_token": "|", "special_tokens_map_file": null, "tokenizer_file": null, "name_or_path": "./", "tokenizer_class": "Wav2Vec2CTCTokenizer"} |