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

  • Log In
  • Sign Up

pere
/
test-t5-small

Translation
Transformers
PyTorch
JAX
t5
text2text-generation
summarization
text-generation-inference
Model card Files Files and versions
xet
Community
2

Instructions to use pere/test-t5-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use pere/test-t5-small 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="pere/test-t5-small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("pere/test-t5-small")
    model = AutoModelForSeq2SeqLM.from_pretrained("pere/test-t5-small")
  • Notebooks
  • Google Colab
  • Kaggle
test-t5-small
1.17 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
pere's picture
pere
test
40852f0 about 4 years ago
  • directly_from_t5x
    new attempt about 4 years ago
  • .gitattributes
    1.18 kB
    initial commit about 4 years ago
  • README.md
    1.67 kB
    update about 4 years ago
  • config.json
    1.42 kB
    test about 4 years ago
  • flax_model.msgpack
    242 MB
    xet
    new attempt about 4 years ago
  • operative_config.gin
    12.4 kB
    first complete about 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    242 MB
    xet
    test about 4 years ago
  • tokenizer.json
    1.39 MB
    first complete about 4 years ago