Skip to content

Commit 92291f3

Browse files
author
Zoon
committed
Update Readme
1 parent e13d9fd commit 92291f3

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,16 @@ print("Tokenized Text:", tokenized_text)
3636
# Tokenized Text: ['your', 'input', 'text', 'here']
3737
```
3838

39+
### Evaluate Performance
40+
41+
```bash
42+
from ratchada_utils.evaluator import simple_evaluator
43+
44+
result = pd.read_csv("./output/result-whisper-ratchada.csv")
45+
46+
summary = simple_evaluator(result["pred_text"], result["true_text"])
47+
```
48+
3949
## Requirements
4050

4151
1. Python 3.10 or higher

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def parse_requirements(filename):
2323

2424
setup(
2525
name="ratchada_utils",
26-
version="2.1.19",
26+
version="2.1.20",
2727
packages=find_packages(include=["ratchada_utils", "ratchada_utils.*"]),
2828
package_data={
2929
"ratchada_utils.processor": ["*.json", "*.py"],

0 commit comments

Comments
 (0)