Instructions to use unikei/bert-base-proteins with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use unikei/bert-base-proteins with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="unikei/bert-base-proteins")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("unikei/bert-base-proteins") model = AutoModelForMaskedLM.from_pretrained("unikei/bert-base-proteins", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload tokenizer.json
Browse files- tokenizer.json +1 -1
tokenizer.json
CHANGED
|
@@ -143,7 +143,7 @@
|
|
| 143 |
"type": "WordPiece",
|
| 144 |
"unk_token": "[UNK]",
|
| 145 |
"continuing_subword_prefix": "##",
|
| 146 |
-
"max_input_chars_per_word":
|
| 147 |
"vocab": {
|
| 148 |
"[PAD]": 0,
|
| 149 |
"[UNK]": 1,
|
|
|
|
| 143 |
"type": "WordPiece",
|
| 144 |
"unk_token": "[UNK]",
|
| 145 |
"continuing_subword_prefix": "##",
|
| 146 |
+
"max_input_chars_per_word": 33000,
|
| 147 |
"vocab": {
|
| 148 |
"[PAD]": 0,
|
| 149 |
"[UNK]": 1,
|