Literature · AstroMLab
astrollama-2-70b-base aic
A 70-billion-parameter base language model fine-tuned on astrophysics literature for astronomy text generation.
What astrollama-2-70b-base aic is
AstroLLaMA-2-70B-Base_AIC is an open-weights, specialised base language model tailored for astronomy and astrophysics. Developed by the AstroMLab team, it adapts Meta's LLaMA-2-70B architecture to astronomical scientific literature, providing a foundation model at the 70-billion parameter scale for domain-specific text generation and natural language processing.
Generic foundation models often lack depth in domain-specific terminology, notation, and literature context found across astrophysics publications. To address this, the model was trained using continual pre-training over extracted sections of papers from arXiv's astro-ph category, improving performance on astronomical benchmarks compared to standard foundation models.
The model operates as a base language model aimed at next-token prediction rather than an instruction-following or conversational agent. It serves researchers who require a domain-adapted base for continuing research, downstream task fine-tuning, or astronomy-related text completion.
How it works
The model is built by continual pre-training (CPT) of Meta's LLaMA-2-70B base model using the LMFlow framework. Training text was derived from LaTeX source files across the entire history of arXiv's astro-ph category up to July 2023. Using regular-expression extraction, researchers isolated the Abstract, Introduction, and Conclusion (AIC) sections to construct the domain-specific corpus.
Training was conducted for one epoch, requiring approximately 2,000 NVIDIA A100 GPU hours. The training configuration employed a total batch size of 160, a maximum token sequence length of 2048, a learning rate of 2 × 10⁻⁵ with a warmup ratio of 0.03, and a cosine decay schedule for learning rate reduction.
Key facts
- Base model
- meta-llama/Llama-2-70b-hf
- Architecture
- LLaMA-2-70B (autoregressive transformer)
- Parameter count
- 70 billion
- Input format
- Tokenised text (up to 2048 tokens)
- Output format
- Generated text (token logits / next token prediction)
- Training data
- Abstracts, introductions, and conclusions from arXiv astro-ph (inception to July 2023)
- Training compute
- Approximately 2,000 A100 GPU hours
What you can use it for
- Astronomy text completion
- Predicting next tokens and completing sentences or paragraphs using astronomy and astrophysics terminology.
- Domain-specific fine-tuning base
- Serving as an astrophysics-adapted base model for downstream instruction tuning, classification, or task-specific fine-tuning.
- Scientific literature analysis
- Analysing astronomical manuscript structures and terminology across astro-ph abstracts, introductions, and conclusions.
Run it here
We list this model but cannot run it yet: it is larger than the models we test-run automatically, so a person runs it first.
Everything on this page still applies. Running it needs a loader for this repository, not a bigger machine.
Strengths and limits
Good at
- Outperforms the general-purpose LLaMA-2-70B baseline on astronomical question-answering benchmarks, scoring 76.0% compared to 70.7%.
- Pre-trained on a comprehensive corpus of arXiv astro-ph papers spanning from the archive's inception through July 2023.
- Maintains standard Hugging Face Transformers integration, allowing direct compatibility with existing pipeline tools.
Watch out for
- Operates purely as a base language model for next-token prediction and is not tuned for chat or instruction-following interactions.
- Trained with a maximum sequence context length limited to 2048 tokens.
- Risk of generating misleading scientific text, requiring outputs to be verified against peer-reviewed sources.
Inputs and outputs
You provide
Prompt
The model continues from here.
You get back
The model's completion.
Licence
Check the licence before commercial use · mit
The mit licence carries terms worth reading before you depend on it.
Questions
Can I use astrollama-2-70b-base aic commercially?
Check the licence before commercial use. The mit licence carries terms worth reading before you depend on it.
Can this model be used directly as a conversational assistant or chatbot?
No. It is a base language model trained exclusively for next-token prediction and has not undergone instruction tuning or dialogue alignment.
What does the 'AIC' suffix stand for?
AIC refers to Abstract, Introduction, and Conclusion, indicating that the training dataset was composed exclusively of these three extracted sections from arXiv astrophysics papers.
How does the model perform compared to general models on astronomy tasks?
On astronomical Q&A benchmarking, it achieves a score of 76.0%, exceeding the 70.7% achieved by the original LLaMA-2-70B and outperforming several other general-purpose models.
How to cite it
Pan, R., Dung Nguyen, T., Arora, H., Accomazzi, A., Ghosal, T., & Ting, Y.-S. (2024). AstroMLab 2: AstroLLaMA-2-70B Model and Benchmarking Specialised LLMs for Astronomy. arXiv preprint arXiv:2409.19750.
Written from astrollama-2-70b-base aic's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.
