Instructions to use yarongef/DistilProtBert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yarongef/DistilProtBert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="yarongef/DistilProtBert")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("yarongef/DistilProtBert") model = AutoModelForMaskedLM.from_pretrained("yarongef/DistilProtBert") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -36,4 +36,4 @@ DistilProtBert model was pretrained on [Uniref50](https://www.uniprot.org/downlo
|
|
| 36 |
# Pretraining procedure
|
| 37 |
|
| 38 |
Preprocessing was done using ProtBert's tokenizer.
|
| 39 |
-
The details of the masking procedure for each sequence followed the original Bert (as mentioned in [ProtBert](https://huggingface.co/Rostlab/prot_bert).
|
|
|
|
| 36 |
# Pretraining procedure
|
| 37 |
|
| 38 |
Preprocessing was done using ProtBert's tokenizer.
|
| 39 |
+
The details of the masking procedure for each sequence followed the original Bert (as mentioned in [ProtBert](https://huggingface.co/Rostlab/prot_bert)).
|