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

supermy
/
couplet-helsinki

Translation
Transformers
PyTorch
Chinese
marian
feature-extraction
Model card Files Files and versions
xet
Community
2

Instructions to use supermy/couplet-helsinki with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use supermy/couplet-helsinki 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="supermy/couplet-helsinki")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("supermy/couplet-helsinki")
    model = AutoModel.from_pretrained("supermy/couplet-helsinki", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
couplet-helsinki
315 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
supermy's picture
supermy
Update README.md
bffbd0a over 3 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    4.48 kB
    Update README.md over 3 years ago
  • config.json
    1.41 kB
    Upload model over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    312 MB
    xet
    Upload model over 3 years ago
  • special_tokens_map.json
    74 Bytes
    Upload tokenizer over 3 years ago
  • tokenizer.json
    3.54 MB
    Upload tokenizer over 3 years ago
  • tokenizer_config.json
    495 Bytes
    Upload tokenizer over 3 years ago