Instructions to use SoDehghan/sbert-nli-v2-contrastive with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SoDehghan/sbert-nli-v2-contrastive with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="SoDehghan/sbert-nli-v2-contrastive")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("SoDehghan/sbert-nli-v2-contrastive") model = AutoModel.from_pretrained("SoDehghan/sbert-nli-v2-contrastive", device_map="auto") - Notebooks
- Google Colab
- Kaggle
README.md exists but content is empty.
- Downloads last month
- 12