Skip to content

Commit 5f1e4bf

Browse files
Update README.md
1 parent 4ea388b commit 5f1e4bf

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed
Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
1-
## Grievance classification:
1+
## NER:
22

33

44
### Purpose :
5-
Model to classify grievances into 3 buckets :
6-
- Label 0: 'Agri scheme'
7-
- Label 1: 'Other agri content'
8-
- Label 2: 'pest flow'
9-
- Label 3: 'seed flow'
5+
Model to detect
6+
- crops
7+
- pests
8+
- seed type
109

1110

1211
### Testing the model deployment :
1312
To run for testing just the Hugging Face deployment for grievence recognition, you can follow the following steps :
1413

1514
- Git clone the repo
16-
- Go to current folder location i.e. ``` cd /src/text_classification/flow_classification/local ```
15+
- Go to current folder location i.e. ``` cd /src/ner/agri_ner_akai/local ```
1716
- Create docker image file and test the api:
1817
```
1918
docker build -t testmodel .
2019
docker run -p 8000:8000 testmodel
21-
curl -X POST -H "Content-Type: application/json" -d '{"text": "Where is my money? "}' http://localhost:8000/
20+
curl -X POST -H "Content-Type: application/json" -d '{"text": "What are tomatoes and potaotes that are being attacked by aphids? "}' http://localhost:8000/
2221
```

0 commit comments

Comments
 (0)