letheviet's picture
Upload README.md with huggingface_hub
a7a02c5 verified
metadata
language: code
tags:
  - code
  - classification
  - human-vs-machine
base_model: microsoft/unixcoder-base

Human vs Machine Code Classifier

Fine-tuned microsoft/unixcoder-base for SemEval-2026 Task 13 Subtask A.

Label Meaning
0 Human-written code
1 Machine-generated code

Usage

from transformers import pipeline
clf = pipeline("text-classification", model="letheviet/sem-eval-2026-task-13-subtask-a-unixcoder-code-detector")
print(clf("def add(a, b): return a + b"))