How to use from the
Use from the
Transformers library
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("pingzhili/switch-base-32-finetuned-sst2")
model = AutoModelForSeq2SeqLM.from_pretrained("pingzhili/switch-base-32-finetuned-sst2", device_map="auto")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

The switch-base-32 model was fine-tuned on the SST2 dataset.

Validation accuracy: 95.75.

Prompt key in PromptSouce: "positive negative after".

Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support