加载中…
加载中…
pytorch_model.bin 54 MBmodel.safetensors 54 MBThis model is a fine-tuned version of toastynews/electra-hongkongese-small-discriminator on HKCanCor and CityU for word segmentation.
Performs word segmentation on text from Hong Kong. There are two versions; hk trained with only text from Hong Kong, and hkt trained with text from Hong Kong and Taiwan. Each version have base and small model sizes.
Trained to handle both Hongkongese/Cantonese and Standard Chinese from Hong Kong. Text from other places and English do not work as well. The easiest way is to use with the CKIP Transformers libary.
HKCanCor and CityU are converted to BI-encoded word segmentation dataset in Hugging Face format using code from finetune-ckip-transformers.
The following hyperparameters were used during training:
| dataset | token_f | token_p | token_r |
|---|---|---|---|
| ud yue_hk | 0.9468 | 0.9484 | 0.9453 |
| ud zh_hk | 0.9277 | 0.9350 | 0.9205 |
| hkcancor | 0.9769 | 0.9742 | 0.9795 |
| cityu | 0.9750 | 0.9741 | 0.9760 |
| as | 0.9187 | 0.9154 | 0.9219 |
Was trained on hkcancor. Reported for reference only.