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: 132 Bytes
3f780d8 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ed91415b8f4e15a5e2edebd1e96adc8686cda65e29df7a6c7f7dd539d0e3453b
size 3417814
|