Translation
Transformers
PyTorch
t5
text2text-generation
chemistry
biology
text-generation-inference
Instructions to use AI4PD/REXzyme with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AI4PD/REXzyme with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # 'pip install "transformers<5.0.0' from transformers import pipeline pipe = pipeline("translation", model="AI4PD/REXzyme")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("AI4PD/REXzyme") model = AutoModelForSeq2SeqLM.from_pretrained("AI4PD/REXzyme") - Notebooks
- Google Colab
- Kaggle
Commit ·
7e3b0f0
1
Parent(s): 62b68b9
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,13 +5,7 @@ tags:
|
|
| 5 |
- chemistry
|
| 6 |
- biology
|
| 7 |
widget:
|
| 8 |
-
-
|
| 9 |
-
- text: "r2sNC1=NC=NC2=C1N=CN2[C@@H]1O[C@H](COP(=O)([O-])OP(=O)([O-])OP(=O)([O-])[O-])[C@@H](O)[C@H]1O.*N[C@@H](CO)C(*)=O>>NC1=NC=NC2=C1N=CN2[C@@H]1O[C@H](COP(=O)([O-])OP(=O)([O-])[O-])[C@@H](O)[C@H]1O.[H+].*N[C@@H](COP(=O)([O-])[O-])C(*)=O</s>"
|
| 10 |
-
inference:
|
| 11 |
-
parameters:
|
| 12 |
-
top_k: 15
|
| 13 |
-
top_p: 0.92
|
| 14 |
-
repetition_penalty: 1.2
|
| 15 |
---
|
| 16 |
|
| 17 |
# **Contributors**
|
|
|
|
| 5 |
- chemistry
|
| 6 |
- biology
|
| 7 |
widget:
|
| 8 |
+
- inference: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# **Contributors**
|