Update README.md
Browse files
README.md
CHANGED
|
@@ -36,8 +36,6 @@ pip install torch transformers
|
|
| 36 |
python inference.py --task demo
|
| 37 |
```
|
| 38 |
|
| 39 |
-
That is it. No downloads, no configuration. Models are already in the repo.
|
| 40 |
-
|
| 41 |
---
|
| 42 |
|
| 43 |
## What you can do
|
|
@@ -145,9 +143,9 @@ def generate(self, temperature=0.85, top_k=40, max_len=6):
|
|
| 145 |
Sequences use sign IDs like T638, T177. To see actual glyphs:
|
| 146 |
|
| 147 |
1. Search for **indus-brahmi-font** and download it
|
| 148 |
-
2.
|
| 149 |
-
3.
|
| 150 |
-
4.
|
| 151 |
|
| 152 |
Without the font installed, glyphs show as boxes or question marks.
|
| 153 |
The sign IDs (T638, T177 etc.) always work regardless of font.
|
|
|
|
| 36 |
python inference.py --task demo
|
| 37 |
```
|
| 38 |
|
|
|
|
|
|
|
| 39 |
---
|
| 40 |
|
| 41 |
## What you can do
|
|
|
|
| 143 |
Sequences use sign IDs like T638, T177. To see actual glyphs:
|
| 144 |
|
| 145 |
1. Search for **indus-brahmi-font** and download it
|
| 146 |
+
2. The `glyphs` field in output shows the rendered glyph characters
|
| 147 |
+
3. Open `data/id_to_glyph.json` to see the full sign to character mapping
|
| 148 |
+
4. If want to see mapping with T, open `data/indus_tokenizer/indus_id_map.json`
|
| 149 |
|
| 150 |
Without the font installed, glyphs show as boxes or question marks.
|
| 151 |
The sign IDs (T638, T177 etc.) always work regardless of font.
|