Instructions to use moshew/mpnet-base-sst2-distilled with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use moshew/mpnet-base-sst2-distilled with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="moshew/mpnet-base-sst2-distilled")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("moshew/mpnet-base-sst2-distilled") model = AutoModelForSequenceClassification.from_pretrained("moshew/mpnet-base-sst2-distilled") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
a84dfa6 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:66904111125d44c75a11b803b6969ecab1b153f6adc16a72d6f908efbf089dfa
size 3055
|