anrilombard / ssm-20m

huggingface.co
Total runs: 9
24-hour runs: -1
7-day runs: 2
30-day runs: 6
Model's Last Updated: January 11 2025

Introduction of ssm-20m

Model Details of ssm-20m

SSM_20M

SSM_20M is a mamba-based model designed for molecular generation tasks. This model was trained using the code available at https://github.com/Anri-Lombard/Mamba-SAFE . It was trained from scratch on the MOSES dataset, which has been converted from SMILES to the SAFE (SMILES Augmented For Encoding) format to enhance molecular representation for machine learning applications. Leveraging the efficiency of the Mamba framework, SSM_20M achieves performance comparable to transformer-based alternatives such as SAFE_20M .

Evaluation Results

SSM_20M demonstrates performance on par with transformer-based models in molecular generation tasks, ensuring both validity and diversity of the generated molecular structures.

Model Description

SSM_20M utilizes the Mamba framework, which offers linear-time sequence modeling with selective state spaces, to generate valid and diverse molecular structures. By converting the MOSES dataset from SMILES to SAFE format, the model benefits from improved molecular encoding, facilitating better performance in various applications such as:

  • Drug Discovery: Identifying potential drug candidates with desirable properties.
  • Materials Science: Designing new materials with specific characteristics.
  • Chemical Engineering: Innovating chemical processes and compounds.
Mamba Framework

The Mamba framework, integral to SSM_20M, was introduced in the following paper:

@article{gu2023mamba,
  title={Mamba: Linear-time sequence modeling with selective state spaces},
  author={Gu, Albert and Dao, Tri},
  journal={arXiv preprint arXiv:2312.00752},
  year={2023}
}

We acknowledge and thank the authors for their valuable contribution to the field of sequence modeling.

SAFE Framework

The SAFE framework, also utilized in SSM_20M, was introduced in the following paper:

@article{noutahi2024gotta,
  title={Gotta be SAFE: a new framework for molecular design},
  author={Noutahi, Emmanuel and Gabellini, Cristian and Craig, Michael and Lim, Jonathan SC and Tossou, Prudencio},
  journal={Digital Discovery},
  volume={3},
  number={4},
  pages={796--804},
  year={2024},
  publisher={Royal Society of Chemistry}
}

We also acknowledge and thank the authors for their valuable contribution to the field of molecular design.

Intended Uses & Limitations
Intended Uses

SSM_20M is primarily intended for:

  • Generating Molecular Structures: Creating novel molecules with desired properties.
  • Exploring Chemical Space: Navigating the vast landscape of possible chemical compounds for research and development.
  • Assisting in Material Design: Facilitating the creation of new materials with specific functionalities.
Limitations
  • Validation Required: Outputs should be validated by domain experts before practical application.
  • Synthetic Feasibility: Generated molecules may not always be synthetically feasible.
  • Dataset Scope: The model's knowledge is limited to the chemical space represented in the MOSES dataset.
Training and Evaluation Data

The model was trained on the MOSES (MOlecular SEtS) dataset, a benchmark dataset for molecular generation. The dataset was converted from SMILES to the SAFE format to enhance molecular representation for machine learning tasks.

Training Procedure
Training Hyperparameters

The following hyperparameters were used during training:

  • Learning Rate: 0.0005
  • Training Batch Size: 32
  • Evaluation Batch Size: 32
  • Seed: 42
  • Gradient Accumulation Steps: 2
  • Total Training Batch Size: 64
  • Optimizer: Adam (betas=(0.9, 0.999), epsilon=1e-08)
  • Learning Rate Scheduler: Linear with 20,000 warmup steps
  • Number of Epochs: 10
Framework Versions
  • Mamba: [Version specific to your setup]
  • PyTorch: [Version specific to your setup]
  • Datasets: 2.20.0
  • Tokenizers: 0.19.1
Acknowledgements

We acknowledge and thank the authors of the Mamba and SAFE frameworks for their valuable contributions to the fields of sequence modeling and molecular design.

References
@article{gu2023mamba,
  title={Mamba: Linear-time sequence modeling with selective state spaces},
  author={Gu, Albert and Dao, Tri},
  journal={arXiv preprint arXiv:2312.00752},
  year={2023}
}

@article{noutahi2024gotta,
  title={Gotta be SAFE: a new framework for molecular design},
  author={Noutahi, Emmanuel and Gabellini, Cristian and Craig, Michael and Lim, Jonathan SC and Tossou, Prudencio},
  journal={Digital Discovery},
  volume={3},
  number={4},
  pages={796--804},
  year={2024},
  publisher={Royal Society of Chemistry}
}

Runs of anrilombard ssm-20m on huggingface.co

9
Total runs
-1
24-hour runs
-1
3-day runs
2
7-day runs
6
30-day runs

More Information About ssm-20m huggingface.co Model

ssm-20m huggingface.co

ssm-20m huggingface.co is an AI model on huggingface.co that provides ssm-20m's model effect (), which can be used instantly with this anrilombard ssm-20m model. huggingface.co supports a free trial of the ssm-20m model, and also provides paid use of the ssm-20m. Support call ssm-20m model through api, including Node.js, Python, http.

anrilombard ssm-20m online free

ssm-20m huggingface.co is an online trial and call api platform, which integrates ssm-20m's modeling effects, including api services, and provides a free online trial of ssm-20m, you can try ssm-20m online for free by clicking the link below.

anrilombard ssm-20m online free url in huggingface.co:

https://huggingface.co/anrilombard/ssm-20m

ssm-20m install

ssm-20m is an open source model from GitHub that offers a free installation service, and any user can find ssm-20m on GitHub to install. At the same time, huggingface.co provides the effect of ssm-20m install, users can directly use ssm-20m installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

ssm-20m install url in huggingface.co:

https://huggingface.co/anrilombard/ssm-20m

Url of ssm-20m

Provider of ssm-20m huggingface.co

anrilombard
ORGANIZATIONS

Other API from anrilombard

huggingface.co

Total runs: 12
Run Growth: -8
Growth Rate: -66.67%
Updated:January 11 2025
huggingface.co

Total runs: 10
Run Growth: 6
Growth Rate: 60.00%
Updated:January 11 2025