Instructions to use NchuNLP/Agriculture-Classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NchuNLP/Agriculture-Classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="NchuNLP/Agriculture-Classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("NchuNLP/Agriculture-Classification") model = AutoModelForSequenceClassification.from_pretrained("NchuNLP/Agriculture-Classification") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,9 +2,7 @@
|
|
| 2 |
language: zh
|
| 3 |
widget:
|
| 4 |
- text: "水稻生長的適宜溫度是多少?"
|
| 5 |
-
example_title: "LABEL_1"
|
| 6 |
- text: "心臟病的病因?"
|
| 7 |
-
example_title: "LABEL_0"
|
| 8 |
|
| 9 |
---
|
| 10 |
# Agriculture-Classification
|
|
|
|
| 2 |
language: zh
|
| 3 |
widget:
|
| 4 |
- text: "水稻生長的適宜溫度是多少?"
|
|
|
|
| 5 |
- text: "心臟病的病因?"
|
|
|
|
| 6 |
|
| 7 |
---
|
| 8 |
# Agriculture-Classification
|