Instructions to use nyu-mll/roberta-base-10M-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nyu-mll/roberta-base-10M-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="nyu-mll/roberta-base-10M-2")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("nyu-mll/roberta-base-10M-2") model = AutoModelForMaskedLM.from_pretrained("nyu-mll/roberta-base-10M-2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
3155af7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a139dbd0745bc7f83fa48f9d556e7866fe6dddb5ba88772039bb3e4d01f87069
size 498796983
|