Text Classification
Transformers
English
prompting
zero-shot
few-shot
football
sentiment
adaptive-retrieval
Instructions to use kevinkyi/Homework2_Multishot_Prompting with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kevinkyi/Homework2_Multishot_Prompting with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="kevinkyi/Homework2_Multishot_Prompting")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("kevinkyi/Homework2_Multishot_Prompting", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Add Method Card
Browse files
README.md
CHANGED
|
@@ -15,7 +15,9 @@ language:
|
|
| 15 |
datasets:
|
| 16 |
- james-kramer/football_news
|
| 17 |
inference: false
|
| 18 |
-
---
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## TL;DR
|
| 21 |
We compare zero-shot, adaptive one-shot, and adaptive 5-shot prompting for binary sentiment on football news.
|
|
|
|
| 15 |
datasets:
|
| 16 |
- james-kramer/football_news
|
| 17 |
inference: false
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
# Method Card — Football Sentiment Prompting (0/1/5-shot)
|
| 21 |
|
| 22 |
## TL;DR
|
| 23 |
We compare zero-shot, adaptive one-shot, and adaptive 5-shot prompting for binary sentiment on football news.
|