File size: 549 Bytes
7ef2057
a7a02c5
 
 
 
 
 
7ef2057
 
a7a02c5
7ef2057
a7a02c5
7ef2057
a7a02c5
 
 
 
7ef2057
a7a02c5
7ef2057
a7a02c5
 
 
 
 
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
---
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

```python
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"))
```