Downloads · 30 days
0
batterdaysahead/molecular-odor-prediction
molecular-odor-prediction is a tabular classification model from batterdaysahead. Use it for the tabular classification task on the model card, and read the license before you ship it in a product. It is set up for sklearn. The card lists the license as mit.
Predict odor descriptors and perceptual ratings from a molecule's SMILES string.
Downloads · 30 days
0
Access
Public
Updated Mar 4, 2026
Repo size
11.1 MB
Likes
0
Public
Click a slice to open those files.
.json33 MB · 75%
From the Hugging Face model README
Predict odor descriptors and perceptual ratings from a molecule's SMILES string.
What it does:
| Task | Metric | Score |
|---|---|---|
| Odor Classification | Top-20 Macro F1 | 0.45 |
| Odor Classification | Mean AUC-ROC | 0.84 |
| Pleasantness | Pearson r | 0.55 |
| Intensity | Pearson r | 0.34 |
| Familiarity | Pearson r | 0.44 |
pip install torch xgboost rdkit numpy
from src.predict import predict
predict("c1ccc(cc1)C=O") # Benzaldehyde - smells like almonds
Output:
Odor descriptors:
sweet : 0.98
spicy : 0.98
almond : 0.98
floral : 0.96
green : 0.93
Perceptual ratings (0-1 scale):
Pleasantness: 0.99
Intensity : 0.89
Familiarity : 0.92
All training data comes from the Pyrfume project:
| Dataset | What it contains |
|---|---|
| GoodScents | ~4,500 molecules with expert odor annotations |
| Leffingwell | ~3,200 molecules with odor descriptors |
| Keller et al. 2016/2012 | Perceptual ratings (pleasantness, intensity, familiarity) |
| MA et al. 2021 | Additional perceptual ratings |
| Arshamian et al. 2022 | Pleasantness rankings |
Classifier (odor descriptors):
Regressor (perceptual ratings):
@misc{molecular-odor-prediction,
title={Molecular Odor Prediction},
author={batterdaysahead},
year={2026},
url={https://huggingface.co/batterdaysahead/molecular-odor-prediction},
}
MIT