pytorch t5 text2text-generation arxiv:2204.11817 transformers license:apache-2.0 autotrain_compatible
---
license: apache-2.0
---
## Example Usage
```python
from transformers import AutoTokenizer, T5ForConditionalGeneration

tokenizer = AutoTokenizer.from_pretrained("laituan245/molt5-small", model_max_length=512)
model = T5ForConditionalGeneration.from_pretrained('laituan245/molt5-small')
```

## Paper

For more information, please take a look at our paper.

Paper: [Translation between Molecules and Natural Language](https://arxiv.org/abs/2204.11817)

Authors: *Carl Edwards\*, Tuan Lai\*, Kevin Ros, Garrett Honke, Heng Ji* 
