Instructions to use distilbert/distilbert-base-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use distilbert/distilbert-base-cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="distilbert/distilbert-base-cased")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("distilbert/distilbert-base-cased") model = AutoModelForMaskedLM.from_pretrained("distilbert/distilbert-base-cased") - Inference
- Notebooks
- Google Colab
- Kaggle
Doubt regarding the score key in the output
#3
by surajjoshi - opened
The output provided by the model checkpoint is a dictionary value. So in that, is it a bertscore or a bleuscore or any other metric that has been utilized ?
surajjoshi changed discussion status to closed
surajjoshi changed discussion status to open