Instructions to use AI4Protein/deep_bpe_50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AI4Protein/deep_bpe_50 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="AI4Protein/deep_bpe_50")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("AI4Protein/deep_bpe_50") model = AutoModelForMaskedLM.from_pretrained("AI4Protein/deep_bpe_50", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload RoFormerForMaskedLM
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
| 20 |
"pad_token_id": 0,
|
| 21 |
"pooler_activation": "linear",
|
| 22 |
"rotary_value": false,
|
|
|
|
| 23 |
"transformers_version": "4.31.0",
|
| 24 |
"type_vocab_size": 2,
|
| 25 |
"use_cache": true,
|
|
|
|
| 20 |
"pad_token_id": 0,
|
| 21 |
"pooler_activation": "linear",
|
| 22 |
"rotary_value": false,
|
| 23 |
+
"torch_dtype": "float32",
|
| 24 |
"transformers_version": "4.31.0",
|
| 25 |
"type_vocab_size": 2,
|
| 26 |
"use_cache": true,
|