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

infly
/
inf-wse-v2-base-zh

Fill-Mask
Transformers
Safetensors
Chinese
roformer
custom_code
Model card Files Files and versions
xet
Community

Instructions to use infly/inf-wse-v2-base-zh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use infly/inf-wse-v2-base-zh with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="infly/inf-wse-v2-base-zh", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("infly/inf-wse-v2-base-zh", trust_remote_code=True)
    model = AutoModelForMaskedLM.from_pretrained("infly/inf-wse-v2-base-zh", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
inf-wse-v2-base-zh
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
SamuelYang's picture
SamuelYang
Upload 8 files
0e4c95f verified over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    6.81 kB
    Upload 8 files over 1 year ago
  • config.json
    676 Bytes
    Upload 8 files over 1 year ago
  • model.safetensors
    248 MB
    xet
    Upload 8 files over 1 year ago
  • modeling_sparse.py
    738 Bytes
    Upload 8 files over 1 year ago
  • special_tokens_map.json
    125 Bytes
    Upload 8 files over 1 year ago
  • tokenization_sparse.py
    4.27 kB
    Upload 8 files over 1 year ago
  • tokenizer_config.json
    199 Bytes
    Upload 8 files over 1 year ago
  • vocab.txt
    374 kB
    Upload 8 files over 1 year ago