Instructions to use qixun/tangsong_poem_classify with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use qixun/tangsong_poem_classify with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="qixun/tangsong_poem_classify")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("qixun/tangsong_poem_classify") model = AutoModelForSequenceClassification.from_pretrained("qixun/tangsong_poem_classify") - Notebooks
- Google Colab
- Kaggle
Ctrl+K