Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Rostlab
/
ProstT5

Translation
Transformers
PyTorch
t5
text2text-generation
biology
text-generation-inference
Model card Files Files and versions
xet
Community
4

Instructions to use Rostlab/ProstT5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Rostlab/ProstT5 with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "translation" 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("translation", model="Rostlab/ProstT5")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Rostlab/ProstT5")
    model = AutoModelForSeq2SeqLM.from_pretrained("Rostlab/ProstT5")
  • Notebooks
  • Google Colab
  • Kaggle
ProstT5
11.3 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
adrianhenkel's picture
adrianhenkel
Adds new dataset URL to the model card
ea96e8d over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • README.md
    11.3 kB
    Adds new dataset URL to the model card over 2 years ago
  • added_tokens.json
    283 Bytes
    Uploading ProstT5 checkpoint almost 3 years ago
  • config.json
    758 Bytes
    Uploading ProstT5 checkpoint almost 3 years ago
  • prostt5_sketch.png
    325 kB
    Upload prostt5_sketch.png almost 3 years ago
  • prostt5_sketch2.png
    147 kB
    Upload prostt5_sketch2.png almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage",
    • "collections.OrderedDict"

    What is a pickle import?

    11.3 GB
    xet
    Uploading ProstT5 checkpoint almost 3 years ago
  • special_tokens_map.json
    2.2 kB
    Uploading ProstT5 checkpoint almost 3 years ago
  • spiece.model
    238 kB
    xet
    Uploading ProstT5 checkpoint almost 3 years ago
  • tokenizer_config.json
    2.61 kB
    Uploading ProstT5 checkpoint almost 3 years ago