Skip to content

Commit 85f633f

Browse files
committed
fixed token counter
1 parent a1bba66 commit 85f633f

File tree

9 files changed

+3
-10
lines changed

9 files changed

+3
-10
lines changed

src/token_counter/README.md

Whitespace-only changes.

src/token_counter/openai/README.md

Whitespace-only changes.
File renamed without changes.

token_counter/openai/local/README.md renamed to src/token_counter/openai/local/README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
1-
## Grievance classification:
2-
3-
4-
### 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'
1+
## Token counter:
2+
Simple API to count tokens (GPT 3.5)
103

114

125
### Testing the model deployment :
136
To run for testing just the Hugging Face deployment for grievence recognition, you can follow the following steps :
147

158
- Git clone the repo
16-
- Go to current folder location i.e. ``` cd /src/text_classification/flow_classification/local ```
9+
- Go to current folder location i.e. ``` cd /src/token_counter/openai/local ```
1710
- Create docker image file and test the api:
1811
```
1912
docker build -t testmodel .
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)