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

  • Log In
  • Sign Up

chengzl18
/
cctokenizer

Fill-Mask
Transformers
bert
Model card Files Files and versions
xet
Community

Instructions to use chengzl18/cctokenizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use chengzl18/cctokenizer with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="chengzl18/cctokenizer")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("chengzl18/cctokenizer")
    model = AutoModelForMaskedLM.from_pretrained("chengzl18/cctokenizer")
  • Notebooks
  • Google Colab
  • Kaggle
cctokenizer
223 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
chengzl18's picture
chengzl18
Add EOS special token
a460612 about 3 years ago
  • .gitattributes
    1.48 kB
    initial commit about 3 years ago
  • README.md
    28 Bytes
    initial commit about 3 years ago
  • cctokenizer.py
    24.1 kB
    A Chinese Character Tokenizer with a Many-to-one Mapping. about 3 years ago
  • config.json
    840 Bytes
    A Chinese Character Tokenizer with a Many-to-one Mapping. about 3 years ago
  • replace.json
    146 kB
    A Chinese Character Tokenizer with a Many-to-one Mapping. about 3 years ago
  • special_tokens_map.json
    149 Bytes
    Add EOS special token about 3 years ago
  • tokenizer_config.json
    544 Bytes
    A Chinese Character Tokenizer with a Many-to-one Mapping. about 3 years ago
  • vocab.txt
    49.8 kB
    A Chinese Character Tokenizer with a Many-to-one Mapping. about 3 years ago