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