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