Instructions to use minoosh/bert-reg-crossencoder-contrastive with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use minoosh/bert-reg-crossencoder-contrastive with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="minoosh/bert-reg-crossencoder-contrastive")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("minoosh/bert-reg-crossencoder-contrastive") model = AutoModelForSequenceClassification.from_pretrained("minoosh/bert-reg-crossencoder-contrastive", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
e624a3c | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:29bf4316fe9b16f707694109d25dac499ec046d98a5aa76b3492c7b24e2821bc
size 5176
|