emmafar commited on
Commit
18a45b2
·
verified ·
1 Parent(s): 21912df

org card: README.md

Browse files
Files changed (1) hide show
  1. README.md +226 -5
README.md CHANGED
@@ -1,10 +1,231 @@
1
  ---
2
- title: README
3
- emoji: 📊
4
- colorFrom: yellow
5
- colorTo: red
6
  sdk: static
7
  pinned: false
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: icdevelop
3
+ emoji: 🧬
4
+ colorFrom: indigo
5
+ colorTo: blue
6
  sdk: static
7
  pinned: false
8
  ---
9
 
10
+ <style>
11
+ .ic-wrap { max-width: 1100px; }
12
+ .ic-lead { font-size: 1.08rem; line-height: 1.65; }
13
+ .ic-grid { display: grid; gap: 16px; margin: 20px 0; }
14
+ .ic-g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
15
+ .ic-g4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
16
+ .ic-card {
17
+ border: 1px solid rgba(128,128,128,.28);
18
+ border-radius: 12px;
19
+ padding: 18px 20px;
20
+ background: rgba(128,128,128,.05);
21
+ }
22
+ .ic-card h3 { margin: 0 0 6px 0; font-size: 1.05rem; font-weight: 700; }
23
+ .ic-card p { margin: 0 0 10px 0; font-size: .93rem; line-height: 1.55; opacity: .88; }
24
+ .ic-kicker { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
25
+ color: #4F86F7; font-weight: 700; margin: 0 0 8px 0; }
26
+ .ic-stat { border-left: 3px solid #4F86F7; padding: 4px 0 4px 14px; }
27
+ .ic-stat .n { display: block; font-size: 1.55rem; font-weight: 700; line-height: 1.2; }
28
+ .ic-stat .l { display: block; font-size: .78rem; opacity: .72; }
29
+ .ic-links a { margin-right: 14px; font-size: .9rem; white-space: nowrap; }
30
+ .ic-note { border-left: 3px solid #C2410C; padding: 2px 0 2px 14px; font-size: .92rem; opacity: .9; }
31
+ </style>
32
+
33
+ <div class="ic-wrap">
34
+
35
+ <img src="banner.png" alt="icdevelop — Domain-Specific LLMs for Thai Professionals" />
36
+
37
+ <p class="ic-lead">
38
+ We build <b>open-weight Thai language models for regulated professional work</b> — models that a
39
+ pharmacist, a nurse or a field engineer can actually put in front of a task, not general chatbots
40
+ with a Thai accent. Every release ships with the benchmark it was gated on, the limits we measured,
41
+ and an acknowledgement form the user has to read first.
42
+ </p>
43
+
44
+ <div class="ic-grid ic-g4">
45
+ <div class="ic-stat"><span class="n">6</span><span class="l">open-weight models released</span></div>
46
+ <div class="ic-stat"><span class="n">2</span><span class="l">curated Thai knowledge bases</span></div>
47
+ <div class="ic-stat"><span class="n">90.0%</span><span class="l">knowledge + RAG · TMA-1 27B FP8</span></div>
48
+ <div class="ic-stat"><span class="n">98.3%</span><span class="l">safety / referral · TMA-1 27B</span></div>
49
+ </div>
50
+
51
+ <p class="ic-links">
52
+ <a href="https://huggingface.co/collections/icdevelop/thai-medical-assistant-6a695b2455f4aadc5f68fa7e"><b>Thai Medical Assistant →</b></a>
53
+ <a href="https://huggingface.co/collections/icdevelop/thai-pharmacy-assistant-6a5c815879e683e9ae9c697a"><b>Thai Pharmacy Assistant →</b></a>
54
+ <a href="https://www.i-c-develop.com">i-c-develop.com</a>
55
+ <a href="https://www.facebook.com/ICDevelop">Facebook</a>
56
+ </p>
57
+
58
+ <hr>
59
+
60
+ <p class="ic-kicker">Model lines</p>
61
+
62
+ <div class="ic-grid ic-g2">
63
+ <div class="ic-card">
64
+ <h3>TMA-1 · Thai Medical Assistant</h3>
65
+ <p>Thai consumer-health assistant: takes a short history, rules out options that are unsafe for
66
+ that person <i>with reasons</i>, refers on red flags, and refuses to diagnose. Multimodal —
67
+ medicine boxes, labels and home-device readouts, not radiology. Built to run with RAG over a
68
+ curated Thai medical knowledge base.</p>
69
+ <p><a href="https://huggingface.co/icdevelop/tma1-medgemma-27b-fp8">27B FP8</a> ·
70
+ <a href="https://huggingface.co/icdevelop/tma1-medgemma-27b">27B</a> ·
71
+ <a href="https://huggingface.co/icdevelop/tma1-medgemma-4b">4B</a> ·
72
+ <a href="https://huggingface.co/datasets/icdevelop/thai-medical-kb">thai-medical-kb</a></p>
73
+ </div>
74
+ <div class="ic-card">
75
+ <h3>PAI-1 · Thai Pharmacy Assistant</h3>
76
+ <p>In production at the pharmacy counter. Handles over-the-counter requests in Thai: history,
77
+ contraindication and interaction checks, one safe recommendation with dose and cautions,
78
+ referral to a physician on red flags. Reasons like a clinician internally, presents as a
79
+ pharmacy assistant externally — never as a doctor.</p>
80
+ <p><a href="https://huggingface.co/icdevelop/pai1-medgemma-27b-fp8">27B FP8</a> ·
81
+ <a href="https://huggingface.co/icdevelop/pai1-medgemma-27b">27B</a> ·
82
+ <a href="https://huggingface.co/icdevelop/pai1-medgemma-4b">4B</a> ·
83
+ <a href="https://huggingface.co/datasets/icdevelop/thai-pharma-kb">thai-pharma-kb</a></p>
84
+ </div>
85
+ </div>
86
+
87
+ </div>
88
+
89
+ ## Released models
90
+
91
+ All builds are fine-tuned from Google **MedGemma** (Health AI Developer Foundations terms) and are
92
+ **multimodal** (image + text). Weights are public behind an acknowledgement gate.
93
+
94
+ | Repo | Base | Serving footprint | Intended tier |
95
+ |---|---|---|---|
96
+ | [`tma1-medgemma-27b-fp8`](https://huggingface.co/icdevelop/tma1-medgemma-27b-fp8) | medgemma-27b-it | 28 GB · single 48 GB GPU | **recommended serving build** |
97
+ | [`tma1-medgemma-27b`](https://huggingface.co/icdevelop/tma1-medgemma-27b) | medgemma-27b-it | 52 GB BF16 | reference / evaluation |
98
+ | [`tma1-medgemma-4b`](https://huggingface.co/icdevelop/tma1-medgemma-4b) | medgemma-4b-it | 8 GB BF16 | standard tier, RAG required |
99
+ | [`pai1-medgemma-27b-fp8`](https://huggingface.co/icdevelop/pai1-medgemma-27b-fp8) | medgemma-27b-it | 28 GB | premium, quantized |
100
+ | [`pai1-medgemma-27b`](https://huggingface.co/icdevelop/pai1-medgemma-27b) | medgemma-27b-it | 52 GB BF16 | premium tier |
101
+ | [`pai1-medgemma-4b`](https://huggingface.co/icdevelop/pai1-medgemma-4b) | medgemma-4b-it | 8 GB BF16 | standard tier, RAG required |
102
+
103
+ FP8 is selective by design: language-model `Linear` layers are quantized, while the **vision tower
104
+ and projector stay BF16**, so image understanding is untouched.
105
+
106
+ ## How we evaluate
107
+
108
+ We do not ship a model on vibes. Each release is scored on four axes with a fixed harness
109
+ (vLLM, seed 0, `enforce-eager`; pass = LLM judge **plus** deterministic hard checks), and every
110
+ training set is decontaminated against the benchmarks (token overlap ≥ 0.55).
111
+
112
+ | Axis | Cases | TMA-1 4B | TMA-1 27B | TMA-1 27B FP8 |
113
+ |---|---|---|---|---|
114
+ | Knowledge (no retrieval) | 200 | 45.0% | **61.5%** | 58.5% |
115
+ | Knowledge + RAG *(production setting)* | 200 | 83.5% | 89.5% | **90.0%** |
116
+ | Deliberation *(safe choice for this user's profile)* | 120 | 39.2% | 45.0% | **48.3%** |
117
+ | Safety / referral *(red flags · no diagnosis · Rx boundary · crisis)* | 120 | 96.7% | **98.3%** | **98.3%** |
118
+
119
+ Two axes are deliberately hard: deliberation asks the model to reject the plausible-but-unsafe
120
+ option for a specific person, and the safety axis mixes red-flag triage, prescription boundaries
121
+ and crisis handling. **We publish the gaps as openly as the wins** — drug–drug interaction accuracy
122
+ is still weak across all tiers, and the 4B tier saturates on deliberation. Both are named on the
123
+ model cards.
124
+
125
+ ## How we build
126
+
127
+ <div class="ic-wrap">
128
+ <div class="ic-grid ic-g2">
129
+ <div class="ic-card">
130
+ <p class="ic-kicker">01 · Knowledge base first</p>
131
+ <p>Domain data is curated and verified before a single training step — Thai drug and clinical
132
+ references, device fact sheets, professional practice — then published as its own dataset so the
133
+ model and the retrieval layer share one source of truth.</p>
134
+ </div>
135
+ <div class="ic-card">
136
+ <p class="ic-kicker">02 · Behaviour, not recitation</p>
137
+ <p>Training dialogues teach a working procedure: take history → rule out unsafe options with
138
+ reasons → recommend → refer. This deliberation methodology is the single largest quality lever
139
+ we have measured (+26 points on the PAI line).</p>
140
+ </div>
141
+ <div class="ic-card">
142
+ <p class="ic-kicker">03 · Gated by benchmark</p>
143
+ <p>Every generated set passes a behaviour verifier and benchmark decontamination; every
144
+ checkpoint passes a generation smoke test and the four-axis benchmark before it is allowed
145
+ anywhere near a release.</p>
146
+ </div>
147
+ <div class="ic-card">
148
+ <p class="ic-kicker">04 · Released with its limits</p>
149
+ <p>Public weights, an acknowledgement gate, and a card that states scope, out-of-scope
150
+ behaviour, measured weaknesses and knowledge cutoff — so nobody deploys the model on a task we
151
+ know it fails.</p>
152
+ </div>
153
+ </div>
154
+ </div>
155
+
156
+ ## Responsible use
157
+
158
+ <div class="ic-wrap">
159
+ <p class="ic-note">
160
+ These models assist qualified people; they do not replace them. Every output must be verified
161
+ against an authoritative source or a licensed professional before it is acted on or passed to a
162
+ patient or customer. They are not diagnostic or treatment tools, and they must not be presented as
163
+ a physician — under Thai law that is a hard boundary, and it is trained into the models.
164
+ <b>In an emergency, do not wait for a model reply: call 1669 (Thai EMS); mental-health crisis: 1323.</b>
165
+ Knowledge-base cutoff is July 2026; drug registrations and products change.
166
+ </p>
167
+ </div>
168
+
169
+ Access is gated with an acknowledgement form for exactly this reason — you accept the verification
170
+ requirement before you download. Base-model terms (Google HAI-DEF) apply on top of ours.
171
+
172
+ ---
173
+
174
+ <div class="ic-wrap">
175
+ <p class="ic-kicker">ภาษาไทย</p>
176
+
177
+ <p class="ic-lead">
178
+ <b>icdevelop</b> พัฒนา LLM ภาษาไทยแบบ <b>เฉพาะทางวิชาชีพ</b> และเปิดน้ำหนักโมเดลให้ใช้งานจริง —
179
+ ไม่ใช่แชตบอตทั่วไปที่พูดไทยได้ แต่เป็นผู้ช่วยที่เภสัชกร พยาบาล หรือช่างหน้างาน หยิบไปวางไว้ในงานจริงได้
180
+ ทุกรุ่นที่ปล่อยออกมา มาพร้อมผลเบนช์มาร์กที่ใช้ตัดสินใจ ข้อจำกัดที่วัดได้จริง และแบบฟอร์มรับทราบเงื่อนไข
181
+ ที่ผู้ใช้ต้องอ่านก่อนดาวน์โหลด
182
+ </p>
183
+
184
+ <div class="ic-grid ic-g2">
185
+ <div class="ic-card">
186
+ <h3>TMA-1 — ผู้ช่วยด้านสุขภาพภาษาไทย</h3>
187
+ <p>ซักประวัติสั้น ๆ คัดตัวเลือกที่ไม่ปลอดภัยกับผู้ใช้คนนั้นออกพร้อมเหตุผล ส่งต่อแพทย์เมื่อเจอสัญญาณอันตราย
188
+ และไม่วินิจฉัยโรค รองรับภาพกล่องยา ฉลาก และหน้าจอเครื่องมือแพทย์ที่บ้าน ออกแบบมาให้ใช้คู่กับ RAG
189
+ บนคลังความรู้ทางการแพทย์ภาษาไทยของเราเอง</p>
190
+ </div>
191
+ <div class="ic-card">
192
+ <h3>PAI-1 — ผู้ช่วยเภสัชกร (ใช้งานจริงแล้ว)</h3>
193
+ <p>รับเคสหน้าร้านยา: ซักประวัติ ตรวจข้อห้ามใช้และปฏิกิริยาระหว่างยา แนะนำยา OTC ที่เหมาะสมพร้อมขนาดยา
194
+ และข้อควรระวัง และส่งต่อแพทย์เมื่อพบ red flag — คิดอย่างบุคลากรทางคลินิก แต่แสดงตัวเป็นผู้ช่วยเภสัชกรเสมอ
195
+ ไม่แสดงตัวเป็นแพทย์</p>
196
+ </div>
197
+ </div>
198
+
199
+ <p class="ic-note">
200
+ <b>ข้อควรระวัง:</b> โมเดลเหล่านี้ช่วยผู้เชี่ยวชาญ ไม่ได้แทนผู้เชี่ยวชาญ ทุกคำตอบต้องตรวจสอบกับแหล่งอ้างอิง
201
+ ที่เชื่อถือได้หรือผู้ประกอบวิชาชีพก่อนนำไปใช้หรือส่งต่อผู้ป่วย/ลูกค้าเสมอ ไม่ใช่เครื่องมือวินิจฉัยหรือสั่งการรักษา
202
+ <b>กรณีฉุกเฉินอย่ารอคำตอบจากโมเดล โทร 1669 (การแพทย์ฉุกเฉิน) · วิกฤตสุขภาพจิต โทร 1323</b>
203
+ ข้อมูลในคลังความรู้ตัดยอด ณ กรกฎาคม 2026 ทะเบียนยาและผลิตภัณฑ์มีการเปลี่ยนแปลงได้
204
+ </p>
205
+
206
+ <hr>
207
+
208
+ <p class="ic-kicker">About I C Develop</p>
209
+
210
+ <p class="ic-lead">
211
+ I C Develop Co., Ltd. is a Thai software house with more than a decade of delivering enterprise
212
+ systems — IT outsourcing, turnkey projects and startup engineering — now applying the same
213
+ discipline to domain-specific AI. Our models are trained on our own GPU infrastructure in Thailand,
214
+ and can be deployed fully on-premise, which for medical and regulated workloads is usually the
215
+ requirement, not the preference.<br><br>
216
+ <b>Next domains in research:</b> field engineering assistants (starting with solar PV installation)
217
+ — same recipe: curate the professional knowledge first, train the working procedure, gate on a
218
+ benchmark that reflects the real task.
219
+ </p>
220
+
221
+ <p class="ic-links">
222
+ <a href="https://www.i-c-develop.com"><b>i-c-develop.com</b></a>
223
+ <a href="https://www.facebook.com/ICDevelop">Facebook</a>
224
+ <a href="https://www.i-c-develop.com">Contact · +662-162-0801</a>
225
+ </p>
226
+
227
+ <p style="font-size:.82rem;opacity:.65;">
228
+ Questions about a specific model? Open a discussion on that model's repo — that is where we answer.
229
+ </p>
230
+
231
+ </div>