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

  • Log In
  • Sign Up

Kamrani
/
t5-large

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

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

  • Libraries
  • Transformers

    How to use Kamrani/t5-large 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="Kamrani/t5-large")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Kamrani/t5-large")
    model = AutoModelForSeq2SeqLM.from_pretrained("Kamrani/t5-large")
  • Notebooks
  • Google Colab
  • Kaggle
t5-large
2.95 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
Kamrani's picture
Kamrani
Update README.md
aba0d1f almost 4 years ago
  • .gitattributes
    1.34 kB
    initial commit almost 4 years ago
  • README.md
    8.42 kB
    Update README.md almost 4 years ago
  • config.json
    1.07 kB
    Upload config.json almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    2.95 GB
    xet
    Upload pytorch_model.bin almost 4 years ago
  • special_tokens_map.json
    1.79 kB
    Upload special_tokens_map.json almost 4 years ago
  • spiece.model
    864 kB
    xet
    Upload spiece.model almost 4 years ago
  • tokenizer_config.json
    1.95 kB
    Upload tokenizer_config.json almost 4 years ago