AjayRangoji commited on
Commit
f9f18fc
·
verified ·
1 Parent(s): 9cca1cc

Upload PROJECT.md

Browse files
Files changed (1) hide show
  1. PROJECT.md +46 -0
PROJECT.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation-Guided Sandhi Splitting
2
+
3
+ ## Claim
4
+ English translations can choose between candidate sandhi splits well enough to train a
5
+ better splitter when gold splits are scarce.
6
+
7
+ ## Core idea
8
+ An existing splitter (ByT5-Sanskrit) proposes its top-k splits. A translation scorer checks
9
+ which candidate's words are accounted for by the English. The best-matching candidate is used
10
+ either as the test-time output (reranking) or as a pseudo-label for training (weak supervision).
11
+ Everything else in the original splitter stays unchanged.
12
+
13
+ ## What the paper must show
14
+ 1. The translation score ranks the gold split first more often than the splitter's own score (pilot).
15
+ 2. Reranking with the translation improves accuracy on verses that have translations.
16
+ 3. Translation-guided pseudo-labels beat self-training pseudo-labels, especially with little
17
+ gold data. **This is the main result.**
18
+
19
+ ## Conventions (enforce from the start)
20
+ - Internal transliteration: **IAST, NFC-normalised, lowercase**. Never mix schemes.
21
+ (Decided by what ByT5-Sanskrit was trained on - see LOG.md 2026-10-18.)
22
+ - Every script takes `--config` and `--seed`; outputs go to `outputs/<run_name>/`.
23
+ - Data files are jsonl, one verse per line:
24
+ `{"id", "sanskrit_raw", "sanskrit_gold" (optional), "english" (optional), "source"}`
25
+ - Test ids are frozen in `data/splits/` before any training and never regenerated.
26
+ - Log every run (config, seed, git commit, metrics) to `results/runs.csv` and `LOG.md`.
27
+
28
+ ## Leakage rules (NON-NEGOTIABLE)
29
+ - Remove every dev and test verse from the DCS training data AND from the Itihasa
30
+ pseudo-label pool.
31
+ - Remove near-duplicates at character similarity >= 0.95 against **both** the training data
32
+ and the pseudo-label pool.
33
+ - Start from the **pretrained-only** checkpoint `buddhist-nlp/byt5-sanskrit`, never the
34
+ segmentation-finetuned one. State in the paper that pretraining saw raw unsegmented DCS /
35
+ Sangraha text, which is not gold-split leakage.
36
+ - The lemmatiser used by the dictionary scorer must be retrained on the DCS train split with
37
+ dev/test removed. Do NOT use `chronbmm/sanskrit5-multitask` for lemmas: it was trained on
38
+ gold DCS annotations including our test verses.
39
+
40
+ ## Repo layout
41
+ configs/ data/{raw,processed,splits} src/{data,splitter,scorers} scripts/ outputs/ results/ notebooks/
42
+
43
+ ## GPU etiquette
44
+ Nodes: 10.0.139.113, 10.0.145.120, 10.0.155.166, 10.0.157.253 (10.0.144.104 is in use by others).
45
+ Before every launch: re-check `nvidia-smi --query-compute-apps`, claim only GPUs at 0 MiB with
46
+ no processes, pin with CUDA_VISIBLE_DEVICES, never crowd another user's job.