ba commited on
Commit
b8a6db6
·
verified ·
1 Parent(s): 8914d34

dizajn: banner, bedzevi, tabele

Browse files
Files changed (1) hide show
  1. README.md +30 -7
README.md CHANGED
@@ -14,12 +14,35 @@ tags:
14
  - bh-language-ai
15
  ---
16
 
17
- # bs-vision-train-v03 — sintetički bs trening set (2179 uzoraka, split po slici)
18
 
19
- Isto kao v02 (iste slike, seed 43), ali split je PO SLICI pa val ne curi u train (v02 je imao 161 sliku u oba splita).
20
- Generator: `scripts/make_synth_bs.py` u https://github.com/BH-Language-AI/bh-vision.
 
21
 
22
- - `data/synth3/train.jsonl` (1962) + `data/synth3/val.jsonl` (217), slike `data/synth3/img/` (1200 jpg, 32MB)
23
- - Tipovi: računi, fakture-tabele, obavještenja, izvodi (čćdžšđ, 30% rotacija); bar + line chartovi
24
- - Format: image-text-to-text chat JSONL. NIKAD miješati sa held-outom ni proxy evalom.
25
- - Za trening koristiti v03 (v01/v02 zastarjeli zbog curenja).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  - bh-language-ai
15
  ---
16
 
17
+ ![BH-Vision banner](https://raw.githubusercontent.com/BH-Language-AI/bh-vision/main/assets/banner-bh-vision.png)
18
 
19
+ [![License: CC-BY-4.0](https://img.shields.io/badge/License-CC_BY_4.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)
20
+ [![Lang: bs](https://img.shields.io/badge/lang-bs-blue.svg)](https://huggingface.co/datasets?language=bs)
21
+ [![Uzoraka: 2179](https://img.shields.io/badge/uzoraka-2179-green.svg)](https://github.com/BH-Language-AI/bh-vision)
22
 
23
+ # 📦 bs-vision-train-v03 — sintetički bs trening set (2179 uzoraka, split po slici)
24
+
25
+ Vlastiti generisani sadržaj (100% čista licenca, CC-BY-4.0). Generator: [`scripts/make_synth_bs.py`](https://github.com/BH-Language-AI/bh-vision/blob/main/scripts/make_synth_bs.py) (seed 43, `OUT=data/synth3 N_DOC=800 N_CHART=400`).
26
+
27
+ | Split | Uzoraka | Slika |
28
+ |---|---|---|
29
+ | `data/synth3/train.jsonl` | 1962 | 1080 |
30
+ | `data/synth3/val.jsonl` | 217 | 120 |
31
+ | Slike ukupno (`data/synth3/img/`, jpg, ~32MB) | — | 1200 |
32
+
33
+ Split je **po slici** (0 preklapanja train/val) — v01/v02 su zastarjeli zbog curenja.
34
+
35
+ ## Tipovi i pitanja
36
+
37
+ - 🧾 Računi: ukupan iznos, broj računa, broj stavki
38
+ - 🧾 Fakture-tabele: cijena artikla, broj stavki
39
+ - 📄 Obavještenja/potvrde/opomene/rješenja: naslov, ime građanina — sve sa čćdžšđ (30% lagana rotacija)
40
+ - 🧾 Izvodi: stanje računa
41
+ - 📊 Bar chartovi (max mjesec, vrijednost, razlika max-min) i line chartovi temperatura (min, vrijednost)
42
+
43
+ ## Format i pravila
44
+
45
+ - Image-text-to-text chat JSONL: `messages[{role, content:[{type:image},{type:text}]}]` + `images` (putanje relativne na root frameworka)
46
+ - Font DejaVu Sans; chartovi vlastiti podaci (matplotlib)
47
+ - ⛔ NIKAD miješati sa held-outom [`bs-vision-ocr-heldout-v01`](https://huggingface.co/datasets/BH-Language-AI/bs-vision-ocr-heldout-v01) niti proxy evalom (XM3600-hr, postocr-sr)
48
+ - Trening: [`configs/smo*-qlora.yaml`](https://github.com/BH-Language-AI/bh-vision/tree/main/configs), start SmolVLM2-2.2B