Text Classification
Transformers
Safetensors
distilbert
sentiment-analysis
smol-course
text-embeddings-inference
Instructions to use AIICLAB/my-first-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AIICLAB/my-first-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AIICLAB/my-first-model")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AIICLAB/my-first-model") model = AutoModelForSequenceClassification.from_pretrained("AIICLAB/my-first-model") - Notebooks
- Google Colab
- Kaggle
| library_name: transformers | |
| pipeline_tag: text-classification | |
| license: apache-2.0 | |
| tags: | |
| - sentiment-analysis | |
| - smol-course | |
| # My First Model (AIICLAB) | |
| 這是我在 Hugging Face 課程中上傳的第一個分析模型。 | |
| ## 如何使用 | |
| 你可以直接在右側的測試框輸入英文句子 |