alt.freeweights.text / CCI3-HQ-Classifier
From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.textSubject:

CCI3-HQ-Classifier

Date: 2026-11-15Commit: 9af8fe2Signed: 2DC28CC7B26A283B ✓

Model with 568M parameters. Safetensors weights, 2.29 GB in all. Published by BAAI under Apache-2.0.

568M params2.29GBCCI3-HQ-Classifiersafetensorspermissive
FactsParams568MSize2.29 GBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get BAAI/CCI3-HQ-Classifier
# manifest sha256 da04cab8e5b8… · 2.29 GB · 9 files
$ fw verify ./CCI3-HQ-Classifier BAAI/CCI3-HQ-Classifier
From sourceHosted (signed)BAAI/CCI3-HQ-ClassifierLast check: 2026-11-15 04:13 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of bge-m3.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
2.29 GB
Weights
2.27 GB (safetensors)
Parameters
568M
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
9, each with a sha256
Publisher
BAAI
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: BAAI/bge-m3

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:13 UTCpassed

Model card

From the publisher at commit 9af8fe2. Shown as plain text with links; images open at the publisher.

CCI3-HQ-Classifier#

Model summary#

This is a classifier for judging the educational value of web pages. It was developed to filter and curate educational content from web datasets and was trained on 145k annotations generated by Qwen2-72B-instruct for web samples from CCI3 dataset.

We used this classifier to build CCI3-HQ dataset.

How to use in transformers#

To load the classifier, use the following code:

from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("BAAI/CCI3-HQ-Classifier")
model = AutoModelForSequenceClassification.from_pretrained("BAAI/CCI3-HQ-Classifier")

text = "曾巩:为人廉洁奉公,才华横溢,关心民间疾苦曾巩,字子固,是我国北宋时期著名的文学家,政治家和教育家。他的一生政绩颇丰,为百姓们做出了许多的好事,在文学创作上他又是北宋诗文革新的主要人物。他文章写得耐人寻味,表露了自己的真情实感。被后人称之为 唐宋八大家之一 。"
inputs = tokenizer(text, return_tensors="pt", padding="longest", truncation=True)
outputs = model(**inputs)
logits = outputs.logits.squeeze(-1).float().detach().numpy()
score = logits.item()
result = {
    "text": text,
    "score": score
}

print(result)

Training#

The classifier was trained on 145,000 pairs of web samples and their scores from 0 to 5, generated by Qwen2. The samples were annotated based on their educational quality with 0 being not educational and 5 being highly educational.

The prompt used for annotation mostly reuses FineWeb-edu prompt.

We added a classification head with a single regression output to BGE-M3 and trained the model for 20 epochs with a learning rate of 3e-4. During training, the embedding and encoder layers were frozen to focus on the classification head and dropout was not used. The model achieved an F1 score of 73% when converted to a binary classifier using a score threshold of 3.

Training Details:

  • Model: BGE-M3 with a classification head
  • Dataset: 145,000 samples from Qwen2 annotations
  • Epochs: 20
  • Learning Rate: 3e-4
  • Evaluation Metric: F1 score

Classification report

We treat the regression model's predictions as discrete classes to calculate the metrics on a hold-out set of 1500 Qwen2-annotated samples.

              precision    recall  f1-score   support

           0       0.76      0.58      0.66      3890  
           1       0.55      0.62      0.58      4896  
           2       0.40      0.51      0.45      2703  
           3       0.38      0.42      0.40      1536  
           4       0.59      0.27      0.37       972
           5       0.33      0.06      0.10        83

    accuracy                           0.54     14080 
   macro avg       0.50      0.41      0.43     14080 
weighted avg       0.56      0.54      0.54     14080

Confusion matrix

We verify that the predicted educational scores are indeed close to their ground truth, and are mostry impacted by the noisy annotation.

         2244 1514  126    6    0    0
          690 3035 1049  117    5    0
y_true     24  878 1383  398   20    0
            0  118  651  643  124    0
            1   13  202  482  264   10
            0    0    6   39   33    5
                    y_pred

Limitations#

While the CCI3-HQ classifier performs well in distinguishing high-quality educational content for CCI3 dataset, there are some limitations:

  • Scope: The model's performance may vary across different datasets, particularly when applied to out-of-distribution samples. It is specifically designed to handle educational content related to primary and grade school levels and may exhibit lower performance on content intended for higher education or specialized domains.
  • Bias: The model's performance relies on the quality and representativeness of both the training data and the LLM used for annotation. Biases in either can influence the classifier's decisions. There is a risk of overfitting to content that appears more academic, leading to higher scores. We recommend using an int_score >= 3 as a threshold for data curation.
  • Context: The classifier operates by evaluating individual web pages or extracts without considering the broader context, which may limit its effectiveness in certain scenarios.

The training and inference code is available on GitHub https://github.com/FlagAI-Open/FlagAI/tree/master/examples/CCI3-HQ

References#

  1. https://huggingface.co/datasets/HuggingFaceFW/fineweb-edu
  2. https://huggingface.co/HuggingFaceFW/fineweb-edu-classifier

Citation#

If you use this classifier or the CCI3-HQ dataset, please cite:

@misc{wang2024cci30hqlargescalechinesedataset,
  title={CCI3.0-HQ: a large-scale Chinese dataset of high quality designed for pre-training large language models},
  author={Liangdong Wang and Bo-Wen Zhang and Chengwei Wu and Hanyu Zhao and Xiaofeng Shi and Shuhao Gu and Jijie Li and Quanyue Ma and TengFei Pan and Guang Liu},
  year={2024},
  eprint={2410.18505},
  archivePrefix={arXiv},
  primaryClass={cs.CL},
  url={https://arxiv.org/abs/2410.18505}
}

Files

9 files · 2.29 GBWeights 2.27 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 9 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md5.57 KBc69741ac34fa1681cf3ce130b7e691fb00f27a7de09422fd294e234cff7da5a0
config.json837 Be750075a1f586f69ea1cfca373c5f63bc603033a078600da5c27c3cb17108206
model.safetensors2.27 GBb0871bc5af4699f007a598feb378ba0883c6180ad1e0401d8e074e224cf3c6ff
scorer_pred_local.py3.16 KB6a2b77ee0998485aaba46bd04348ae254d5bd233e25f4bce180a63c059232803
sentencepiece.bpe.model5.07 MBcfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
special_tokens_map.json964 B8c785abebea9ae3257b61681b4e6fd8365ceafde980c21970d001e834cf10835
tokenizer.json17.1 MB249df0778f236f6ece390de0de746838ef25b9d6954b68c2ee71249e0a9d8fd4
tokenizer_config.json1.17 KB7e4c1cc848840aeccdd763458c18dd525eb0f795c992e00ebe9c28554e7db2d4
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
9af8fe2a12 pinned now2026-11-15 04:13 UTC9 files · 2.29 GB

Use it

$ fw get BAAI/CCI3-HQ-Classifier
# manifest sha256 da04cab8e5b8… · 2.29 GB · 9 files
$ fw verify ./CCI3-HQ-Classifier BAAI/CCI3-HQ-Classifier
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/BAAI/CCI3-HQ-Classifier.json --dir ./CCI3-HQ-Classifier $ python3 fw.py verify ./CCI3-HQ-Classifier ./BAAI__CCI3-HQ-Classifier.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/CCI3-HQ-Classifier --revision 9af8fe2a12109f5fe17233077e8e7708708e9ff1 --local-dir ./CCI3-HQ-Classifier

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
c69741ac34fa1681cf3ce130b7e691fb00f27a7de09422fd294e234cff7da5a0
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: BAAI <huggingface.co/BAAI>Newsgroups: alt.freeweights.textSubject: CCI3-HQ-ClassifierDate: 2026-11-15Commit: 9af8fe2Signed: 2DC28CC7B26A283B ✓
Upstream
BAAI/CCI3-HQ-Classifier
Pinned commit
9af8fe2a12109f5fe17233077e8e7708708e9ff1
Manifest
CCI3-HQ-Classifier.json · .minisig
Manifest sha256
da04cab8e5b81fae230e7fd3c4e449954f477bc361888963aa8884cae30cee76
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:13 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/BAAI/CCI3-HQ-Classifier.json $ curl -O https://freeweights.allternit.com/manifests/BAAI/CCI3-HQ-Classifier.json.minisig $ minisign -Vm CCI3-HQ-Classifier.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

BAAI/bge-m3 · this model is a finetune of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download BAAI/CCI3-HQ-Classifier
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. CCI3-HQ-Classifier.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B