Update metadata with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,74 +1,75 @@
|
|
| 1 |
-
---
|
| 2 |
-
tags:
|
| 3 |
-
- torch_molecule
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
- **
|
| 12 |
-
- **
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
| 17 |
-
|
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
model
|
| 27 |
-
model
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
#
|
| 34 |
-
#
|
| 35 |
-
#
|
| 36 |
-
#
|
| 37 |
-
#
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
- **
|
| 46 |
-
- **
|
| 47 |
-
- **
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
"
|
| 52 |
-
"
|
| 53 |
-
"
|
| 54 |
-
"
|
| 55 |
-
"
|
| 56 |
-
"
|
| 57 |
-
"
|
| 58 |
-
"
|
| 59 |
-
"
|
| 60 |
-
"
|
| 61 |
-
"
|
| 62 |
-
"
|
| 63 |
-
"
|
| 64 |
-
"
|
| 65 |
-
"
|
| 66 |
-
"
|
| 67 |
-
"
|
| 68 |
-
|
| 69 |
-
"
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
"
|
| 73 |
-
|
| 74 |
-
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- torch_molecule
|
| 4 |
+
- molecular-property-prediction
|
| 5 |
+
library_name: torch_molecule
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# MoamaMolecularEncoder Model
|
| 9 |
+
|
| 10 |
+
## Model Description
|
| 11 |
+
- **Model Type**: MoamaMolecularEncoder
|
| 12 |
+
- **Framework**: torch_molecule
|
| 13 |
+
- **Last Updated**: 2025-07-28
|
| 14 |
+
|
| 15 |
+
## Task Summary
|
| 16 |
+
| Task | Version | Last Updated | Parameters | Metrics |
|
| 17 |
+
|------|---------|--------------|------------|----------|
|
| 18 |
+
| default | 0.0.4 | 2025-07-28 | 3,832,927 | |
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
## Usage
|
| 22 |
+
|
| 23 |
+
```python
|
| 24 |
+
from torch_molecule import MoamaMolecularEncoder
|
| 25 |
+
|
| 26 |
+
# Load model for specific task
|
| 27 |
+
model = MoamaMolecularEncoder()
|
| 28 |
+
model.load(
|
| 29 |
+
"local_model_dir/MoamaMolecularEncoder.pt",
|
| 30 |
+
repo="Do1Yun/TorchMoleculeEncoderRepo"
|
| 31 |
+
)
|
| 32 |
+
|
| 33 |
+
# For predictor: Make predictions
|
| 34 |
+
# predictions = model.predict(smiles_list)
|
| 35 |
+
# For generator: Make generations
|
| 36 |
+
# generations = model.generate(n_samples)
|
| 37 |
+
# For encoder: Make encodings
|
| 38 |
+
# encodings = model.encode(smiles_list)
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
## Tasks Details
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
### default Task
|
| 45 |
+
- **Current Version**: 0.0.4
|
| 46 |
+
- **Last Updated**: 2025-07-28
|
| 47 |
+
- **Parameters**: 3,832,927
|
| 48 |
+
- **Configuration**:
|
| 49 |
+
```python
|
| 50 |
+
{
|
| 51 |
+
"mask_rate": 0.15,
|
| 52 |
+
"lw_rec": 0.5,
|
| 53 |
+
"encoder_type": "gin-virtual",
|
| 54 |
+
"readout": "sum",
|
| 55 |
+
"num_layer": 5,
|
| 56 |
+
"hidden_size": 300,
|
| 57 |
+
"drop_ratio": 0.5,
|
| 58 |
+
"norm_layer": "batch_norm",
|
| 59 |
+
"batch_size": 128,
|
| 60 |
+
"epochs": 500,
|
| 61 |
+
"learning_rate": 0.001,
|
| 62 |
+
"weight_decay": 0.0,
|
| 63 |
+
"grad_clip_value": null,
|
| 64 |
+
"use_lr_scheduler": false,
|
| 65 |
+
"scheduler_factor": 0.5,
|
| 66 |
+
"scheduler_patience": 5,
|
| 67 |
+
"fitting_epoch": 499,
|
| 68 |
+
"device": {
|
| 69 |
+
"_type": "unknown",
|
| 70 |
+
"repr": "cuda:0"
|
| 71 |
+
},
|
| 72 |
+
"verbose": false,
|
| 73 |
+
"model_name": "MoamaMolecularEncoder"
|
| 74 |
+
}
|
| 75 |
+
```
|