Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -44,14 +44,35 @@ Unlike modern large language models that operate on subword tokens (BPE, Sentenc
|
|
| 44 |
|
| 45 |
---
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
## What's in This Repository
|
| 48 |
|
| 49 |
| File | Description |
|
| 50 |
|---|---|
|
| 51 |
-
| `tulsidas_model.pth` | Trained PyTorch model
|
|
|
|
|
|
|
|
|
|
| 52 |
| `README.md` | This file |
|
| 53 |
|
| 54 |
-
> The training dataset
|
| 55 |
|
| 56 |
---
|
| 57 |
|
|
@@ -142,7 +163,9 @@ The gap between training loss (1.03) and validation loss (2.11) indicates the mo
|
|
| 142 |
|
| 143 |
## How to Use
|
| 144 |
|
| 145 |
-
|
|
|
|
|
|
|
| 146 |
|
| 147 |
```python
|
| 148 |
import torch
|
|
|
|
| 44 |
|
| 45 |
---
|
| 46 |
|
| 47 |
+
## Quick Start
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
# 1. Clone the repo
|
| 51 |
+
git clone https://huggingface.co/JayF14/MANAS
|
| 52 |
+
cd MANAS
|
| 53 |
+
|
| 54 |
+
# 2. Install dependencies
|
| 55 |
+
pip install -r requirements.txt
|
| 56 |
+
|
| 57 |
+
# 3. Run the interactive chat
|
| 58 |
+
python run.py
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
That's it. Type a prompt like `shri ram` or `श्री राम` and MANAS will generate text.
|
| 62 |
+
|
| 63 |
+
---
|
| 64 |
+
|
| 65 |
## What's in This Repository
|
| 66 |
|
| 67 |
| File | Description |
|
| 68 |
|---|---|
|
| 69 |
+
| `tulsidas_model.pth` | Trained PyTorch model weights (~52MB) |
|
| 70 |
+
| `vocab.json` | The exact 101-character vocabulary mapping used during training |
|
| 71 |
+
| `run.py` | Self-contained interactive inference script |
|
| 72 |
+
| `requirements.txt` | Python dependencies (`torch`, `indic-transliteration`) |
|
| 73 |
| `README.md` | This file |
|
| 74 |
|
| 75 |
+
> The raw training dataset is not included in this release.
|
| 76 |
|
| 77 |
---
|
| 78 |
|
|
|
|
| 163 |
|
| 164 |
## How to Use
|
| 165 |
|
| 166 |
+
The easiest way is `python run.py` — it handles everything automatically.
|
| 167 |
+
|
| 168 |
+
For custom integration, the vocabulary is in `vocab.json` so you do not need the original corpus:
|
| 169 |
|
| 170 |
```python
|
| 171 |
import torch
|