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

  • Log In
  • Sign Up

xu-song
/
kplug-base-encoder

Fill-Mask
Transformers
PyTorch
Chinese
Model card Files Files and versions
xet
Community

Instructions to use xu-song/kplug-base-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use xu-song/kplug-base-encoder with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="xu-song/kplug-base-encoder")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("xu-song/kplug-base-encoder", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
kplug-base-encoder
237 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
xu song
Create tokenizer_config.json
94aeb9f verified about 2 years ago
  • .gitattributes
    1.48 kB
    initial commit over 3 years ago
  • README.md
    68 Bytes
    Update README.md about 2 years ago
  • config.json
    518 Bytes
    add model over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    237 MB
    xet
    add model over 3 years ago
  • tokenizer_config.json
    36 Bytes
    Create tokenizer_config.json about 2 years ago
  • vocab.txt
    47.7 kB
    add model over 3 years ago