LICE (Linguistically Informed Chinese Embedding) is organized into the following main directories, each serving a specific role:
Contains all datasets and linguistic resources used for model training and evaluation:
- glyph/ β Data related to Chinese character glyphs (visual structure information, such as components and radicals).
- phonology/ β Data related to Chinese phonology (pronunciations, phonetic encodings, and phonological features).
- local dataset/ β Local training and evaluation datasets (e.g., splits of classical Chinese poetry or related corpora).
Holds source code, training scripts, saved model checkpoints, and evaluation results:
- finetuned-model/ β Checkpoints and configurations of the fine-tuned embedding model, after additional training on domain-specific data.
- model_trained/ β Checkpoints from the initial base model training prior to fine-tuning.
- mteb_results/ β Evaluation results from benchmarking on the MTEB (Massive Text Embedding Benchmark), including task scores and metrics.
In addition to these subdirectories, src/ contains the main scripts for model development:
model_train.pyβ Script for training the base model.train_classic_poem.pyβ Script for fine-tuning the model on classical Chinese poem datasets.eval_classic_poem.py,eval_base_classic_poem.pyβ Scripts for evaluating model performance on classical Chinese tasks.train_classic_chinese.ipynbβ Jupyter notebook demonstrating the training workflow on classical Chinese datasets.