Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

HIT-TMG
/
dialogue-bart-large-chinese

Transformers
PyTorch
Chinese
bart
text2text-generation
bart-large-chinese
Model card Files Files and versions
xet
Community
1

Instructions to use HIT-TMG/dialogue-bart-large-chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use HIT-TMG/dialogue-bart-large-chinese with Transformers:

    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("HIT-TMG/dialogue-bart-large-chinese")
    model = AutoModelForSeq2SeqLM.from_pretrained("HIT-TMG/dialogue-bart-large-chinese", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
dialogue-bart-large-chinese
1.5 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 32 commits
YanshekWoo's picture
YanshekWoo
Update README.md
a347d8b almost 4 years ago
  • .gitattributes
    1.17 kB
    initial commit over 4 years ago
  • README.md
    2.22 kB
    Update README.md almost 4 years ago
  • config.json
    1.72 kB
    Upload config.json over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.5 GB
    xet
    Upload pytorch_model.bin over 4 years ago
  • special_tokens_map.json
    112 Bytes
    Upload special_tokens_map.json over 4 years ago
  • tokenizer_config.json
    449 Bytes
    Upload tokenizer_config.json over 4 years ago
  • vocab.txt
    110 kB
    Upload vocab.txt over 4 years ago