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

DDDSSS
/
translation_en-zh

Translation
Transformers
PyTorch
Safetensors
English
Chinese
Model card Files Files and versions
xet
Community
3

Instructions to use DDDSSS/translation_en-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use DDDSSS/translation_en-zh 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="DDDSSS/translation_en-zh")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("DDDSSS/translation_en-zh", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
translation_en-zh
623 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 12 commits
DDDSSS's picture
DDDSSS
Update README.md
ac57c7b over 2 years ago
  • .gitattributes
    1.55 kB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • README.md
    4.33 kB
    Update README.md over 2 years ago
  • config.json
    1.52 kB
    xet
    Git LFS commit about 3 years ago
  • demo.py
    795 Bytes
    Upload demo.py about 3 years ago
  • generation_config.json
    258 Bytes
    xet
    Git LFS commit about 3 years ago
  • model.safetensors
    310 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • pytorch_model.bin
    310 MB
    xet
    Git LFS commit about 3 years ago
  • rng_state.pth
    14.6 kB
    xet
    Git LFS commit about 3 years ago
  • scaler.pt
    557 Bytes
    xet
    Git LFS commit about 3 years ago
  • scheduler.pt
    627 Bytes
    xet
    Git LFS commit about 3 years ago
  • source.spm
    806 kB
    xet
    Git LFS commit about 3 years ago
  • special_tokens_map.json
    74 Bytes
    xet
    Git LFS commit about 3 years ago
  • target.spm
    805 kB
    xet
    Git LFS commit about 3 years ago
  • tokenizer_config.json
    282 Bytes
    xet
    Git LFS commit about 3 years ago
  • trainer_state.json
    6.2 kB
    xet
    Git LFS commit about 3 years ago
  • training_args.bin
    4.09 kB
    xet
    Git LFS commit about 3 years ago
  • vocab.json
    1.75 MB
    xet
    Git LFS commit about 3 years ago