Instructions to use matsci-llm-anon/Llama3-ft-CrystalStructure with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use matsci-llm-anon/Llama3-ft-CrystalStructure with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct") model = PeftModel.from_pretrained(base_model, "matsci-llm-anon/Llama3-ft-CrystalStructure") - Notebooks
- Google Colab
- Kaggle
Llama3-ft-CrystalStructure
LoRA adapter for crystal system classification (7 classes) from chemical formula.
Released for double-blind review of How Large Language Models Learn Materials Science.
| Base model | meta-llama/Meta-Llama-3-8B-Instruct |
| PEFT type | LoRA (r=8, alpha=16, dropout=0.05) |
| Target modules | v_proj, q_proj |
Usage
from peft import PeftModel
from transformers import AutoModelForCausalLM
m = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct")
m = PeftModel.from_pretrained(m, "matsci-llm-anon/Llama3-ft-CrystalStructure")
Citation
@inproceedings{anonymous2026learn,
title={How Large Language Models Learn Materials Science},
author={Anonymous},
booktitle={Under review},
year={2026}
}
Author and affiliation information is withheld during double-blind review.
- Downloads last month
- 7
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support