Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,48 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
pipeline_tag: text-classification
|
| 5 |
+
library_name: transformers
|
| 6 |
+
tags:
|
| 7 |
+
- agriculture
|
| 8 |
+
- agronomy
|
| 9 |
+
- query-classification
|
| 10 |
+
- farming
|
| 11 |
+
- corn
|
| 12 |
+
- soybeans
|
| 13 |
+
- rag
|
| 14 |
+
- routing
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Cornbelt AI Agronomy Query Router (MiniLM)
|
| 18 |
+
|
| 19 |
+
## Overview
|
| 20 |
+
|
| 21 |
+
The **Cornbelt AI Agronomy Query Router** is a lightweight classification model designed to analyze farmer queries and determine how they should be processed by an agricultural AI assistant.
|
| 22 |
+
|
| 23 |
+
The model acts as a **routing layer** for a Retrieval-Augmented Generation (RAG) system by identifying:
|
| 24 |
+
|
| 25 |
+
- whether a query is agriculture-related
|
| 26 |
+
- which crop the query concerns
|
| 27 |
+
- agronomic topic categories
|
| 28 |
+
- whether additional context such as weather or location may be required
|
| 29 |
+
|
| 30 |
+
This allows an AI system to efficiently determine which knowledge sources and tools should be used to answer the question.
|
| 31 |
+
|
| 32 |
+
The model was trained using **MiniLM**, a compact transformer architecture optimized for fast inference.
|
| 33 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## Intended Use
|
| 37 |
+
|
| 38 |
+
This model is intended to support agronomy-focused AI systems by performing **query understanding and routing** before deeper reasoning or retrieval occurs.
|
| 39 |
+
|
| 40 |
+
Example use cases include:
|
| 41 |
+
|
| 42 |
+
- agronomy chat assistants
|
| 43 |
+
- agricultural decision support systems
|
| 44 |
+
- RAG pipelines for extension publications
|
| 45 |
+
- crop management advisory tools
|
| 46 |
+
- agronomy knowledge search systems
|
| 47 |
+
|
| 48 |
+
Typical pipeline usage:
|