Instructions to use Reproducibility/naacl22_causalDistilBERT_instance_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Reproducibility/naacl22_causalDistilBERT_instance_2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Reproducibility/naacl22_causalDistilBERT_instance_2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Reproducibility/naacl22_causalDistilBERT_instance_2") model = AutoModelForMaskedLM.from_pretrained("Reproducibility/naacl22_causalDistilBERT_instance_2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
d5c414b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:095bfca909e981e426b54039fcdbcc443f2f992a96b4cc4553bb1375f36bc5b5
size 267975343
|