Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -1,14 +1,35 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Telugu Text Tokenizer
|
2 |
+
|
3 |
+
A Gradio web interface for encoding and decoding Telugu text using a trained BPE tokenizer.
|
4 |
+
|
5 |
+
## Features
|
6 |
+
|
7 |
+
- Encode Telugu text to token IDs
|
8 |
+
- View compression statistics and token visualization
|
9 |
+
- Decode token IDs back to Telugu text
|
10 |
+
- Interactive and user-friendly interface
|
11 |
+
|
12 |
+
## Usage
|
13 |
+
|
14 |
+
1. **Encoding Text**
|
15 |
+
- Enter Telugu text in the encoder tab
|
16 |
+
- Click "Encode" to get token IDs and statistics
|
17 |
+
- View token segmentation with color visualization
|
18 |
+
|
19 |
+
2. **Decoding Text**
|
20 |
+
- Paste encoded token IDs in the decoder tab
|
21 |
+
- Click "Decode" to get back the original text
|
22 |
+
|
23 |
+
## Technical Details
|
24 |
+
|
25 |
+
- Uses Byte Pair Encoding (BPE) algorithm
|
26 |
+
- Vocabulary size: 4800 tokens
|
27 |
+
- Supports efficient compression of Telugu text
|
28 |
+
- Maintains perfect reconstruction
|
29 |
+
|
30 |
+
## Model Information
|
31 |
+
|
32 |
+
The tokenizer is trained on a diverse corpus of Telugu text with:
|
33 |
+
- Maximum vocabulary size: 5000 tokens
|
34 |
+
- Target compression ratio: ≥ 3.2x
|
35 |
+
- Perfect reconstruction guarantee
|