Downloads · 30 days
13
13% of all-time downloads
shengyongniu/dawo
dawo is a machine learning model from shengyongniu. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as mit.
[](https://huggingface.co/datasets/tahoebio/Tahoe-100M)
Downloads · 30 days
13
13% of all-time downloads
All-time downloads
97
Public
Repo size
29.7 MB
Likes
2
Public
Click a slice to open those files.
.pth27.8 MB · 64%
From the Hugging Face model README
DAWO
DAWO: Drug-Aware and Cell-line-Aware Variational Autoencoder for Drug Response Prediction


https://www.loom.com/share/23bb756458684b2eb416265049068331?sid=c3d6fab1-9041-4309-91bb-1a36a2fa3e16
DAWO is a specialized Variational Autoencoder (VAE) designed to predict drug responses in cancer cell lines by integrating gene expression data with drug and cell line features. The model leverages multi-modal representation learning to capture complex interactions between drugs and cells, enabling more accurate prediction of drug responses across diverse conditions.
Understanding and predicting how cancer cells respond to different therapeutic compounds is crucial for advancing precision medicine approaches in oncology. Traditional methods often fail to capture the complex relationships between drugs, cell lines, and their molecular profiles. DAWO addresses this challenge by combining a VAE architecture with drug-aware and cell-line-aware components to model these interactions effectively.
DAWO incorporates a multi-modal architecture with the following key components:
The model was trained using a combined loss function that balances reconstruction accuracy, latent space regularization, and classification performance.
DAWO demonstrates strong performance in predicting drug responses across multiple cancer cell lines, with particular strength in:
Our model provides a powerful framework for drug response prediction that could accelerate drug discovery and repurposing efforts. The integration of multi-modal data (gene expression, drug features, cell line characteristics) enables DAWO to capture complex interaction patterns that simpler models miss.
Limitations include the need for comprehensive feature sets for new drugs and cell lines, and potential biases from the training data distribution. Future work will focus on incorporating additional molecular modalities and expanding the training data to improve generalization across diverse drug classes.
Using a variational autoencoder (VAE) approach, DAWO learns latent representations of these data sources and combines them to predict drug responses and identify potential drug-cell line interactions.
from dawo_wrapper import DAWOWrapper
# Initialize model
model = DAWOWrapper(repo_path="path/to/model")
# Prepare inputs
# gene_expression: tensor of shape [batch_size, 5000]
# drug_features: tensor of shape [batch_size, 3122]
# cell_features: tensor of shape [batch_size, 113]
# Make predictions
results = model.predict(gene_expression, drug_features, cell_features)
# Access outputs
reconstructed_expression = results["x_hat"]
latent_representation = results["mu"]
drug_response_predictions = results["y_pred"]
response_probabilities = results["probs"]
This model was developed using the Tahoe-100M dataset as part of the Tahoe-DeepDive Hackathon 2025.
MIT License
Copyright (c) 2023 Team DAWO
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.