File size: 1,225 Bytes
965ae6f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
license: mit
base_model: microsoft/unixcoder-base-nine
tags:
- code
- ai-generated-code-detection
- classifier
library_name: transformers
---

# code-detection-confound checkpoints

Three fine-tuned **AI-generated-code detection** classifiers from the
[`AMindToThink/code-detection-confound`](https://github.com/AMindToThink/code-detection-confound)
research project. All three are cross-entropy-only (CE) fine-tunes of
[`microsoft/unixcoder-base-nine`](https://huggingface.co/microsoft/unixcoder-base-nine);
they differ only in training data.

| Subfolder | Training data |
|---|---|
| `unixcoder_dc_ce/` | DroidCollection-Python |
| `python_raw_ce/`   | HMCorp / Python |
| `java_raw_ce/`     | HMCorp / Java |

Each `model.bin` (~481 MB) is a **raw PyTorch `state_dict`** — no `config.json` or tokenizer
is bundled. Load it on top of the `microsoft/unixcoder-base-nine` architecture + tokenizer.
The exact training command (`scripts/18_train_cgs_amp.py … --model_name_or_path
microsoft/unixcoder-base-nine`), data provenance, and the classification head are documented
in the source repo's `REPRODUCE.md`.

Backed up here during a machine migration (2026-07-02); see the source repo for full
reproduction details.