|
|
---
|
|
|
tags:
|
|
|
- agriculture
|
|
|
- bert
|
|
|
- philippine-agriculture
|
|
|
- crop-disease
|
|
|
- recommendation
|
|
|
- agrisagot
|
|
|
language:
|
|
|
- en
|
|
|
license: mit
|
|
|
---
|
|
|
|
|
|
# AgriSagot BERT - Philippine Agricultural Recommender
|
|
|
|
|
|
This model is fine-tuned on Philippine agricultural data for crop disease and pesticide recommendations, specifically designed for the AgriSagot application.
|
|
|
|
|
|
## Model Description
|
|
|
|
|
|
- **Base Model**: BERT-base-uncased
|
|
|
- **Training Data**: Philippine registered agricultural products (as of August 2025)
|
|
|
- **Use Case**: Agricultural product recommendations based on crop and disease
|
|
|
- **Language**: English
|
|
|
- **Country**: Philippines
|
|
|
- **Application**: AgriSagot - Smart Agricultural Advisory System
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
```python
|
|
|
from transformers import AutoModel, AutoTokenizer
|
|
|
|
|
|
model = AutoModel.from_pretrained("Hayme/agrisago-bert")
|
|
|
tokenizer = AutoTokenizer.from_pretrained("Hayme/agrisago-bert")
|
|
|
|
|
|
# Use for generating embeddings
|
|
|
inputs = tokenizer("rice blast treatment", return_tensors="pt")
|
|
|
outputs = model(**inputs)
|
|
|
embeddings = outputs.last_hidden_state.mean(dim=1)
|
|
|
```
|
|
|
|
|
|
## API Usage
|
|
|
|
|
|
```javascript
|
|
|
// In your AgriSagot API
|
|
|
const response = await hf.featureExtraction({
|
|
|
model: 'Hayme/agrisago-bert',
|
|
|
inputs: 'rice brown planthopper treatment'
|
|
|
});
|
|
|
```
|
|
|
|
|
|
## Training Data
|
|
|
|
|
|
Trained on the official "UPDATED LIST OF REGISTERED PRODUCTS As of August 31, 2025" from Philippine regulatory authorities, containing comprehensive information about:
|
|
|
|
|
|
- Agricultural pesticides
|
|
|
- Fertilizers
|
|
|
- Plant growth regulators
|
|
|
- Crop protection products
|
|
|
- Target crops and pests/diseases
|
|
|
- Active ingredients and formulations
|
|
|
|
|
|
## Intended Use
|
|
|
|
|
|
- Crop disease identification and treatment recommendations
|
|
|
- Agricultural product recommendations for Philippine farmers
|
|
|
- Pesticide matching for specific crop-disease combinations
|
|
|
- Integration with AgriSagot mobile and web applications
|
|
|
- Philippine agricultural advisory and extension services
|
|
|
|
|
|
## Performance
|
|
|
|
|
|
This model understands Philippine-specific agricultural contexts including:
|
|
|
- Local crop varieties (rice, corn, tomato, etc.)
|
|
|
- Common Philippine pests and diseases
|
|
|
- Available agricultural products in the Philippine market
|
|
|
- Regulatory-approved treatment options
|
|
|
|
|
|
## Limitations
|
|
|
|
|
|
- Trained specifically on Philippine agricultural data
|
|
|
- Recommendations should be verified with local agricultural experts
|
|
|
- Not suitable for other countries' agricultural systems without adaptation
|
|
|
|
|
|
## Citation
|
|
|
|
|
|
If you use this model, please cite:
|
|
|
```
|
|
|
AgriSagot BERT Model (2025)
|
|
|
Trained on Philippine Agricultural Product Database
|
|
|
Available at: https://huggingface.co/Hayme/agrisago-bert
|
|
|
```
|
|
|
|