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

BubbleSheep
/
Hgn_trans_en2zh

Translation
Transformers
PyTorch
English
Chinese
marian
text2text-generation
Model card Files Files and versions
xet

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

  • Libraries
  • Transformers

    How to use BubbleSheep/Hgn_trans_en2zh 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="BubbleSheep/Hgn_trans_en2zh")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("BubbleSheep/Hgn_trans_en2zh")
    model = AutoModelForSeq2SeqLM.from_pretrained("BubbleSheep/Hgn_trans_en2zh")
  • Notebooks
  • Google Colab
  • Kaggle
Hgn_trans_en2zh
313 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 22 commits
BubbleSheep's picture
BubbleSheep
Update README.md
f1793d1 almost 4 years ago
  • .gitattributes
    1.34 kB
    initial commit almost 4 years ago
  • README.md
    912 Bytes
    Update README.md almost 4 years ago
  • config.json
    1.51 kB
    fine-tuned model almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    310 MB
    xet
    fine-tuned model almost 4 years ago
  • source.spm
    806 kB
    Upload source.spm almost 4 years ago
  • special_tokens_map.json
    65 Bytes
    Upload special_tokens_map.json almost 4 years ago
  • target.spm
    805 kB
    Upload target.spm almost 4 years ago
  • tokenizer_config.json
    334 Bytes
    fine-tuned model almost 4 years ago
  • vocab.json
    1.75 MB
    Upload vocab.json almost 4 years ago