vimalk78 commited on
Commit
5651996
·
verified ·
1 Parent(s): 0b5ce8a

ui: trim intro + limitations — drop internal version chatter

Browse files
Files changed (1) hide show
  1. app.py +10 -15
app.py CHANGED
@@ -157,14 +157,9 @@ with gr.Blocks(title="YAML-BERT — missing-field suggester") as demo:
157
  f"""
158
  # YAML-BERT — Kubernetes missing-field suggester
159
 
160
- A small (7.8M-param) BERT-style encoder trained on 276K Kubernetes YAML manifests with
161
- **tree-aware positional encoding** and **hybrid bigram/trigram prediction targets**.
162
- This page runs the **v6.1 checkpoint** — same architecture as v5, with a 5-line bug
163
- fix to selective masking ([details](https://github.com/vimalk78/yaml-bert/blob/main/docs/evaluation-results.md#7-v61--lever-1-selective-masking)).
164
-
165
- **How it works:** the model walks each parent level in your YAML, inserts a fake
166
- `[MASK]` node, and reports the keys it expects to see there but that aren't present.
167
- Confidence reflects how strongly the model "expects" each missing field.
168
 
169
  Code: [github.com/vimalk78/yaml-bert](https://github.com/vimalk78/yaml-bert) ·
170
  {n_params:,} params
@@ -212,15 +207,15 @@ Code: [github.com/vimalk78/yaml-bert](https://github.com/vimalk78/yaml-bert) ·
212
  """
213
  ---
214
 
215
- ### What this model does well
216
- - Predicts standard Kubernetes structural fields (`spec`, `replicas`, `containers.image`, etc.)
217
- - Distinguishes kind-specific fields (`Deployment.replicas`, `Service.ports`)
218
- - Calibrated confidence: strong on common patterns, weaker on ambiguous positions
219
 
220
  ### Known limitations
221
- - **Status-side fields not yet predicted** (still being addressed in v6.2)
222
- - Novel CRD instances and very rare annotation keys may collapse to `[UNK]`
223
- - Trained on `substratusai/the-stack-yaml-k8s` (276K manifests from HF)
224
  """
225
  )
226
 
 
157
  f"""
158
  # YAML-BERT — Kubernetes missing-field suggester
159
 
160
+ Paste a Kubernetes YAML manifest below. The model walks each parent level,
161
+ identifies fields it expects to see there but that are absent, and ranks
162
+ the suggestions by confidence.
 
 
 
 
 
163
 
164
  Code: [github.com/vimalk78/yaml-bert](https://github.com/vimalk78/yaml-bert) ·
165
  {n_params:,} params
 
207
  """
208
  ---
209
 
210
+ ### What it does well
211
+ - Predicts standard Kubernetes structural fields
212
+ - Distinguishes kind-specific fields (`Deployment.replicas` vs `Service.ports`)
213
+ - Calibrated confidence: strong on common patterns, weaker in ambiguous positions
214
 
215
  ### Known limitations
216
+ - Status-side fields are not well predicted
217
+ - Novel CRD instances and rare annotation keys may not work
218
+ - Trained on `substratusai/the-stack-yaml-k8s`
219
  """
220
  )
221