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

  • Log In
  • Sign Up

allegro
/
multislav-4slav

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

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

  • Libraries
  • Transformers

    How to use allegro/multislav-4slav 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/multislav-4slav")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("allegro/multislav-4slav")
    model = AutoModelForSeq2SeqLM.from_pretrained("allegro/multislav-4slav")
  • Notebooks
  • Google Colab
  • Kaggle
multislav-4slav
973 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
ArturKotAllegro's picture
ArturKotAllegro
Upload 4 files
cdcdefa verified about 1 year ago
  • .gitattributes
    1.61 kB
    Upload tokenizer over 1 year ago
  • README.md
    14.8 kB
    Upload 4 files about 1 year ago
  • allegro-title.svg
    45.7 kB
    Upload 4 files about 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
    968 MB
    xet
    Upload model over 1 year ago
  • multi4-data.svg
    17.6 kB
    Upload 4 files about 1 year ago
  • multislav-4slav.svg
    28.5 kB
    Upload 4 files about 1 year ago
  • source.spm
    1.45 MB
    xet
    Upload tokenizer over 1 year ago
  • special_tokens_map.json
    416 Bytes
    Upload tokenizer over 1 year ago
  • target.spm
    1.45 MB
    xet
    Upload tokenizer over 1 year ago
  • tokenizer_config.json
    812 Bytes
    Upload tokenizer over 1 year ago
  • vocab.json
    1.77 MB
    Upload tokenizer over 1 year ago