Instructions to use approach0/dpr-cotmae-120 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use approach0/dpr-cotmae-120 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="approach0/dpr-cotmae-120")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, DprEncoder tokenizer = AutoTokenizer.from_pretrained("approach0/dpr-cotmae-120") model = DprEncoder.from_pretrained("approach0/dpr-cotmae-120", device_map="auto") - Notebooks
- Google Colab
- Kaggle
fix upload2hgf.sh
Browse files4 unmodified lines567891011124 unmodified linesgit lfs track events.out.*git lfs track pytorch_model.bintmp_branch=hgf-`uuidgen`git checkout -b tmp_branchgit add .git commit -am 'update model'git push -f hgf tmp_branch:maingit checkout -4 unmodified lines56789101112134 unmodified linesgit lfs track events.out.*git lfs track pytorch_model.bintmp_branch=hgf-`uuidgen`git checkout -b $tmp_branchgit add .git commit -am 'update model'git push -f hgf $tmp_branch:maingit checkout -git branch -D $tmp_branch
upload2hgf.sh+3-2