Instructions to use sagawa/CompoundT5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sagawa/CompoundT5 with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("sagawa/CompoundT5") model = AutoModelForSeq2SeqLM.from_pretrained("sagawa/CompoundT5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -38,6 +38,9 @@ This model can be used for the prediction of molecules' properties, reactions, o
|
|
| 38 |
As an example, We finetuned this model to predict products. Model is [here](https://huggingface.co/sagawa/ZINC-t5-productpredicition), and you can use the demo [here](https://huggingface.co/spaces/sagawa/predictproduct-t5).
|
| 39 |
Using its encoder, we trained a regression model to predict a reaction yield. You can use this demo [here](https://huggingface.co/spaces/sagawa/predictyield-t5).
|
| 40 |
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
## Training procedure
|
| 43 |
|
|
|
|
| 38 |
As an example, We finetuned this model to predict products. Model is [here](https://huggingface.co/sagawa/ZINC-t5-productpredicition), and you can use the demo [here](https://huggingface.co/spaces/sagawa/predictproduct-t5).
|
| 39 |
Using its encoder, we trained a regression model to predict a reaction yield. You can use this demo [here](https://huggingface.co/spaces/sagawa/predictyield-t5).
|
| 40 |
|
| 41 |
+
## Training and evaluation data
|
| 42 |
+
|
| 43 |
+
We downloaded [ZINC data](https://drive.google.com/drive/folders/1lSPCqh31zxTVEhuiPde7W3rZG8kPgp-z) and canonicalized them using RDKit. Then, we droped duplicates. The total number of data is 22992522, and they were randomly split into train:validation=10:1.
|
| 44 |
|
| 45 |
## Training procedure
|
| 46 |
|