Instructions to use formermagic/roberta-base-python-1m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use formermagic/roberta-base-python-1m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="formermagic/roberta-base-python-1m")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("formermagic/roberta-base-python-1m") model = AutoModelForMaskedLM.from_pretrained("formermagic/roberta-base-python-1m") - Notebooks
- Google Colab
- Kaggle
File size: 198 Bytes
ba2ad74 | 1 2 3 4 5 6 7 8 9 10 | ---
license: mit
language: py
thumbnail: https://avatars.githubusercontent.com/u/70610668?s=400&u=f0699303289113c125e8686338739d9a63d5826c&v=4
tags:
- roberta
- pytorch
---
# roberta-base-python-1m |