diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -38,7 +38,9 @@ Use `--` before text that begins with a hyphen. Diagnostics go to stderr. ## Inference `langdetect.c` loads and validates the four F32 classifier tensors and the -`id2label` mapping. The encoder uses first-token pooling without L2 normalization. +`id2label` mapping. The encoder accepts F32 XLM-R weights with exact GeLU activation; +other model families and reduced-precision weights are not supported. +The encoder uses first-token pooling without L2 normalization. The classifier applies a 768-to-768 linear layer, `tanh`, a 768-to-20 linear layer, and stable softmax. Dropout is disabled during inference. |
