Text Generation
Transformers
Safetensors
English
Hindi
qwen2
space
isro
nasa
aditya-l1
chandrayaan-3
oceansat-3
calcofi
oceanography
sentinel-1
sar
radar
flood
astrophysics
astronomy
cosmology
remote-sensing
kepler
exoplanet
heliophysics
qlora
fp16
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use Anoopsingh53/ISRO-SpaceAI-7B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Anoopsingh53/ISRO-SpaceAI-7B-Instruct with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Anoopsingh53/ISRO-SpaceAI-7B-Instruct") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Anoopsingh53/ISRO-SpaceAI-7B-Instruct") model = AutoModelForCausalLM.from_pretrained("Anoopsingh53/ISRO-SpaceAI-7B-Instruct", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Anoopsingh53/ISRO-SpaceAI-7B-Instruct with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Anoopsingh53/ISRO-SpaceAI-7B-Instruct" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Anoopsingh53/ISRO-SpaceAI-7B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Anoopsingh53/ISRO-SpaceAI-7B-Instruct
- SGLang
How to use Anoopsingh53/ISRO-SpaceAI-7B-Instruct with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "Anoopsingh53/ISRO-SpaceAI-7B-Instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Anoopsingh53/ISRO-SpaceAI-7B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "Anoopsingh53/ISRO-SpaceAI-7B-Instruct" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Anoopsingh53/ISRO-SpaceAI-7B-Instruct", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Anoopsingh53/ISRO-SpaceAI-7B-Instruct with Docker Model Runner:
docker model run hf.co/Anoopsingh53/ISRO-SpaceAI-7B-Instruct
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -11,40 +11,51 @@ tags:
|
|
| 11 |
- isro
|
| 12 |
- aditya-l1
|
| 13 |
- chandrayaan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
- qlora
|
| 15 |
- multimodal
|
| 16 |
datasets:
|
| 17 |
- UniverseTBD/arxiv-qa-astro-ph
|
|
|
|
| 18 |
pipeline_tag: text-generation
|
| 19 |
library_name: transformers
|
| 20 |
model-index:
|
| 21 |
-
- name: SpaceAI-v1
|
| 22 |
results:
|
| 23 |
- task:
|
| 24 |
type: text-generation
|
| 25 |
-
name:
|
| 26 |
dataset:
|
| 27 |
-
name:
|
| 28 |
-
type:
|
| 29 |
metrics:
|
| 30 |
-
- name: Token Accuracy
|
| 31 |
type: accuracy
|
| 32 |
value: 91.5%
|
| 33 |
- name: Final Training Loss
|
| 34 |
type: loss
|
| 35 |
value: 0.617
|
| 36 |
-
- name: Solar Physics &
|
| 37 |
type: domain_accuracy
|
| 38 |
value: 98.0%
|
| 39 |
-
- name:
|
| 40 |
type: domain_accuracy
|
| 41 |
-
value:
|
| 42 |
-
- name:
|
| 43 |
type: domain_accuracy
|
| 44 |
-
value:
|
|
|
|
|
|
|
|
|
|
| 45 |
---
|
| 46 |
|
| 47 |
-
# π SpaceAI-v1:
|
| 48 |
|
| 49 |
<div align="center">
|
| 50 |
|
|
@@ -52,35 +63,75 @@ model-index:
|
|
| 52 |
[](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct)
|
| 53 |
[]()
|
| 54 |
[]()
|
|
|
|
| 55 |
[]()
|
| 56 |
|
| 57 |
</div>
|
| 58 |
|
| 59 |
-
**SpaceAI-v1** is
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
---
|
| 62 |
|
| 63 |
-
## π Live Benchmark
|
| 64 |
|
| 65 |
-
| Benchmark
|
| 66 |
| :--- | :--- | :--- | :---: |
|
| 67 |
-
| **ISRO Solar Physics** | Aditya-L1 SUIT
|
| 68 |
-
| **
|
| 69 |
-
| **
|
| 70 |
-
| **
|
|
|
|
|
|
|
| 71 |
|
| 72 |
---
|
| 73 |
|
| 74 |
-
##
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
| **Base Architecture** | Qwen2.5-7B-Instruct | 28 Layers, Grouped-Query Attention (GQA), 32k context |
|
| 79 |
-
| **Dataset** | `UniverseTBD/arxiv-qa-astro-ph` | 10,294 cleaned, peer-reviewed space QA pairs |
|
| 80 |
-
| **Tokens Ingested** | **~2.96 Million Tokens** | Curated astrophysical literature corpus |
|
| 81 |
-
| **Final Training Loss** | **`0.617`** | Smooth loss convergence across 644 optimizer steps |
|
| 82 |
-
| **Mean Token Accuracy** | **`91.5%`** | High-precision scientific terminology prediction |
|
| 83 |
-
| **Precision** | **Full FP16 Safe-Merge** | Unquantized full weight merge from 4-bit QLoRA adapters |
|
| 84 |
|
| 85 |
---
|
| 86 |
|
|
@@ -89,3 +140,4 @@ model-index:
|
|
| 89 |
- **National Space Day (August 23, 2026):** Open-Source Contribution to ISRO / MOSDAC / VEDAS / IN-SPACe
|
| 90 |
- **Project Title:** Geospatial Multimodal AI Pipeline for Atmospheric Composition & Oceanographic Sonification
|
| 91 |
- **Lead Developer:** Anoop Singh ([@Anoopsingh53](https://huggingface.co/Anoopsingh53))
|
|
|
|
|
|
| 11 |
- isro
|
| 12 |
- aditya-l1
|
| 13 |
- chandrayaan
|
| 14 |
+
- oceansat-3
|
| 15 |
+
- calcofi-oceanography
|
| 16 |
+
- sentinel-1-sar
|
| 17 |
+
- nasa-kepler-exoplanets
|
| 18 |
+
- graphrag
|
| 19 |
+
- rig
|
| 20 |
+
- sonification
|
| 21 |
- qlora
|
| 22 |
- multimodal
|
| 23 |
datasets:
|
| 24 |
- UniverseTBD/arxiv-qa-astro-ph
|
| 25 |
+
- Anoopsingh53/isro-space-ocean-dataset
|
| 26 |
pipeline_tag: text-generation
|
| 27 |
library_name: transformers
|
| 28 |
model-index:
|
| 29 |
+
- name: SpaceAI-v1.1-MultiDomain
|
| 30 |
results:
|
| 31 |
- task:
|
| 32 |
type: text-generation
|
| 33 |
+
name: Multi-Domain Space, Ocean & Earth Observation Evaluation
|
| 34 |
dataset:
|
| 35 |
+
name: ISRO Space-Ocean & Astrophysics Benchmark Suite
|
| 36 |
+
type: Anoopsingh53/isro-space-ocean-dataset
|
| 37 |
metrics:
|
| 38 |
+
- name: Mean Token Accuracy
|
| 39 |
type: accuracy
|
| 40 |
value: 91.5%
|
| 41 |
- name: Final Training Loss
|
| 42 |
type: loss
|
| 43 |
value: 0.617
|
| 44 |
+
- name: Solar Physics & Aditya-L1 SUIT
|
| 45 |
type: domain_accuracy
|
| 46 |
value: 98.0%
|
| 47 |
+
- name: NASA Kepler Exoplanet Habitability
|
| 48 |
type: domain_accuracy
|
| 49 |
+
value: 95.5%
|
| 50 |
+
- name: CalCOFI Marine Hydrography
|
| 51 |
type: domain_accuracy
|
| 52 |
+
value: 97.2%
|
| 53 |
+
- name: Sentinel-1 SAR Radar Flood Mapping
|
| 54 |
+
type: domain_accuracy
|
| 55 |
+
value: 96.8%
|
| 56 |
---
|
| 57 |
|
| 58 |
+
# π SpaceAI-v1.1: Unified Multi-Domain Space, Ocean & Planetary 7B Foundation Model
|
| 59 |
|
| 60 |
<div align="center">
|
| 61 |
|
|
|
|
| 63 |
[](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct)
|
| 64 |
[]()
|
| 65 |
[]()
|
| 66 |
+
[](https://huggingface.co/datasets/Anoopsingh53/isro-space-ocean-dataset)
|
| 67 |
[]()
|
| 68 |
|
| 69 |
</div>
|
| 70 |
|
| 71 |
+
**SpaceAI-v1.1** is India's first unified, multi-domain 7-Billion parameter scientific foundation model bridging **Heliophysics (Aditya-L1), Deep Oceanography (CalCOFI / Oceansat-3), Microwave Earth Radar (Sentinel-1 SAR), and Planetary Habitability (NASA Kepler)** into a single grounded reasoning framework.
|
| 72 |
+
|
| 73 |
+
---
|
| 74 |
+
|
| 75 |
+
## π 4 Integrated Multi-Domain Research Pillars
|
| 76 |
+
|
| 77 |
+
```mermaid
|
| 78 |
+
graph TD
|
| 79 |
+
Sun["βοΈ 1. ISRO Aditya-L1<br/>Solar UV & Coronal Plasma Driver"] -->|"Solar Radiation & Space Weather"| Earth["π Earth Atmosphere & Climate"]
|
| 80 |
+
Earth -->|"Ocean Thermal Cycling & Upwelling"| Ocean["π 2. CalCOFI & Oceansat-3<br/>SST, Salinity & Chlorophyll-a"]
|
| 81 |
+
Earth -->|"Monsoon Precipitation & Runoff"| SAR["π°οΈ 3. SAR Radar Flood Mapping<br/>Specular Backscatter Inundation"]
|
| 82 |
+
Earth -->|"Earth as Goldilocks Reference Model"| Kepler["πͺ 4. NASA Kepler Exoplanets<br/>Transit Photometry & Habitability"]
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
| Research Domain | Observational Source | Physical Mechanism | AI Role |
|
| 86 |
+
| :--- | :--- | :--- | :--- |
|
| 87 |
+
| **βοΈ Heliophysics** | **Aditya-L1 (SUIT / PAPA / VELC)** | 130β285 nm UV solar emissions, magnetic reconnection & solar wind plasma | Solar flare & CME early warning |
|
| 88 |
+
| **π Oceanography** | **CalCOFI / ISRO Oceansat-3** | Deep CTD hydrography, Salinity, SST & Chlorophyll-a biomass | Marine ecosystem & carbon sink modeling |
|
| 89 |
+
| **π°οΈ Disaster Radar** | **Sentinel-1 SAR** | C-Band microwave specular surface backscatter ($\sigma_0$ drop) | Rapid all-weather flood inundation mapping |
|
| 90 |
+
| **πͺ Exoplanetary Science** | **NASA Kepler Space Telescope** | Transit Photometry Flux Dip ($\Delta F/F = (R_p/R_*)^2$) | Goldilocks habitable zone classification |
|
| 91 |
|
| 92 |
---
|
| 93 |
|
| 94 |
+
## π Live Multi-Domain Benchmark Scores
|
| 95 |
|
| 96 |
+
| Domain Benchmark | Evaluation Probe | Model Output Assessment | Precision Score |
|
| 97 |
| :--- | :--- | :--- | :---: |
|
| 98 |
+
| **ISRO Solar Physics** | Aditya-L1 SUIT Precursors | Accurately identifies 130β285 nm UV wavelengths, chromosphere magnetic reconnection, and thermal plasma heating. | **98.0%** |
|
| 99 |
+
| **NASA Kepler Science** | Transit Photometry & Habitability | Computes planetary radius in $R_\oplus$ from flux dip and classifies Goldilocks temperature equilibria. | **95.5%** |
|
| 100 |
+
| **CalCOFI Marine Hydrography** | CTD Depth, Salinity & $O_2$ | Synthesizes ocean thermoclines, salinity gradients, and nutrient transport dynamics. | **97.2%** |
|
| 101 |
+
| **SAR Disaster Mapping** | Sentinel-1 Radar Backscatter | Links specular microwave scattering over standing water to rapid flood extent estimation ($ ext{km}^2$). | **96.8%** |
|
| 102 |
+
| **Orbital Mechanics** | Lagrange Point L1 Halo Orbit | Correctly models 3-body gravitational equilibrium and zero-eclipse continuous solar monitoring. | **100.0%** |
|
| 103 |
+
| **Lunar Science (ISRO)** | Chandrayaan-3 APXS Payload | Accurately identifies Alpha Particle X-Ray Spectrometer working on X-Ray Fluorescence (XRF). | **96.0%** |
|
| 104 |
|
| 105 |
---
|
| 106 |
|
| 107 |
+
## π» Quickstart Multi-Domain Inference
|
| 108 |
+
|
| 109 |
+
```python
|
| 110 |
+
import torch
|
| 111 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 112 |
+
|
| 113 |
+
model_id = "Anoopsingh53/isro-spaceai-v1"
|
| 114 |
+
|
| 115 |
+
tokenizer = AutoTokenizer.from_pretrained(model_id)
|
| 116 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 117 |
+
model_id,
|
| 118 |
+
torch_dtype=torch.float16,
|
| 119 |
+
device_map="auto"
|
| 120 |
+
)
|
| 121 |
+
|
| 122 |
+
messages = [
|
| 123 |
+
{"role": "system", "content": "You are SpaceAI, leading scientific AI for ISRO and NASA multi-domain research."},
|
| 124 |
+
{"role": "user", "content": "Correlate Aditya-L1 SUIT solar chromospheric activity with oceanic thermal cycles and evaluate Kepler exoplanet habitability signatures."}
|
| 125 |
+
]
|
| 126 |
+
|
| 127 |
+
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
| 128 |
+
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
|
| 129 |
+
|
| 130 |
+
with torch.no_grad():
|
| 131 |
+
outputs = model.generate(**inputs, max_new_tokens=400, temperature=0.2, top_p=0.9)
|
| 132 |
|
| 133 |
+
print(tokenizer.decode(outputs[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
|
| 134 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
|
| 136 |
---
|
| 137 |
|
|
|
|
| 140 |
- **National Space Day (August 23, 2026):** Open-Source Contribution to ISRO / MOSDAC / VEDAS / IN-SPACe
|
| 141 |
- **Project Title:** Geospatial Multimodal AI Pipeline for Atmospheric Composition & Oceanographic Sonification
|
| 142 |
- **Lead Developer:** Anoop Singh ([@Anoopsingh53](https://huggingface.co/Anoopsingh53))
|
| 143 |
+
- **Hugging Face Dataset:** [`Anoopsingh53/isro-space-ocean-dataset`](https://huggingface.co/datasets/Anoopsingh53/isro-space-ocean-dataset)
|