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
|
@@ -12,6 +12,8 @@ datasets:
|
|
| 12 |
Distilled version of [ProtBert-UniRef100](https://huggingface.co/Rostlab/prot_bert) model.
|
| 13 |
In addition to cross entropy and cosine teacher-student losses, DistilProtBert was pretrained on a masked language modeling (MLM) objective and it only works with capital letter amino acids.
|
| 14 |
|
|
|
|
|
|
|
| 15 |
# Model description
|
| 16 |
|
| 17 |
DistilProtBert was pretrained on millions of proteins sequences.
|
|
|
|
| 12 |
Distilled version of [ProtBert-UniRef100](https://huggingface.co/Rostlab/prot_bert) model.
|
| 13 |
In addition to cross entropy and cosine teacher-student losses, DistilProtBert was pretrained on a masked language modeling (MLM) objective and it only works with capital letter amino acids.
|
| 14 |
|
| 15 |
+
|
| 16 |
+
Access to [git](https://github.com/yarongef/DistilProtBert)
|
| 17 |
# Model description
|
| 18 |
|
| 19 |
DistilProtBert was pretrained on millions of proteins sequences.
|