Instructions to use lingxf1131/nlp-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lingxf1131/nlp-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="lingxf1131/nlp-sentiment")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("lingxf1131/nlp-sentiment") model = AutoModelForSequenceClassification.from_pretrained("lingxf1131/nlp-sentiment") - Notebooks
- Google Colab
- Kaggle
这是一个教学模型,详细内容后面补上
- Downloads last month
- 5