Instructions to use ylacombe/w2v-bert-2.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ylacombe/w2v-bert-2.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="ylacombe/w2v-bert-2.0")# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("ylacombe/w2v-bert-2.0") model = AutoModel.from_pretrained("ylacombe/w2v-bert-2.0") - Notebooks
- Google Colab
- Kaggle
How use this model?
#11
by dongse - opened
How to use this model? For example, model loading, spectrograms, etc. Are there any examples?
Additionally, what are the differences between this model and the official Facebook model?
Hey @dongse , it has been merged a few days ago in transformers ! https://huggingface.co/docs/transformers/main/en/model_doc/wav2vec2-bert
This should be enough to get you started!
Also you can take a look at this notebook for finetuning: https://github.com/ylacombe/scripts_and_notebooks/blob/main/Fine_Tune_W2V2_BERT_on_CV16_Mongolian.ipynb
Also there's no difference from the official FB model