ckiplab / bert-base-han-chinese-ws

huggingface.co
Total runs: 33
24-hour runs: 0
7-day runs: -10
30-day runs: 7
Model's Last Updated: July 04 2022
token-classification

Introduction of bert-base-han-chinese-ws

Model Details of bert-base-han-chinese-ws

CKIP BERT Base Han Chinese WS

This model provides word segmentation for the ancient Chinese language. Our training dataset covers four eras of the Chinese language.

Homepage
Training Datasets

The copyright of the datasets belongs to the Institute of Linguistics, Academia Sinica.

Contributors
Usage
  • Using our model in your script

    from transformers import (
      AutoTokenizer,
      AutoModel,
    )
    
    tokenizer = AutoTokenizer.from_pretrained("ckiplab/bert-base-han-chinese-ws")
    model = AutoModel.from_pretrained("ckiplab/bert-base-han-chinese-ws")
    
  • Using our model for inference

    >>> from transformers import pipeline
    >>> classifier = pipeline("token-classification", model="ckiplab/bert-base-han-chinese-ws")
    >>> classifier("帝堯曰放勳")
    
    # output
    [{'entity': 'B',
    'score': 0.9999793,
    'index': 1,
    'word': '帝',
    'start': 0,
    'end': 1},
    {'entity': 'I',
    'score': 0.9915047,
    'index': 2,
    'word': '堯',
    'start': 1,
    'end': 2},
    {'entity': 'B',
    'score': 0.99992275,
    'index': 3,
    'word': '曰',
    'start': 2,
    'end': 3},
    {'entity': 'B',
    'score': 0.99905187,
    'index': 4,
    'word': '放',
    'start': 3,
    'end': 4},
    {'entity': 'I',
    'score': 0.96299917,
    'index': 5,
    'word': '勳',
    'start': 4,
    'end': 5}]
    

Runs of ckiplab bert-base-han-chinese-ws on huggingface.co

33
Total runs
0
24-hour runs
-2
3-day runs
-10
7-day runs
7
30-day runs

More Information About bert-base-han-chinese-ws huggingface.co Model

More bert-base-han-chinese-ws license Visit here:

https://choosealicense.com/licenses/gpl-3.0

bert-base-han-chinese-ws huggingface.co

bert-base-han-chinese-ws huggingface.co is an AI model on huggingface.co that provides bert-base-han-chinese-ws's model effect (), which can be used instantly with this ckiplab bert-base-han-chinese-ws model. huggingface.co supports a free trial of the bert-base-han-chinese-ws model, and also provides paid use of the bert-base-han-chinese-ws. Support call bert-base-han-chinese-ws model through api, including Node.js, Python, http.

bert-base-han-chinese-ws huggingface.co Url

https://huggingface.co/ckiplab/bert-base-han-chinese-ws

ckiplab bert-base-han-chinese-ws online free

bert-base-han-chinese-ws huggingface.co is an online trial and call api platform, which integrates bert-base-han-chinese-ws's modeling effects, including api services, and provides a free online trial of bert-base-han-chinese-ws, you can try bert-base-han-chinese-ws online for free by clicking the link below.

ckiplab bert-base-han-chinese-ws online free url in huggingface.co:

https://huggingface.co/ckiplab/bert-base-han-chinese-ws

bert-base-han-chinese-ws install

bert-base-han-chinese-ws is an open source model from GitHub that offers a free installation service, and any user can find bert-base-han-chinese-ws on GitHub to install. At the same time, huggingface.co provides the effect of bert-base-han-chinese-ws install, users can directly use bert-base-han-chinese-ws installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

bert-base-han-chinese-ws install url in huggingface.co:

https://huggingface.co/ckiplab/bert-base-han-chinese-ws

Url of bert-base-han-chinese-ws

bert-base-han-chinese-ws huggingface.co Url

Provider of bert-base-han-chinese-ws huggingface.co

ckiplab
ORGANIZATIONS

Other API from ckiplab