lpm_shift_wing v1.0.0: card, safetensors/ONNX copies
Browse filesFiles changed (6)
- README.mdAdded+169
- config.jsonAdded+21
- example.jsonAdded+21
- model.safetensorsAdded+3
- model_card.jsonAdded+267
- weights.ptAdded+3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169---license: apache-2.0library_name: pinneapplepipeline_tag: tabular-regressioninference: falsetags:- pinneapple- physics- surrogate-model- pytorch- safetensors- experimental- lpm- aerodinâmica-externa-subsônicadatasets:- PINNeAPPle-Labs/lpm-shift-wing-heldout---
# lpm_shift_wing
CRM da NASA no SHIFT-Wing: Cp de superfície em oitenta e dois variantes resolvidos fora daqui. A Large Physics Model over the design space: the geometry and the operating point in, the field on the body's surface out (cp on 2048 to 2048 points per design). Domain: aerodinâmica externa subsônica/transônica, dataset SHIFT-Wing (Luminary Cloud).
`lpm_shift_wing` v1.0.0 (revision `v1.0.0`) · part of the [PINNeAPPle](https://github.com/PINNeAPPle-Labs/PINNeAPPle) zoo · training data [PINNeAPPle-Labs/lpm-shift-wing-heldout](https://huggingface.co/datasets/PINNeAPPle-Labs/lpm-shift-wing-heldout)
**Try it without installing anything:** [PINNeAPPle zoo demo](https://huggingface.co/spaces/PINNeAPPle-Labs/zoo-demo) (pick `lpm_shift_wing`: its predictions along each input with their band and where its physics checks warn or fail, and your own inputs evaluated in the browser).
**Task:** CRM da NASA no SHIFT-Wing: Cp de superfície em oitenta e dois variantes resolvidos fora daqui
## Inputs
| Name | Unit | Description ||---|---|---|| `alpha_deg` | - | design parameter of the family (bounds in validity_range) || `mach` | - | design parameter of the family (bounds in validity_range) || `reynolds_mac_million` | - | design parameter of the family (bounds in validity_range) || `ar` | - | design parameter of the family (bounds in validity_range) || `sweep_c4_deg` | - | design parameter of the family (bounds in validity_range) || `span_over_mac` | - | design parameter of the family (bounds in validity_range) |
## Outputs
| Name | Unit | Description ||---|---|---|| `cp` | - | the family's reference field on the body's surface points |
## Validity range
- `alpha_deg`: [0.0177, 3.9902]- `mach`: [0.5, 0.5]- `reynolds_mac_million`: [25.9912, 35.8348]- `ar`: [7.5065, 10.9933]- `sweep_c4_deg`: [25.0548, 37.473]- `span_over_mac`: [5.89284, 9.80992]- `regime`: inside the family's declared geometry and operating bounds
## Known limitations
- gate accuracy: failed -- relative L2 against the reference on the held-out points- the reference itself: solver — SHIFT-Wing (Luminary Cloud): CRM da NASA, RANS, M = 0,5, with the assumptions it lists- agreement with a solver or with measured data for any geometry of this family- whether the ensemble spread is calibrated: it is the spread between bootstrap heads- behaviour outside the declared geometry and operating bounds of the family- the gate accuracy: failed- the gate boundary: not run- the gate residual: not run- the metrics shipped with this release are recomputed on a 14-design sample of the held-out set; the campaign's full-set number is under campaign/held_out_relative_l2 (14 designs)
## Architecture- `LargePhysicsModel` — `{"dim": 3, "n_fields": 1, "n_params": 6, "radii": [0.1, 0.4, 1.2], "n_freq": 6, "width": 128, "code": 32, "n_heads": 4, "backbone": "attention", "attn_heads": 4, "attn_layers": 2}`
## Physics- \nabla\cdot\left(\rho\mathbf{u}\right)=0,\quad \nabla\cdot\left(\rho\mathbf{u}\otimes\mathbf{u}\right)=-\nabla p+\nabla\cdot\left[\left(\mu+\mu_t\right)\left(\nabla\mathbf{u}+\nabla\mathbf{u}^{T}-\frac{2}{3}\nabla\cdot\mathbf{u}\,\mathbf{I}\right)\right],\quad C_p=\frac{p-p_\infty}{\frac{1}{2}\rho_\infty U_\infty^{2}}
## ValidationReference: SHIFT-Wing (Luminary Cloud): CRM da NASA, RANS, M = 0,5 -- Luminary Cloud, SHIFT-Wing: High-Fidelity Computational Fluid Dynamics Dataset for Transonic Wing External Aerodynamics, 2025 — https://huggingface.co/datasets/luminary-shift/Wing (amostra: 82 casos); geometria de base: NASA Common Research Model (CRM), high-speed CRM, https://commonresearchmodel.larc.nasa.gov/. Assumptions: os oitenta e dois casos são a amostra publicada do SHIFT-Wing, não o repositório completo: o número medido vale para estes corpos, e um modelo treinado neles não viu o resto do espaço de projeto; todos os casos são M = 0,5 e variam em ângulo de ataque (0,02 a 3,99 graus) e em seis parâmetros de asa e fuselagem; o Mach entra na condição como constante; o alvo é o Cp de superfície que o solver deles escreveu na malha adaptada final, amostrado uniformemente em área: a densidade da amostra é a do corpo, não a da malha adaptada, que é mais fina onde o escoamento interessa; a divisão treino/validação/held-out é nossa (um caso em cada seis, sistemático) porque a Luminary não publica uma para a amostra; ela é por geometria; a licença é cc-by-nc-4.0: o modelo ajustado aqui é evidência de que o pipeline funciona, e nunca um produto — ver pinneapple_neural.lpm_stages.shift
| Metric | Value ||---|---|| heldout/relative_l2 | 0.3474333944082873 || heldout/relative_l2_p90 | 0.4584903844642426 || heldout/absolute_error_p90 | 0.11121799647808076 || heldout/constant_field_baseline_relative_l2 | 0.9103302038442977 || heldout/n_designs | 14.0 || campaign/held_out_relative_l2 | 0.34743339256873906 || campaign/held_out_relative_l2_p90 | 0.344646606055152 || campaign/constant_field_baseline_relative_l2 | 0.9105652739756732 || campaign/n_designs | 14.0 |
## Cost- trainable_parameters: 344676- train_seconds: 4240.886- device: cpu
## TrustDecision: **REJECT** · score 0.33 · coverage 100%
- held-out heldout/relative_l2 within the zoo acceptance limit: falhou (crítica)- worst of the 14 stored held-out designs: 0.5698 against the family's tolerance 0.15: falhou- score 0.33 abaixo do mínimo de 0.80
Published despite REJECT: experimental tier: shipped as a reproducible base (weights, card, held-out sample, fine-tune hook) with the family's own verdict REJECT and the measured held-out error on the card; not a verified model and not to be used as one without independent review
## Training data
- family: pp_shift_wing- dataset: lpm_shift_wing_heldout- campaign: /Users/yanbarros/lpm-campaign- split: {'policy': 'the published split of the dataset: a held-out body was held out before training', 'seed': 0, 'holdout_fraction': 0.25, 'n_train_designs': 67, 'n_holdout_designs': 14, 'among_refined': [], 'n_train_geometries': 67, 'n_holdout_geometries': 14, 'locked_fraction': 0.0, 'n_locked_designs': 0, 'locked_policy': 'no locked split: the whole held-out is a validation set, and is read by the refinement round'}- full_dataset: {'schema': 'pinneapple.lpm.dataset/1', 'seed': 0, 'n_designs': 81, 'n_geometries': 81, 'conditions_per_geometry': 1}- sample: {'n_designs': 14, 'n_points': 28672, 'n_parameters': 6, 'n_neighbourhood_features': 21, 'dtypes': {'params': 'float64[6]', 'conditioning': 'float32[6]', 'points': 'float32[3]', 'normals': 'float32[3]', 'target': 'float32[1]', 'local': 'float32[21]', 'offsets': 'int64'}}
License: apache-2.0
## Citation```Luminary Cloud, SHIFT-Wing: High-Fidelity Computational Fluid Dynamics Dataset for Transonic Wing External Aerodynamics, 2025 — https://huggingface.co/datasets/luminary-shift/Wing (amostra: 82 casos); geometria de base: NASA Common Research Model (CRM), high-speed CRM, https://commonresearchmodel.larc.nasa.gov/```
## How to use
```bashpip install "pinneapple @ git+https://github.com/PINNeAPPle-Labs/PINNeAPPle"```
```pythonimport pinneapple as pp
model = pp.zoo.load("lpm_shift_wing") # weights checked against their SHA-256inputs = {"alpha_deg": 10.3791, "mach": 31.9514, "reynolds_mac_million": 9.39171, "ar": 1.2856, "sweep_c4_deg": 0.5, "span_over_mac": 26.3792}out = model.predict(inputs) # warns for inputs outside the validity rangeprint({k: round(float(v[0]), 6) for k, v in out.items()})# {}print(bool(model.in_range(inputs)[0])) # inside the validity range# Falseprint(pp.zoo.validate(model).decisao) # card metrics reproduced + physics checks# REJECT```
The inputs are the first held-out test case of the training dataset; its reference value is cp = -0.118561. `pp.zoo.evaluate("lpm_shift_wing")` recomputes every metric of the card on the stored reference.
## Hosted inference
No Hugging Face inference provider can run this model, so the Hub widget is off (`inference: false`). It is a small PyTorch network, but its prediction is more than a forward pass: the inputs are encoded and normalised, the outputs denormalised (and, for ensembles, averaged with their spread), and every query is checked against the validity range and the model's physics checks. The `pinneapple` library does all of that (below); the ONNX graph carries the pre- and post-processing but not the checks; the [zoo demo Space](https://huggingface.co/spaces/PINNeAPPle-Labs/zoo-demo) shows the model along a sweep of each input and runs it, with its checks, in your browser.
## Files
| File | Content | SHA-256 ||---|---|---|| `weights.pt` | PyTorch `state_dict` (`torch.load(weights_only=True)`), what `pp.zoo.load` reads | `cfc0ae9f2caaeb7fc60283732bd4ca9388ba5e53df8de1dd7b986d2b2689fbd4` || `config.json` | architecture and normalisation | `5652d1c242f831959891f5c9a7fe13d8969cb05d4f83014579a7e7c65c1370fd` || `model_card.json` | the model card: inputs, outputs, validity range, metrics, trust report | `9d6bbccb9b30f9392808c6df895737f72e97f60207fb4efac6a58201fa80d8e9` || `model.safetensors` | the same tensors as `weights.pt` in safetensors format (`pinneapple_hub.zoo.export.load_safetensors` loads them) | derived || `example.json` | the "How to use" case: inputs, outputs, reference, verdicts | derived |
The SHA-256 are those of the package's manifest: `pp.zoo.load` refuses any other file.
## Cite
If you use this model, please cite PINNeAPPle (software, Zenodo DOI [10.5281/zenodo.23343062](https://doi.org/10.5281/zenodo.23343062); see [CITATION.cff](https://github.com/PINNeAPPle-Labs/PINNeAPPle/blob/main/CITATION.cff)):
```bibtex@software{pinneapple, author = {Barros, Yan and Schiassi, Enrico}, title = {PINNeAPPle}, doi = {10.5281/zenodo.23343062}, url = {https://github.com/PINNeAPPle-Labs/PINNeAPPle}}```123456789101112131415161718192021{ "adapter": "lpm_family", "family": "pp_shift_wing", "model": { "dim": 3, "n_fields": 1, "n_params": 6, "radii": [ 0.1, 0.4, 1.2 ], "n_freq": 6, "width": 128, "code": 32, "n_heads": 4, "backbone": "attention", "attn_heads": 4, "attn_layers": 2 }}123456789101112131415161718192021{ "model": "lpm_shift_wing", "version": "1.0.0", "inputs": { "alpha_deg": 10.3791, "mach": 31.9514, "reynolds_mac_million": 9.39171, "ar": 1.2856, "sweep_c4_deg": 0.5, "span_over_mac": 26.3792 }, "in_range": false, "outputs": {}, "field_summary": "mean over the design's surface points", "reference": { "cp": -0.1185605661285365 }, "query_verdict": null, "trust_decision": "REJECT", "note": "this design cannot be rebuilt from its parameters alone (pp_shift_wing: the design is outside the reference's range (caso -1 fora do dataset (ele guarda 81))); the reference field's own mean is quoted instead, and pp.zoo.evaluate still recomputes the metrics on the stored sample"}123version https://git-lfs.github.com/spec/v1oid sha256:ae94e69a8cdddbff6310fcb9f521becfca0ffd9b7ed250045098f87583a7d863size 1405112123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267{ "name": "lpm_shift_wing", "description": "CRM da NASA no SHIFT-Wing: Cp de superf\u00edcie em oitenta e dois variantes resolvidos fora daqui. A Large Physics Model over the design space: the geometry and the operating point in, the field on the body's surface out (cp on 2048 to 2048 points per design). Domain: aerodin\u00e2mica externa subs\u00f4nica/trans\u00f4nica, dataset SHIFT-Wing (Luminary Cloud).", "task": "CRM da NASA no SHIFT-Wing: Cp de superf\u00edcie em oitenta e dois variantes resolvidos fora daqui", "version": "1.0.0", "inputs": [ { "name": "alpha_deg", "unit": "-", "description": "design parameter of the family (bounds in validity_range)" }, { "name": "mach", "unit": "-", "description": "design parameter of the family (bounds in validity_range)" }, { "name": "reynolds_mac_million", "unit": "-", "description": "design parameter of the family (bounds in validity_range)" }, { "name": "ar", "unit": "-", "description": "design parameter of the family (bounds in validity_range)" }, { "name": "sweep_c4_deg", "unit": "-", "description": "design parameter of the family (bounds in validity_range)" }, { "name": "span_over_mac", "unit": "-", "description": "design parameter of the family (bounds in validity_range)" } ], "outputs": [ { "name": "cp", "unit": "-", "description": "the family's reference field on the body's surface points" } ], "validity_range": { "alpha_deg": [ 0.0177, 3.9902 ], "mach": [ 0.5, 0.5 ], "reynolds_mac_million": [ 25.9912, 35.8348 ], "ar": [ 7.5065, 10.9933 ], "sweep_c4_deg": [ 25.0548, 37.473 ], "span_over_mac": [ 5.89284, 9.80992 ], "regime": "inside the family's declared geometry and operating bounds" }, "known_limitations": [ "gate accuracy: failed -- relative L2 against the reference on the held-out points", "the reference itself: solver \u2014 SHIFT-Wing (Luminary Cloud): CRM da NASA, RANS, M = 0,5, with the assumptions it lists", "agreement with a solver or with measured data for any geometry of this family", "whether the ensemble spread is calibrated: it is the spread between bootstrap heads", "behaviour outside the declared geometry and operating bounds of the family", "the gate accuracy: failed", "the gate boundary: not run", "the gate residual: not run", "the metrics shipped with this release are recomputed on a 14-design sample of the held-out set; the campaign's full-set number is under campaign/held_out_relative_l2 (14 designs)" ], "architecture": "LargePhysicsModel", "architecture_config": { "dim": 3, "n_fields": 1, "n_params": 6, "radii": [ 0.1, 0.4, 1.2 ], "n_freq": 6, "width": 128, "code": 32, "n_heads": 4, "backbone": "attention", "attn_heads": 4, "attn_layers": 2 }, "equations": [ "\\nabla\\cdot\\left(\\rho\\mathbf{u}\\right)=0,\\quad \\nabla\\cdot\\left(\\rho\\mathbf{u}\\otimes\\mathbf{u}\\right)=-\\nabla p+\\nabla\\cdot\\left[\\left(\\mu+\\mu_t\\right)\\left(\\nabla\\mathbf{u}+\\nabla\\mathbf{u}^{T}-\\frac{2}{3}\\nabla\\cdot\\mathbf{u}\\,\\mathbf{I}\\right)\\right],\\quad C_p=\\frac{p-p_\\infty}{\\frac{1}{2}\\rho_\\infty U_\\infty^{2}}" ], "domain_bounds": { "alpha_deg": [ 0.0177, 3.9902 ], "mach": [ 0.5, 0.5 ], "reynolds_mac_million": [ 25.9912, 35.8348 ], "ar": [ 7.5065, 10.9933 ], "sweep_c4_deg": [ 25.0548, 37.473 ], "span_over_mac": [ 5.89284, 9.80992 ] }, "boundary_conditions": {}, "initial_condition": {}, "training_config": { "epochs": 600, "lr": 0.002, "seed": 0, "batch_designs": 24, "loss_first": 0.04281863570213318, "loss_last": 0.0008187233470380306, "loss": "mse", "weight_decay": 0.0, "seconds": 4240.886, "device": "cpu" }, "data_lineage": { "family": "pp_shift_wing", "dataset": "lpm_shift_wing_heldout", "campaign": "/Users/yanbarros/lpm-campaign", "split": { "policy": "the published split of the dataset: a held-out body was held out before training", "seed": 0, "holdout_fraction": 0.25, "n_train_designs": 67, "n_holdout_designs": 14, "among_refined": [], "n_train_geometries": 67, "n_holdout_geometries": 14, "locked_fraction": 0.0, "n_locked_designs": 0, "locked_policy": "no locked split: the whole held-out is a validation set, and is read by the refinement round" }, "full_dataset": { "schema": "pinneapple.lpm.dataset/1", "seed": 0, "n_designs": 81, "n_geometries": 81, "conditions_per_geometry": 1 }, "sample": { "n_designs": 14, "n_points": 28672, "n_parameters": 6, "n_neighbourhood_features": 21, "dtypes": { "params": "float64[6]", "conditioning": "float32[6]", "points": "float32[3]", "normals": "float32[3]", "target": "float32[1]", "local": "float32[21]", "offsets": "int64" } } }, "cost": { "trainable_parameters": 344676, "train_seconds": 4240.886, "device": "cpu" }, "validation_metrics": { "heldout/relative_l2": 0.3474333944082873, "heldout/relative_l2_p90": 0.4584903844642426, "heldout/absolute_error_p90": 0.11121799647808076, "heldout/constant_field_baseline_relative_l2": 0.9103302038442977, "heldout/n_designs": 14.0, "campaign/held_out_relative_l2": 0.34743339256873906, "campaign/held_out_relative_l2_p90": 0.344646606055152, "campaign/constant_field_baseline_relative_l2": 0.9105652739756732, "campaign/n_designs": 14.0 }, "reference_source": "SHIFT-Wing (Luminary Cloud): CRM da NASA, RANS, M = 0,5 -- Luminary Cloud, SHIFT-Wing: High-Fidelity Computational Fluid Dynamics Dataset for Transonic Wing External Aerodynamics, 2025 \u2014 https://huggingface.co/datasets/luminary-shift/Wing (amostra: 82 casos); geometria de base: NASA Common Research Model (CRM), high-speed CRM, https://commonresearchmodel.larc.nasa.gov/. Assumptions: os oitenta e dois casos s\u00e3o a amostra publicada do SHIFT-Wing, n\u00e3o o reposit\u00f3rio completo: o n\u00famero medido vale para estes corpos, e um modelo treinado neles n\u00e3o viu o resto do espa\u00e7o de projeto; todos os casos s\u00e3o M = 0,5 e variam em \u00e2ngulo de ataque (0,02 a 3,99 graus) e em seis par\u00e2metros de asa e fuselagem; o Mach entra na condi\u00e7\u00e3o como constante; o alvo \u00e9 o Cp de superf\u00edcie que o solver deles escreveu na malha adaptada final, amostrado uniformemente em \u00e1rea: a densidade da amostra \u00e9 a do corpo, n\u00e3o a da malha adaptada, que \u00e9 mais fina onde o escoamento interessa; a divis\u00e3o treino/valida\u00e7\u00e3o/held-out \u00e9 nossa (um caso em cada seis, sistem\u00e1tico) porque a Luminary n\u00e3o publica uma para a amostra; ela \u00e9 por geometria; a licen\u00e7a \u00e9 cc-by-nc-4.0: o modelo ajustado aqui \u00e9 evid\u00eancia de que o pipeline funciona, e nunca um produto \u2014 ver pinneapple_neural.lpm_stages.shift", "provenance": { "solver": "shift-wing", "library_version": "1.0.1", "seed": 0, "data_hash": "sha256:5fabd28a702f46d866384234c8dba02e9f0493b3c234c3a8fa23d489948d3618", "commit": "e7a84b215c8f4a763a3ca7f80d42aa1db6852943" }, "citation": "Luminary Cloud, SHIFT-Wing: High-Fidelity Computational Fluid Dynamics Dataset for Transonic Wing External Aerodynamics, 2025 \u2014 https://huggingface.co/datasets/luminary-shift/Wing (amostra: 82 casos); geometria de base: NASA Common Research Model (CRM), high-speed CRM, https://commonresearchmodel.larc.nasa.gov/", "license": "apache-2.0", "tags": [ "experimental", "LPM", "aerodin\u00e2mica externa subs\u00f4nica" ], "pinneapple_version": "1.0.1", "trust_report": { "modelo": "lpm_shift_wing v1.0.0", "decisao": "REJECT", "score": 0.3333333333333333, "cobertura": 1.0, "motivos": [ "held-out heldout/relative_l2 within the zoo acceptance limit: falhou (cr\u00edtica)", "worst of the 14 stored held-out designs: 0.5698 against the family's tolerance 0.15: falhou", "score 0.33 abaixo do m\u00ednimo de 0.80" ], "checagens": [ { "name": "card metrics reproduced on the stored reference (max relative difference)", "status": "supports", "critical": true, "weight": 1.0, "value": 0.0, "limit": 1e-06, "source": "SHIFT-Wing (Luminary Cloud): CRM da NASA, RANS, M = 0,5 -- Luminary Cloud, SHIFT-Wing: High-Fidelity Computational Fluid", "reason": "" }, { "name": "held-out heldout/relative_l2 within the zoo acceptance limit", "status": "contradicts", "critical": true, "weight": 1.0, "value": 0.3474333944082873, "limit": 0.1575, "source": "independent reference", "reason": "" }, { "name": "worst of the 14 stored held-out designs: 0.5698 against the family's tolerance 0.15", "status": "contradicts", "critical": false, "weight": 1.0, "value": null, "limit": null, "source": "the family's reference (SHIFT-Wing (Luminary Cloud): CRM da NASA, RANS, M = 0,5)", "reason": "" } ], "min_coverage": 0.6, "min_score": 0.8 }, "trust_override": { "reason": "experimental tier: shipped as a reproducible base (weights, card, held-out sample, fine-tune hook) with the family's own verdict REJECT and the measured held-out error on the card; not a verified model and not to be used as one without independent review", "by": "scripts/zoo/build_lpm.py", "decision": "REJECT", "at": "2026-12-04T01:28:36.359691+00:00" }}123version https://git-lfs.github.com/spec/v1oid sha256:cfc0ae9f2caaeb7fc60283732bd4ca9388ba5e53df8de1dd7b986d2b2689fbd4size 1419857README.mdAdded+169
config.jsonAdded+21
example.jsonAdded+21
model.safetensorsAdded+3
model_card.jsonAdded+267
weights.ptAdded+3