Update README.md
Browse files
README.md
CHANGED
|
@@ -3,20 +3,164 @@ base_model: unsloth/gpt-oss-20b-unsloth-bnb-4bit
|
|
| 3 |
tags:
|
| 4 |
- text-generation-inference
|
| 5 |
- transformers
|
| 6 |
-
- unsloth
|
| 7 |
- gpt_oss
|
| 8 |
- trl
|
|
|
|
|
|
|
| 9 |
license: apache-2.0
|
| 10 |
language:
|
| 11 |
- en
|
| 12 |
---
|
| 13 |
|
| 14 |
-
#
|
| 15 |
|
| 16 |
-
|
| 17 |
-
- **License:** apache-2.0
|
| 18 |
-
- **Finetuned from model :** unsloth/gpt-oss-20b-unsloth-bnb-4bit
|
| 19 |
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
tags:
|
| 4 |
- text-generation-inference
|
| 5 |
- transformers
|
|
|
|
| 6 |
- gpt_oss
|
| 7 |
- trl
|
| 8 |
+
- nasa
|
| 9 |
+
- standards
|
| 10 |
license: apache-2.0
|
| 11 |
language:
|
| 12 |
- en
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# NASA OSS Model Card
|
| 16 |
|
| 17 |
+
## Highlights
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
- Fine-tune of **OpenAI GPT-OSS** (20B) using [Unsloth](https://github.com/unslothai/unsloth) for optimized training.
|
| 20 |
+
- Trained on **synthetic Q&A data** derived from all available NASA standards and handbooks (excluding center-level standards).
|
| 21 |
+
- Data generated via **chunking into 4096 tokens with 256 overlap**, question + answer pairs produced per chunk.
|
| 22 |
+
- Provides **compliance-oriented, clause-referenced outputs** for NASA engineering standards.
|
| 23 |
+
- Extends prior work ([NASA Systems Engineering Llama-3.1 8B](https://huggingface.co/MarshallDoyle/NASA-Systems-Engineering)) to **dozens of NASA standards**, not just one handbook.
|
| 24 |
+
- **Best used with retrieval-augmented generation (RAG)**: include the relevant standard text in the prompt for highest accuracy.
|
| 25 |
|
| 26 |
+
**Recommended Inference Settings:**
|
| 27 |
+
- `temperature = 1`
|
| 28 |
+
- `top_k = 0`
|
| 29 |
+
- `top_p = 1`
|
| 30 |
+
|
| 31 |
+
**Official OpenAI GPT-OSS page:** [https://openai.com/oss](https://openai.com/oss)
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## Model Summary
|
| 36 |
+
|
| 37 |
+
The **NASA OSS model** is designed to assist with **interpretation, reasoning, and compliance guidance across NASA standards and handbooks**.
|
| 38 |
+
It is particularly effective for:
|
| 39 |
+
|
| 40 |
+
- Engineering decision support
|
| 41 |
+
- Standards compliance verification
|
| 42 |
+
- Requirements and process traceability
|
| 43 |
+
- Education and training of new engineers
|
| 44 |
+
|
| 45 |
+
---
|
| 46 |
+
|
| 47 |
+
## Training Data
|
| 48 |
+
|
| 49 |
+
- **Sources:** All publicly available NASA standards and handbooks (excluding center-level standards).
|
| 50 |
+
- **Processing pipeline:**
|
| 51 |
+
- Documents chunked into 4096 tokens with 256-token overlap.
|
| 52 |
+
- Each chunk used to generate multiple **synthetic questions** relevant only to that section.
|
| 53 |
+
- **Answers generated** strictly from the chunk (but phrased naturally without explicit chunk references).
|
| 54 |
+
|
| 55 |
+
---
|
| 56 |
+
|
| 57 |
+
## Recommended Usage
|
| 58 |
+
|
| 59 |
+
- **Use with RAG:** Retrieval of the intended NASA standard or handbook section and injection into the prompt significantly improves performance.
|
| 60 |
+
- **Verification:** Always cross-check outputs against the official NASA source documents before applying in mission-critical work.
|
| 61 |
+
|
| 62 |
+
---
|
| 63 |
+
|
| 64 |
+
## Comparison Examples
|
| 65 |
+
|
| 66 |
+
### Example 1 – Required Components for Material Process Qualification (NASA-STD-6030)
|
| 67 |
+
|
| 68 |
+
**Llama-3.1 8B Fine-tune (Systems Eng only):**
|
| 69 |
+
"Nasa standards generally require process control and material specifications before flight qualification."
|
| 70 |
+
|
| 71 |
+
**GPT-OSS Base:**
|
| 72 |
+
"Material specifications and process definitions must be established for qualification."
|
| 73 |
+
|
| 74 |
+
**NASA OSS:**
|
| 75 |
+
NASA-STD-6030 – Materials Process Qualification
|
| 76 |
+
The standard requires that a candidate material process be fully characterized before it can be qualified for use in additive manufacturing hardware. Three distinct components must be defined and documented:
|
| 77 |
+
1. Feedstock Material Specification – properties of the raw AM material.
|
| 78 |
+
2. Part Material Specification (or equivalent) – final part-material characteristics after processing.
|
| 79 |
+
3. Material Processing Specification (MPS) – process parameters and QA procedures.
|
| 80 |
+
These items are listed in NASA-STD-6030 §2 f (g–i) and clarified in §8 as required for a Qualified Part Process.
|
| 81 |
+
|
| 82 |
+
---
|
| 83 |
+
|
| 84 |
+
### Example 2 – PCRDs (Primary Control-Relevant Data) for Metallic AM Processes
|
| 85 |
+
|
| 86 |
+
**Llama-3.1 8B Fine-tune:**
|
| 87 |
+
"Typical values include tensile strength and elongation."
|
| 88 |
+
|
| 89 |
+
**GPT-OSS Base:**
|
| 90 |
+
"PCRDs are mechanical properties but fracture toughness is sometimes excluded."
|
| 91 |
+
|
| 92 |
+
**NASA OSS:**
|
| 93 |
+
Question: Which of the following is NOT one of the four PCRDs defined for each metallic AM MPS: ultimate tensile strength, yield strength, elongation, or fracture toughness?
|
| 94 |
+
Answer: Fracture toughness is NOT one of the PCRDs.
|
| 95 |
+
NASA-STD-6030 explicitly defines: ultimate tensile strength, yield strength, elongation, and reduction of area.
|
| 96 |
+
Reference: NASA-STD-6030 §4.3.2
|
| 97 |
+
|
| 98 |
+
---
|
| 99 |
+
|
| 100 |
+
### Example 3 – Powder Certification and Reuse Rules for Ti-6Al-4V (LPBF)
|
| 101 |
+
|
| 102 |
+
**Llama-3.1 8B Fine-tune:**
|
| 103 |
+
"Powder must be certified before use in additive manufacturing."
|
| 104 |
+
|
| 105 |
+
**GPT-OSS Base:**
|
| 106 |
+
"Certification and reuse requirements depend on program standards."
|
| 107 |
+
|
| 108 |
+
**NASA OSS:**
|
| 109 |
+
NASA-STD-6030 requires:
|
| 110 |
+
- Feedstock certification for composition, cleanliness, and particle morphology (§5.1).
|
| 111 |
+
- Documentation of lot traceability and maximum reuse cycles (§5.2).
|
| 112 |
+
- Validation via witness coupon testing before production (§7.3).
|
| 113 |
+
These steps ensure powder consistency and qualification evidence for flight hardware.
|
| 114 |
+
|
| 115 |
+
---
|
| 116 |
+
|
| 117 |
+
### Example 4 – Wire-Feed Directed Energy Deposition (DED) Qualification
|
| 118 |
+
|
| 119 |
+
**NASA OSS:**
|
| 120 |
+
For wire-feed DED processes, NASA-STD-6030 mandates documentation of:
|
| 121 |
+
- Material Specification – composition, purity, heat-treatment requirements (§7.2).
|
| 122 |
+
- Processing Parameters – machine-specific build settings and post-processing (§7.3).
|
| 123 |
+
- Testing & Inspection Methods – destructive and nondestructive evaluations with acceptance criteria (§7.3).
|
| 124 |
+
These form the Candidate Material Process (CMP) and serve as the foundation for establishing a Qualified Part Process (QPP).
|
| 125 |
+
|
| 126 |
+
---
|
| 127 |
+
|
| 128 |
+
### Example 5 – Dimensional Inspection for AM Structural Truss
|
| 129 |
+
|
| 130 |
+
**NASA OSS:**
|
| 131 |
+
NASA-STD-6030 requires GD&T compliance verification and interface checks through the Additive Manufacturing Control Plan (AMCP).
|
| 132 |
+
- MPS, QMP, and AMCP integration define dimensional verification (§4.1–4.3).
|
| 133 |
+
- Witness coupon testing and statistical sampling ensure dimensional repeatability (§7.2–7.3).
|
| 134 |
+
Reference: NASA-STD-6030, §4.2; §7.2–7.3
|
| 135 |
+
|
| 136 |
+
---
|
| 137 |
+
|
| 138 |
+
## Limitations
|
| 139 |
+
|
| 140 |
+
- Model outputs reflect **public NASA standards only**.
|
| 141 |
+
- May not cover internal center-level or proprietary standards.
|
| 142 |
+
- **Best used with retrieval context** – performance drops without standard text injection.
|
| 143 |
+
|
| 144 |
+
---
|
| 145 |
+
|
| 146 |
+
## Ethical Considerations
|
| 147 |
+
|
| 148 |
+
- Should be treated as an **assistive tool**, not as a replacement for human engineering judgment.
|
| 149 |
+
- Outputs must be verified against authoritative NASA documentation.
|
| 150 |
+
- Not suitable for export-controlled, ITAR-restricted, or classified projects.
|
| 151 |
+
|
| 152 |
+
---
|
| 153 |
+
|
| 154 |
+
## Citation
|
| 155 |
+
|
| 156 |
+
If you use this model, please cite as:
|
| 157 |
+
|
| 158 |
+
@misc{marshall2025nasaoss,
|
| 159 |
+
author = {Marshall Doyle},
|
| 160 |
+
title = {NASA OSS: Domain-Specific Fine-Tune of GPT OSS on NASA Standards},
|
| 161 |
+
year = {2025},
|
| 162 |
+
publisher = {Hugging Face},
|
| 163 |
+
howpublished = {\url{https://huggingface.co/MarshallDoyle/NASA-OSS}}
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
---
|