ui: trim intro + limitations — drop internal version chatter
Browse files
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 |
-
|
| 161 |
-
|
| 162 |
-
|
| 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
|
| 216 |
-
- Predicts standard Kubernetes structural fields
|
| 217 |
-
- Distinguishes kind-specific fields (`Deployment.replicas`
|
| 218 |
-
- Calibrated confidence: strong on common patterns, weaker
|
| 219 |
|
| 220 |
### Known limitations
|
| 221 |
-
-
|
| 222 |
-
- Novel CRD instances and
|
| 223 |
-
- Trained on `substratusai/the-stack-yaml-k8s`
|
| 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 |
|