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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

context-mt
/
scat-marian-big-ctx4-cwd1-en-fr

Translation
Transformers
PyTorch
TensorBoard
English
French
marian
text2text-generation
contextual-mt
document-mt
Model card Files Files and versions
xet
Metrics Training metrics Community
2

Instructions to use context-mt/scat-marian-big-ctx4-cwd1-en-fr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use context-mt/scat-marian-big-ctx4-cwd1-en-fr 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="context-mt/scat-marian-big-ctx4-cwd1-en-fr")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("context-mt/scat-marian-big-ctx4-cwd1-en-fr")
    model = AutoModelForSeq2SeqLM.from_pretrained("context-mt/scat-marian-big-ctx4-cwd1-en-fr", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
scat-marian-big-ctx4-cwd1-en-fr
926 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
gsarti's picture
gsarti
Update README.md
85006a7 verified over 2 years ago
  • translation_no_trainer
    End of training about 3 years ago
  • .gitattributes
    1.57 kB
    Training in progress epoch 0 about 3 years ago
  • .gitignore
    15 Bytes
    Training in progress epoch 0 about 3 years ago
  • README.md
    982 Bytes
    Update README.md over 2 years ago
  • added_tokens.json
    21 Bytes
    Training in progress epoch 0 about 3 years ago
  • config.json
    1.14 kB
    Training in progress epoch 0 about 3 years ago
  • generation_config.json
    296 Bytes
    Training in progress epoch 0 about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    923 MB
    xet
    End of training about 3 years ago
  • source.spm
    802 kB
    xet
    Training in progress epoch 0 about 3 years ago
  • special_tokens_map.json
    124 Bytes
    Training in progress epoch 0 about 3 years ago
  • target.spm
    820 kB
    xet
    Training in progress epoch 0 about 3 years ago
  • tokenizer_config.json
    280 Bytes
    Training in progress epoch 0 about 3 years ago
  • vocab.json
    1.33 MB
    Training in progress epoch 0 about 3 years ago