ckiplab / bert-base-han-chinese

huggingface.co
Total runs: 32
24-hour runs: 0
7-day runs: 4
30-day runs: -16
Model's Last Updated: July 04 2022
fill-mask

Introduction of bert-base-han-chinese

Model Details of bert-base-han-chinese

CKIP BERT Base Han Chinese

Pretrained model on Ancient Chinese language using a masked language modeling (MLM) objective.

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")
    model = AutoModel.from_pretrained("ckiplab/bert-base-han-chinese")
    
  • Using our model for inference

    >>> from transformers import pipeline
    >>> unmasker = pipeline('fill-mask', model='ckiplab/bert-base-han-chinese')
    >>> unmasker("黎[MASK]於變時雍。")
    
    [{'sequence': '黎 民 於 變 時 雍 。',
    'score': 0.14885780215263367,
    'token': 3696,
    'token_str': '民'},
    {'sequence': '黎 庶 於 變 時 雍 。',
    'score': 0.0859643816947937,
    'token': 2433,
    'token_str': '庶'},
    {'sequence': '黎 氏 於 變 時 雍 。',
    'score': 0.027848130092024803,
    'token': 3694,
    'token_str': '氏'},
    {'sequence': '黎 人 於 變 時 雍 。',
    'score': 0.023678112775087357,
    'token': 782,
    'token_str': '人'},
    {'sequence': '黎 生 於 變 時 雍 。',
    'score': 0.018718384206295013,
    'token': 4495,
    'token_str': '生'}]
    

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

32
Total runs
0
24-hour runs
1
3-day runs
4
7-day runs
-16
30-day runs

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

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

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

bert-base-han-chinese huggingface.co

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

bert-base-han-chinese huggingface.co Url

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

ckiplab bert-base-han-chinese online free

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

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

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

bert-base-han-chinese install

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

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

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

Url of bert-base-han-chinese

bert-base-han-chinese huggingface.co Url

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

ckiplab
ORGANIZATIONS

Other API from ckiplab