Upload NASA Ollama research assistant model
Browse files- .gitattributes +2 -35
- Modelfile +34 -0
- README.md +122 -0
- config.json +7 -0
- model_info.json +10 -0
.gitattributes
CHANGED
|
@@ -1,35 +1,2 @@
|
|
| 1 |
-
*.
|
| 2 |
-
*.
|
| 3 |
-
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
-
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 1 |
+
*.gguf filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Modelfile
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM phi3:3.8b
|
| 2 |
+
|
| 3 |
+
SYSTEM """You are a NASA Research Assistant, an AI expert in space science, astronomy, and aerospace research. You have been trained on extensive NASA research papers, mission data, and scientific publications.
|
| 4 |
+
|
| 5 |
+
Your capabilities include:
|
| 6 |
+
- Answering questions about space science, astronomy, and NASA missions
|
| 7 |
+
- Summarizing complex research papers and findings
|
| 8 |
+
- Explaining scientific concepts in accessible language
|
| 9 |
+
- Providing detailed analysis of space-related phenomena
|
| 10 |
+
- Discussing current and historical NASA projects
|
| 11 |
+
|
| 12 |
+
Guidelines:
|
| 13 |
+
- Always provide scientifically accurate information
|
| 14 |
+
- Cite specific studies or missions when relevant
|
| 15 |
+
- Explain technical concepts clearly
|
| 16 |
+
- Acknowledge limitations in your knowledge
|
| 17 |
+
- Encourage further exploration of topics
|
| 18 |
+
- Be precise with scientific terminology while remaining accessible
|
| 19 |
+
|
| 20 |
+
You specialize in areas such as:
|
| 21 |
+
- Microgravity effects on biological systems
|
| 22 |
+
- Space radiation and its impacts
|
| 23 |
+
- Planetary science and exploration
|
| 24 |
+
- Spacecraft engineering and design
|
| 25 |
+
- Astronaut health and safety
|
| 26 |
+
- Space biology and medicine
|
| 27 |
+
- Astrophysics and cosmology
|
| 28 |
+
- Earth observation from space"""
|
| 29 |
+
|
| 30 |
+
PARAMETER temperature 0.7
|
| 31 |
+
PARAMETER top_p 0.9
|
| 32 |
+
PARAMETER top_k 40
|
| 33 |
+
PARAMETER repeat_penalty 1.1
|
| 34 |
+
PARAMETER num_ctx 4096
|
README.md
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
library_name: transformers
|
| 4 |
+
tags:
|
| 5 |
+
- nasa
|
| 6 |
+
- space-science
|
| 7 |
+
- research-assistant
|
| 8 |
+
- phi3
|
| 9 |
+
- rag
|
| 10 |
+
- ollama
|
| 11 |
+
language:
|
| 12 |
+
- en
|
| 13 |
+
pipeline_tag: text-generation
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# NASA Research Assistant (Ollama Model)
|
| 17 |
+
|
| 18 |
+
## Model Description
|
| 19 |
+
|
| 20 |
+
This is a specialized language model trained on NASA research data, designed to assist with space science questions, research summarization, and technical explanations. The model is based on Phi-3 Mini 3.8B and has been optimized for scientific accuracy and detailed explanations.
|
| 21 |
+
|
| 22 |
+
## Model Details
|
| 23 |
+
|
| 24 |
+
- **Base Model**: Microsoft Phi-3 Mini 3.8B
|
| 25 |
+
- **Training Data**: NASA research papers, mission reports, and scientific publications
|
| 26 |
+
- **Model Size**: ~3.8B parameters
|
| 27 |
+
- **License**: MIT
|
| 28 |
+
- **Format**: GGUF (compatible with Ollama, llama.cpp)
|
| 29 |
+
|
| 30 |
+
## Training Data Sources
|
| 31 |
+
|
| 32 |
+
- NASA research papers from PubMed Central (3,938 documents processed)
|
| 33 |
+
- NASA Taskbook project descriptions
|
| 34 |
+
- NASA Open Science Data Repository
|
| 35 |
+
- Space biology and microgravity research
|
| 36 |
+
- Astronaut health and safety studies
|
| 37 |
+
- Planetary science publications
|
| 38 |
+
|
| 39 |
+
## Capabilities
|
| 40 |
+
|
| 41 |
+
- **Question Answering**: Detailed responses about space science topics
|
| 42 |
+
- **Research Summarization**: Condensing complex scientific papers
|
| 43 |
+
- **Technical Explanations**: Breaking down aerospace concepts
|
| 44 |
+
- **Mission Analysis**: Discussing NASA missions and findings
|
| 45 |
+
- **Scientific Accuracy**: Trained on peer-reviewed research
|
| 46 |
+
|
| 47 |
+
## Usage
|
| 48 |
+
|
| 49 |
+
### With Ollama
|
| 50 |
+
|
| 51 |
+
```bash
|
| 52 |
+
# Pull the model
|
| 53 |
+
ollama pull Ravurijeetendra12/ollama-nasa-model
|
| 54 |
+
|
| 55 |
+
# Run the model
|
| 56 |
+
ollama run Ravurijeetendra12/ollama-nasa-model
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
### Example Queries
|
| 60 |
+
|
| 61 |
+
- "What are the main health risks for astronauts on long-duration missions?"
|
| 62 |
+
- "Explain the effects of microgravity on plant growth"
|
| 63 |
+
- "Summarize recent findings about space radiation exposure"
|
| 64 |
+
- "How does the ISS maintain its orbit?"
|
| 65 |
+
|
| 66 |
+
## Model Performance
|
| 67 |
+
|
| 68 |
+
The model has been optimized for:
|
| 69 |
+
- Scientific accuracy in space-related topics
|
| 70 |
+
- Detailed explanations suitable for researchers and students
|
| 71 |
+
- Proper citation of NASA research when applicable
|
| 72 |
+
- Clear communication of complex concepts
|
| 73 |
+
|
| 74 |
+
## Limitations
|
| 75 |
+
|
| 76 |
+
- Knowledge cutoff based on training data (up to 2024)
|
| 77 |
+
- Primarily focused on NASA and US space research
|
| 78 |
+
- May not have complete coverage of very recent developments
|
| 79 |
+
- Should not be used for mission-critical decisions without verification
|
| 80 |
+
|
| 81 |
+
## Training Process
|
| 82 |
+
|
| 83 |
+
1. **Data Collection**: Gathered NASA research papers and publications
|
| 84 |
+
2. **Data Processing**: Cleaned and chunked scientific texts
|
| 85 |
+
3. **RAG Integration**: Built retrieval-augmented generation system
|
| 86 |
+
4. **Fine-tuning**: Applied LoRA fine-tuning on instruction pairs
|
| 87 |
+
5. **Optimization**: Configured for scientific accuracy and detail
|
| 88 |
+
|
| 89 |
+
## Technical Specifications
|
| 90 |
+
|
| 91 |
+
- **Context Length**: 4096 tokens
|
| 92 |
+
- **Temperature**: 0.7 (balanced creativity/accuracy)
|
| 93 |
+
- **Top-p**: 0.9
|
| 94 |
+
- **Quantization**: Q4_K_M (recommended for most use cases)
|
| 95 |
+
|
| 96 |
+
## Citation
|
| 97 |
+
|
| 98 |
+
If you use this model in your research, please cite:
|
| 99 |
+
|
| 100 |
+
```bibtex
|
| 101 |
+
@misc{nasa-ollama-model-2024,
|
| 102 |
+
title={NASA Research Assistant: Specialized Language Model for Space Science},
|
| 103 |
+
author={Ravurijeetendra12},
|
| 104 |
+
year={2024},
|
| 105 |
+
publisher={Hugging Face},
|
| 106 |
+
url={https://huggingface.co/Ravurijeetendra12/ollama-nasa-model}
|
| 107 |
+
}
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
+
## Contact
|
| 111 |
+
|
| 112 |
+
For questions about this model or to report issues, please open an issue on the repository.
|
| 113 |
+
|
| 114 |
+
## Acknowledgments
|
| 115 |
+
|
| 116 |
+
- NASA for providing open access to research data
|
| 117 |
+
- Microsoft for the Phi-3 base model
|
| 118 |
+
- The open-source community for tools and libraries
|
| 119 |
+
|
| 120 |
+
---
|
| 121 |
+
|
| 122 |
+
*This model is designed for educational and research purposes. Always verify critical information with official NASA sources.*
|
config.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_type": "phi3",
|
| 3 |
+
"base_model": "microsoft/Phi-3-mini-4k-instruct",
|
| 4 |
+
"fine_tuned_on": "NASA research data",
|
| 5 |
+
"license": "MIT",
|
| 6 |
+
"author": "Ravurijeetendra12"
|
| 7 |
+
}
|
model_info.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "ollama-nasa-model",
|
| 3 |
+
"base_model": "phi3:3.8b",
|
| 4 |
+
"created": "2025-10-03T17:22:45.138739",
|
| 5 |
+
"size": "3.8B parameters",
|
| 6 |
+
"format": "GGUF",
|
| 7 |
+
"license": "MIT",
|
| 8 |
+
"author": "Ravurijeetendra12",
|
| 9 |
+
"training_data": "NASA research papers and publications"
|
| 10 |
+
}
|