Fill-Mask
Transformers
Safetensors
modernbert
mmbert
encoder
masked-lm
cjk
korean
chinese
japanese
continued-pretraining
tokenizer-swap
duckbert
Instructions to use CaveduckAI/DuckBERT-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CaveduckAI/DuckBERT-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="CaveduckAI/DuckBERT-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("CaveduckAI/DuckBERT-base") model = AutoModelForMaskedLM.from_pretrained("CaveduckAI/DuckBERT-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Model card: explain the DuckBERT name
Browse files
README.md
CHANGED
|
@@ -38,6 +38,9 @@ Gemma 2 tokenizer with the **Gemma 3 tokenizer (262K vocab)**, and continues mas
|
|
| 38 |
**132B tokens**. Korean text takes **27% fewer tokens**, and the model is ahead of mmBERT-base on **12 of 14** Korean,
|
| 39 |
Japanese and Chinese fine-tuning tasks (see [Evaluation](#evaluation)).
|
| 40 |
|
|
|
|
|
|
|
|
|
|
| 41 |
| | mmBERT-base (original) | **DuckBERT-base** |
|
| 42 |
|---|---|---|
|
| 43 |
| Tokenizer | Gemma 2 (256K) | **Gemma 3 (262K)** |
|
|
|
|
| 38 |
**132B tokens**. Korean text takes **27% fewer tokens**, and the model is ahead of mmBERT-base on **12 of 14** Korean,
|
| 39 |
Japanese and Chinese fine-tuning tasks (see [Evaluation](#evaluation)).
|
| 40 |
|
| 41 |
+
The name stands for **D**omain-augmented **U**nderstanding via **C**ontinued **K**nowledge transfer: the knowledge of the original
|
| 42 |
+
model is carried over to a new tokenizer by continued pre-training, then extended with domain text.
|
| 43 |
+
|
| 44 |
| | mmBERT-base (original) | **DuckBERT-base** |
|
| 45 |
|---|---|---|
|
| 46 |
| Tokenizer | Gemma 2 (256K) | **Gemma 3 (262K)** |
|