Instructions to use Rostlab/ProstT5_fp16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Rostlab/ProstT5_fp16 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Rostlab/ProstT5_fp16") model = AutoModelForSeq2SeqLM.from_pretrained("Rostlab/ProstT5_fp16", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download added_tokens.json from Rostlab/ProstT5_fp16: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/Rostlab/ProstT5_fp16/resolve/main/added_tokens.json
- Command line
-
hf download hf://Rostlab/ProstT5_fp16/added_tokens.json
-
curl -L -o added_tokens.json https://huggingface.co/Rostlab/ProstT5_fp16/resolve/main/added_tokens.json
283 Bytes
| { | |
| "<AA2fold>": 149, | |
| "<fold2AA>": 148, | |
| "a": 128, | |
| "c": 147, | |
| "d": 135, | |
| "e": 134, | |
| "f": 140, | |
| "g": 130, | |
| "h": 145, | |
| "i": 137, | |
| "k": 139, | |
| "l": 129, | |
| "m": 144, | |
| "n": 142, | |
| "p": 138, | |
| "q": 141, | |
| "r": 133, | |
| "s": 132, | |
| "t": 136, | |
| "v": 131, | |
| "w": 146, | |
| "y": 143 | |
| } | |