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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("yarongef/DistilProtBert") model = AutoModelForMaskedLM.from_pretrained("yarongef/DistilProtBert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,7 +17,9 @@ In addition to cross entropy and cosine teacher-student losses, DistilProtBert w
|
|
| 17 |
DistilProtBert was pretrained on millions of proteins sequences.
|
| 18 |
|
| 19 |
Few important differences between DistilProtBert model and the original ProtBert version are:
|
| 20 |
-
1. Size of the model:
|
|
|
|
|
|
|
| 21 |
2. Size of the pretraining dataset: ~43M proteins (ProtBert was pretrained on 216M proteins)
|
| 22 |
3. Hardware used for pretraining: five v100 32GB Nvidia GPUs (ProtBert was pretrained on 512 16GB TPUs)
|
| 23 |
|
|
|
|
| 17 |
DistilProtBert was pretrained on millions of proteins sequences.
|
| 18 |
|
| 19 |
Few important differences between DistilProtBert model and the original ProtBert version are:
|
| 20 |
+
1. Size of the model:
|
| 21 |
+
- 230M parameters (ProtBert has 420M parameters)
|
| 22 |
+
- 15 hidden layers (ProtBert has 30 hidden layers)
|
| 23 |
2. Size of the pretraining dataset: ~43M proteins (ProtBert was pretrained on 216M proteins)
|
| 24 |
3. Hardware used for pretraining: five v100 32GB Nvidia GPUs (ProtBert was pretrained on 512 16GB TPUs)
|
| 25 |
|