Instructions to use Rostlab/prot_bert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Rostlab/prot_bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Rostlab/prot_bert")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("Rostlab/prot_bert", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download .gitattributes from Rostlab/prot_bert: direct link, hf CLI and curl.
- Browser
- Download file 345 Bytes
-
https://huggingface.co/Rostlab/prot_bert/resolve/main/.gitattributes
- Command line
-
hf download hf://Rostlab/prot_bert/.gitattributes
-
curl -L -o .gitattributes https://huggingface.co/Rostlab/prot_bert/resolve/main/.gitattributes
345 Bytes
| *.bin.* filter=lfs diff=lfs merge=lfs -text | |
| *.lfs.* filter=lfs diff=lfs merge=lfs -text | |
| *.bin filter=lfs diff=lfs merge=lfs -text | |
| *.h5 filter=lfs diff=lfs merge=lfs -text | |
| *.tflite filter=lfs diff=lfs merge=lfs -text | |
| *.tar.gz filter=lfs diff=lfs merge=lfs -text | |
| *.ot filter=lfs diff=lfs merge=lfs -text | |
| *.onnx filter=lfs diff=lfs merge=lfs -text | |