Instructions to use umanlp/babelbert-ft-xlm-r with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use umanlp/babelbert-ft-xlm-r with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="umanlp/babelbert-ft-xlm-r")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("umanlp/babelbert-ft-xlm-r") model = AutoModel.from_pretrained("umanlp/babelbert-ft-xlm-r") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
This model is one of the artifacts of the paper Massively Multilingual Lexical Specialization of Multilingual Transformers.
It was obtained by fine-tuning the representations of xlm-roberta-base on the dataset babelbert-dataset.
- Downloads last month
- 6