Downloads · 30 days
295
1% of all-time downloads
ckiplab/bert-tiny-chinese-ner
bert-tiny-chinese-ner is a token classification model from ckiplab. Use it when you need labels on individual words, such as names. It is set up for transformers. The card lists the license as gpl-3.0.
This project provides traditional Chinese transformers models (including ALBERT, BERT, GPT2) and NLP tools (including word segmentation, part-of-speech tagging, named entity recognition).
Downloads · 30 days
295
1% of all-time downloads
All-time downloads
46.8K
Public
Repo size
91.8 MB
Likes
5
Public
Click a slice to open those files.
.bin45.9 MB · 100%
From the Hugging Face model README
This project provides traditional Chinese transformers models (including ALBERT, BERT, GPT2) and NLP tools (including word segmentation, part-of-speech tagging, named entity recognition).
這個專案提供了繁體中文的 transformers 模型(包含 ALBERT、BERT、GPT2)及自然語言處理工具(包含斷詞、詞性標記、實體辨識)。
Please use BertTokenizerFast as tokenizer instead of AutoTokenizer.
請使用 BertTokenizerFast 而非 AutoTokenizer。
from transformers import (
BertTokenizerFast,
AutoModel,
)
tokenizer = BertTokenizerFast.from_pretrained('bert-base-chinese')
model = AutoModel.from_pretrained('ckiplab/bert-tiny-chinese-ner')
For full usage and more information, please refer to https://github.com/ckiplab/ckip-transformers.
有關完整使用方法及其他資訊,請參見 https://github.com/ckiplab/ckip-transformers 。