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

Aparna852
/
de-en-translator

Translation
Transformers
Safetensors
German
English
marian
text2text-generation
german
english
wmt16
seq2seq
evaluation
Model card Files Files and versions
xet
Community

Instructions to use Aparna852/de-en-translator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use Aparna852/de-en-translator 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="Aparna852/de-en-translator")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("Aparna852/de-en-translator")
    model = AutoModelForSeq2SeqLM.from_pretrained("Aparna852/de-en-translator")
  • Notebooks
  • Google Colab
  • Kaggle
de-en-translator
299 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Aparna852's picture
Aparna852
Update README.md
52d86f9 verified 11 months ago
  • .gitattributes
    1.61 kB
    Upload tokenizer 11 months ago
  • README.md
    2.51 kB
    Update README.md 11 months ago
  • config.json
    1.3 kB
    Upload model 11 months ago
  • generation_config.json
    288 Bytes
    Upload model 11 months ago
  • model.safetensors
    296 MB
    xet
    Upload model 11 months ago
  • source.spm
    797 kB
    xet
    Upload tokenizer 11 months ago
  • special_tokens_map.json
    416 Bytes
    Upload tokenizer 11 months ago
  • target.spm
    768 kB
    xet
    Upload tokenizer 11 months ago
  • tokenizer_config.json
    847 Bytes
    Upload tokenizer 11 months ago
  • vocab.json
    1.39 MB
    Upload tokenizer 11 months ago