c-bone commited on
Commit
542e5a5
·
verified ·
1 Parent(s): 991439f

Trim model card to details, uses, limits, pointers, citation

Browse files
Files changed (1) hide show
  1. README.md +2 -29
README.md CHANGED
@@ -55,36 +55,9 @@ The model is intended for:
55
  - **Training Distribution:** The model reflects the biases present in the LeMaterial dataset. It is most effective at generating structures similar to known stable inorganic compounds.
56
  - **Validity:** While it learns CIF syntax reliably, it may still generate physically invalid structures (e.g., overlapping atoms) or chemically unstable compositions.
57
 
58
- ## How to Get Started with the Model
59
 
60
- For instructions on how to load and run generation with this model, please refer to the `_load_and_generate.py` script in the [CrystaLLM-pi GitHub Repository](https://github.com/C-Bone-UCL/CrystaLLM-pi).
61
-
62
- ## Training Details
63
-
64
- ### Training Data
65
-
66
- The model was pre-trained on the **LeMaterial** dataset (specifically `c-bone/lematerial_clean`), a large-scale collection of ~4.35 million augmented CIFs derived from major materials databases.
67
-
68
- - **Source:** LeMaterial (via `c-bone/lematerial_clean`)
69
- - **Preprocessing:** CIFs are deduplicated, augmented (with symmetry operations), and tokenized.
70
-
71
- ### Training Procedure
72
-
73
- - **Architecture:** GPT-2 Small (~25.9M parameters).
74
- - **Objective:** Causal Language Modeling (Next-token prediction).
75
- - **Loss Function:** Cross-entropy with specific weighting for fixed syntax tokens to accelerate learning of the CIF format.
76
-
77
- ## Evaluation
78
-
79
- ### Metrics
80
-
81
- The model is evaluated based on:
82
- 1. **Validity:** The rate at which generated sequences can be parsed as valid CIF files.
83
- 2. **Structural Consistency:** Adherence to space group symmetry and reasonable bond lengths.
84
-
85
- ### Results
86
-
87
- The base model achieves high validity rates and effectively learns to generate chemically plausible structures, serving as a foundation for downstream property-conditioning tasks.
88
 
89
  ## Citation
90
 
 
55
  - **Training Distribution:** The model reflects the biases present in the LeMaterial dataset. It is most effective at generating structures similar to known stable inorganic compounds.
56
  - **Validity:** While it learns CIF syntax reliably, it may still generate physically invalid structures (e.g., overlapping atoms) or chemically unstable compositions.
57
 
58
+ ## Getting started
59
 
60
+ Generation: [`T2_load_and_generate.ipynb`](https://github.com/C-Bone-UCL/CrystaLLM-pi/blob/main/notebooks/T2_load_and_generate.ipynb). Finetuning onto a property: [`T1_finetune_density_example.ipynb`](https://github.com/C-Bone-UCL/CrystaLLM-pi/blob/main/notebooks/T1_finetune_density_example.ipynb).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
 
62
  ## Citation
63