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

  • Log In
  • Sign Up

OpenMOSS-Team
/
cpt-base

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

Instructions to use OpenMOSS-Team/cpt-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use OpenMOSS-Team/cpt-base with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
    
    tokenizer = AutoTokenizer.from_pretrained("OpenMOSS-Team/cpt-base")
    model = AutoModelForSeq2SeqLM.from_pretrained("OpenMOSS-Team/cpt-base")
  • Notebooks
  • Google Colab
  • Kaggle
cpt-base
1.16 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 11 commits
yf's picture
yf
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
3dbd5b3 over 2 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#1) over 2 years ago
  • README.md
    4.08 kB
    update model to version 2.0 over 3 years ago
  • config.json
    1.69 kB
    update model to version 2.0 over 3 years ago
  • model.safetensors
    580 MB
    xet
    Adding `safetensors` variant of this model (#1) over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    580 MB
    xet
    update model to version 2.0 over 3 years ago
  • special_tokens_map.json
    156 Bytes
    update model to version 2.0 over 3 years ago
  • tokenizer_config.json
    475 Bytes
    update model to version 2.0 over 3 years ago
  • vocab.txt
    259 kB
    update model to version 2.0 over 3 years ago