Instructions to use approach0/dpr-cotbert-020 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use approach0/dpr-cotbert-020 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="approach0/dpr-cotbert-020")# Load model directly from transformers import AutoTokenizer, DprEncoder tokenizer = AutoTokenizer.from_pretrained("approach0/dpr-cotbert-020") model = DprEncoder.from_pretrained("approach0/dpr-cotbert-020", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
3f780d8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ff6b5a493d791892bad725707e475b75a49ac56826b9c86febcb3db02a0b0616
size 441087473
|