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

Tanhim
/
translation-En2De

Translation
Transformers
PyTorch
German
marian
text2text-generation
Model card Files Files and versions
xet
Community
2

Instructions to use Tanhim/translation-En2De with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Tanhim/translation-En2De 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="Tanhim/translation-En2De")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Tanhim/translation-En2De")
    model = AutoModelForSeq2SeqLM.from_pretrained("Tanhim/translation-En2De", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
translation-En2De
890 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 11 commits
lewtun's picture
lewtun HF Staff
Add evaluation results on wmt19 dataset
297e190 about 4 years ago
  • .gitattributes
    1.18 kB
    initial commit almost 5 years ago
  • README.md
    1.22 kB
    Add evaluation results on wmt19 dataset about 4 years ago
  • config.json
    1.36 kB
    Update from almost 5 years ago
  • optimizer.pt
    591 MB
    xet
    Update from almost 5 years ago
  • pytorch_model.bin
    296 MB
    xet
    Update from almost 5 years ago
  • rng_state.pth
    15.5 kB
    xet
    Update from almost 5 years ago
  • scaler.pt
    559 Bytes
    xet
    Update from almost 5 years ago
  • scheduler.pt
    623 Bytes
    xet
    Update from almost 5 years ago
  • source.spm
    768 kB
    Update from almost 5 years ago
  • special_tokens_map.json
    65 Bytes
    Update from almost 5 years ago
  • target.spm
    797 kB
    Update from almost 5 years ago
  • tokenizer_config.json
    296 Bytes
    Update from almost 5 years ago
  • trainer_state.json
    1.58 kB
    Update from almost 5 years ago
  • training_args.bin
    2.74 kB
    xet
    Update from almost 5 years ago
  • vocab.json
    1.39 MB
    Update from almost 5 years ago