Views
No views yet
microsoft/deberta-v3-small (141M params)DeBERTa CLS (768-dim) + features (8-dim)
-> LayerNorm(776)
-> Linear(776, 256) -> GELU -> Dropout(0.3)
-> Linear(256, 128) -> GELU -> Dropout(0.2)
-> Linear(128, 2)| Name | Shape | Description |
|---|---|---|
| input_ids | [1, 128] | Tokenized text (max 128 tokens) |
| attention_mask | [1, 128] | Token mask |
| features | [1, 8] | Hand-crafted features (TTR, hapax rate, sentence variance, etc.) |
token_remap.json:1const remap = await fetch('token_remap.json').then(r => r.json());
2const remapped = ids.map(id => remap[id] ?? 0);| Index | Feature | Range |
|---|---|---|
| 0 | Type-Token Ratio | 0-1 |
| 1 | Hapax rate | 0-1 |
| 2 | Sentence length variance | 0+ |
| 3 | Average sentence length | 0+ |
| 4 | Bigram uniqueness | 0-1 |
| 5 | Stop word density | 0-1 |
| 6 | Contraction presence | 0/1 |
| 7 | Lowercase ratio | 0-1 |
[human_prob, ai_prob]. Score >= 0.5 indicates AI-generated text.