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