Instructions to use Rostlab/prot_t5_base_mt_uniref50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Rostlab/prot_t5_base_mt_uniref50 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="Rostlab/prot_t5_base_mt_uniref50")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("Rostlab/prot_t5_base_mt_uniref50") model = AutoModelWithLMHead.from_pretrained("Rostlab/prot_t5_base_mt_uniref50", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
8ee60f4
1
Parent(s): 2597ead
Update from agemagician
Browse files- pytorch_model.bin +1 -1
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 794619865
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d563f7879bf645320298cbeb2f5d562dc7619c3e86f212c89cc9a38dc516122
|
| 3 |
size 794619865
|