Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

allegro
/
p5-ces2many

Translation
Transformers
Safetensors
PyTorch
marian
text2text-generation
mt
sentence-piece
many2one
multilingual
pivot
allegro
laniqo
Model card Files Files and versions
xet
Community
1

Instructions to use allegro/p5-ces2many with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use allegro/p5-ces2many 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="allegro/p5-ces2many")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("allegro/p5-ces2many")
    model = AutoModelForSeq2SeqLM.from_pretrained("allegro/p5-ces2many")
  • Notebooks
  • Google Colab
  • Kaggle
p5-ces2many
1.04 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
ArturKotAllegro's picture
ArturKotAllegro
Upload 4 files
01e0b1d verified over 1 year ago
  • .gitattributes
    1.61 kB
    Upload tokenizer over 1 year ago
  • README.md
    16 kB
    Upload 4 files over 1 year ago
  • allegro-title.svg
    45.7 kB
    Upload 4 files over 1 year ago
  • config.json
    1.08 kB
    Upload model over 1 year ago
  • generation_config.json
    281 Bytes
    Upload model over 1 year ago
  • model.safetensors
    1.03 GB
    xet
    Upload model over 1 year ago
  • p5-ces.svg
    41.4 kB
    Upload 4 files over 1 year ago
  • pivot-data-ces2many.svg
    12.1 kB
    Upload 4 files over 1 year ago
  • source.spm
    1.74 MB
    xet
    Upload tokenizer over 1 year ago
  • special_tokens_map.json
    416 Bytes
    Upload tokenizer over 1 year ago
  • target.spm
    1.74 MB
    xet
    Upload tokenizer over 1 year ago
  • tokenizer_config.json
    812 Bytes
    Upload tokenizer over 1 year ago
  • vocab.json
    2.17 MB
    Upload tokenizer over 1 year ago