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

  • Log In
  • Sign Up

gyr66
/
machine_translation

Translation
Transformers
Safetensors
English
Chinese
mbart
feature-extraction
Model card Files Files and versions
xet
Community

Instructions to use gyr66/machine_translation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use gyr66/machine_translation 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="gyr66/machine_translation")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("gyr66/machine_translation")
    model = AutoModel.from_pretrained("gyr66/machine_translation")
  • Notebooks
  • Google Colab
  • Kaggle
machine_translation
2.46 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
gyr66's picture
gyr66
Update README.md
6ac8623 over 2 years ago
  • .gitattributes
    1.57 kB
    Upload tokenizer over 2 years ago
  • README.md
    784 Bytes
    Update README.md over 2 years ago
  • config.json
    1.43 kB
    Upload model over 2 years ago
  • model.safetensors
    2.44 GB
    xet
    Upload model over 2 years ago
  • special_tokens_map.json
    1.33 kB
    Upload tokenizer over 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    Upload tokenizer over 2 years ago
  • tokenizer_config.json
    5.85 kB
    Upload tokenizer over 2 years ago