Instructions to use Matthijs0/DistilBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Matthijs0/DistilBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="Matthijs0/DistilBERT")# Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Matthijs0/DistilBERT") model = AutoModelForQuestionAnswering.from_pretrained("Matthijs0/DistilBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
9035d06 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b2c2a6cc08e675d0504d2c15a6889fe189930e0ce4ed54946bf8107abd5ab71b
size 4920
|