Sponsored by
Vmake Labs Video Enhancer
-Vmake Labs Video Enhancer uses AI to improve video quality, restore details, reduce blur, and upscale videos to 8K.
This model was train from sctratch with a 487M tokens Cantonese dataset.
It achieves the following results on the evaluation set:
Loss: 2.0096
Accuracy: 0.6119
Model description
ModernCantoneseBert is a BERT model specifically designed for Cantonese language understanding. It leverages the ModernBERT architecture from HuggingFace Transformers and is trained using masked language modeling (MLM) on Cantonese text data.
Intended Uses & Limitations
Intended Uses
This model is intended for research and academic purposes in Cantonese natural language processing tasks, including:
Masked language modeling (fill-mask)
Feature extraction for downstream NLP tasks
Fine-tuning for Cantonese text classification, named entity recognition, and other sequence labeling tasks
Limitations
Model Size
: The model has 134,004,544 trainable parameters, which is relatively small compared to larger language models. This may limit its performance on complex language understanding tasks.
Research Purpose Only
: This project is intended for research and academic use. It may not be suitable for production environments without further evaluation and fine-tuning.
Language Coverage
: The model is specifically trained on Cantonese text and may not perform well on other Chinese dialects or languages.
Training and Evaluation Data
The model was trained on open source datasets and web-scraped content, including:
Cantonese filtered Common Crawl
Web scraped news and articles
Due to respect for copyright, the training dataset will not be released.
Quick Start
Installation
pip install transformers torch
Usage
Use the model for fill-mask tasks with the HuggingFace Transformers library:
The following hyperparameters were used during training:
learning_rate: 0.0001
train_batch_size: 16
eval_batch_size: 8
seed: 42
gradient_accumulation_steps: 2
total_train_batch_size: 32
optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
lr_scheduler_type: cosine
lr_scheduler_warmup_ratio: 0.05
num_epochs: 1.0
Training results
Training Loss
Epoch
Step
Validation Loss
Accuracy
3.2329
0.2042
2000
3.0884
0.4568
2.5065
0.4084
4000
2.3732
0.5643
2.2408
0.6125
6000
2.1655
0.5903
2.1828
0.8167
8000
2.0549
0.6103
Framework versions
Transformers 4.57.1
Pytorch 2.7.1+cu128
Datasets 3.6.0
Tokenizers 0.22.1
License
This project is licensed under the Apache License 2.0.
Runs of hon9kon9ize ModernCantoneseBert-Base on huggingface.co
63
Total runs
0
24-hour runs
1
3-day runs
-7
7-day runs
40
30-day runs
More Information About ModernCantoneseBert-Base huggingface.co Model
ModernCantoneseBert-Base huggingface.co
ModernCantoneseBert-Base huggingface.co is an AI model on huggingface.co that provides ModernCantoneseBert-Base's model effect (), which can be used instantly with this hon9kon9ize ModernCantoneseBert-Base model. huggingface.co supports a free trial of the ModernCantoneseBert-Base model, and also provides paid use of the ModernCantoneseBert-Base. Support call ModernCantoneseBert-Base model through api, including Node.js, Python, http.
ModernCantoneseBert-Base huggingface.co is an online trial and call api platform, which integrates ModernCantoneseBert-Base's modeling effects, including api services, and provides a free online trial of ModernCantoneseBert-Base, you can try ModernCantoneseBert-Base online for free by clicking the link below.
hon9kon9ize ModernCantoneseBert-Base online free url in huggingface.co:
ModernCantoneseBert-Base is an open source model from GitHub that offers a free installation service, and any user can find ModernCantoneseBert-Base on GitHub to install. At the same time, huggingface.co provides the effect of ModernCantoneseBert-Base install, users can directly use ModernCantoneseBert-Base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
ModernCantoneseBert-Base install url in huggingface.co: