Instructions to use codejin/distilroberta-base-finetuned-wikitext2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use codejin/distilroberta-base-finetuned-wikitext2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="codejin/distilroberta-base-finetuned-wikitext2")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("codejin/distilroberta-base-finetuned-wikitext2") model = AutoModelForMaskedLM.from_pretrained("codejin/distilroberta-base-finetuned-wikitext2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
8907b68 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:3244de4d40d62c18df609dd2c95c62c547c60764911f575d3f3a19e8e9965962
size 4600
|