sgyaqing commited on
Commit
2febec1
·
verified ·
1 Parent(s): b48d90f

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +5 -11
README.md CHANGED
@@ -24,18 +24,18 @@ verdict serve verdict-models/laya-multilingual
24
  VERDICT_USE_MODELSCOPE=1 verdict serve sgyaqing/laya-multilingual
25
  ```
26
 
27
- English-only workloads should use [`verdict-models/laya`](https://huggingface.co/verdict-models/laya) (ModernBERT-large) instead: it is the stronger checkpoint for English, while this one is the faster graph (see Performance below). One Verdict process serves one model, so a mixed English / non-English deployment runs two instances side by side and routes by language -- the official Laya library's `Router` makes the same split.
28
 
29
  Endpoints: the standard decision protocols `POST /v1/systemone` and `POST /v1/decisions`, native `POST /v1/choice | /v1/score | /v1/noul`, plus an OpenAI-compatible layer (`/v1/chat/completions`, `/v1/models`).
30
 
31
  ## Performance
32
 
33
- One RTX 3080, one session, one fixed request (full methodology and CPU numbers in the [engine repo](https://github.com/sgyaqing/verdict)):
34
 
35
  | concurrency 32 | Throughput | P50 |
36
  |---|---:|---:|
37
- | FastAPI + torch (cuda) | 46.0 rps | 691 ms |
38
- | Verdict (CUDA) | 1059 rps | 30 ms |
39
 
40
  ## Files
41
 
@@ -48,13 +48,7 @@ One RTX 3080, one session, one fixed request (full methodology and CPU numbers i
48
 
49
  ## Provenance & fidelity
50
 
51
- Weights are unchanged from `convaiinnovations/laya-multilingual`; this repo adds the ONNX export and the serving manifest (Apache-2.0 §4(b): modifications are the export and packaging, stated here). Conversion and serving are graded against the official reference path at every layer:
52
-
53
- - export parity: max logits difference 3.9e-5 against the official forward
54
- - token ids: id-for-id identical to the official pipeline
55
- - responses: round-4 probabilities bitwise identical -- 43 golden cases across the three tasks (23 choice / 11 score / 9 noul), including an 8-case Chinese semantic group, since this checkpoint exists for non-English input
56
- - serving on CPU: worst logits difference 2.4e-5 against a 2e-4 tolerance, response layer bitwise; batch invariance response-layer zero.
57
- - serving on CUDA: worst logits difference 1.6e-5, response layer within the 1e-4 line (one case at 1.0e-4 -- a fourth-decimal boundary flip, consistent with the 1.6e-5 logits noise); batch invariance response-layer zero.
58
 
59
  ## License
60
 
 
24
  VERDICT_USE_MODELSCOPE=1 verdict serve sgyaqing/laya-multilingual
25
  ```
26
 
27
+ For English-only workloads, use [`verdict-models/laya`](https://huggingface.co/verdict-models/laya).
28
 
29
  Endpoints: the standard decision protocols `POST /v1/systemone` and `POST /v1/decisions`, native `POST /v1/choice | /v1/score | /v1/noul`, plus an OpenAI-compatible layer (`/v1/chat/completions`, `/v1/models`).
30
 
31
  ## Performance
32
 
33
+ Measured on one RTX 3080:
34
 
35
  | concurrency 32 | Throughput | P50 |
36
  |---|---:|---:|
37
+ | FastAPI + torch | 46.0 rps | 691 ms |
38
+ | Verdict | 1059 rps | 30 ms |
39
 
40
  ## Files
41
 
 
48
 
49
  ## Provenance & fidelity
50
 
51
+ Weights are unchanged from `convaiinnovations/laya-multilingual`; this repo adds only the ONNX export and the serving manifest. Conversion and serving are verified against the official model: identical answers on CPU, within 1e-4 on CUDA.
 
 
 
 
 
 
52
 
53
  ## License
54