Run this model with HF Jobs
Run AMindToThink/code-detection-confound-checkpoints on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/AMindToThink/code-detection-confound-checkpoints. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/AMindToThink/code-detection-confound-checkpoints on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use AMindToThink/code-detection-confound-checkpoints with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AMindToThink/code-detection-confound-checkpoints with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AMindToThink/code-detection-confound-checkpoints", device_map="auto") - Notebooks
- Google Colab
- Kaggle
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.
|