Feature Extraction
Transformers
Safetensors
bert
chemistry
cheminformatics
materials-science
astra
property-prediction
regression
Instructions to use wkdghdus23/astra-predictor-initial-eb with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use wkdghdus23/astra-predictor-initial-eb with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="wkdghdus23/astra-predictor-initial-eb")# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("wkdghdus23/astra-predictor-initial-eb") model = AutoModel.from_pretrained("wkdghdus23/astra-predictor-initial-eb", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,485 Bytes
382461a fb86505 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | ---
tags:
- chemistry
- cheminformatics
- materials-science
- astra
- transformers
- bert
- property-prediction
- regression
license: mit
---
# ASTRA: Initial LUMO Predictor
This model is part of the **ASTRA (Advanced Solvation Transformer for Rational Additives)** framework.
It is a BERT-based regression model fine-tuned from the pre-trained `astra-bert-mlm`. This specific model is designed to predict the **Binding Energy (Eb)** of given additive molecules based on their SMILES.
This is the "Initial" version of the predictor, meaning it was trained on the baseline dataset before the ASTRA Active Learning loop began.
## Model Details
- **Architecture:** BERT (Sequence Classification / Regression)
- **Stage:** Initial (Before Active Learning)
- **Task:** Property Prediction (Eb)
- **Base Model:** `wkdghdus23/astra-bert-mlm`
## Usage
```python
from astra.tokenizer import initial_bert_tokenizer_with_vocabulary
from astra.model import BertForDownstream, EmbeddingTunedModel
# Load the tokenizer and model
vocab_file = "./vocab.txt"
target_name = ["Eb"]
tokenizer = initial_bert_tokenizer_with_vocabulary(path=vocab_file)
model = EmbeddingTunedModel.from_pretrained_embtune_model(pretrained_path=pretrained_model_path,
tokenizer=tokenizer,
target_name=target_name)
```
## More Information
For more details on data preparation, downstream fine-tuning, and the full active learning loop, please visit our [GitHub Repository](https://github.com/wkdghdus23/astra).
|