Instructions to use AI4Protein/deep_bpe_1600 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AI4Protein/deep_bpe_1600 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="AI4Protein/deep_bpe_1600")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("AI4Protein/deep_bpe_1600") model = AutoModelForMaskedLM.from_pretrained("AI4Protein/deep_bpe_1600", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from AI4Protein/deep_bpe_1600: direct link, hf CLI and curl.
- Browser
- Download file 146 Bytes
-
https://huggingface.co/AI4Protein/deep_bpe_1600/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://AI4Protein/deep_bpe_1600/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/AI4Protein/deep_bpe_1600/resolve/main/tokenizer_config.json
146 Bytes
| { | |
| "clean_up_tokenization_spaces": true, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "tokenizer_class": "PreTrainedTokenizerFast" | |
| } | |