Instructions to use odecide-models/laya-multilingual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Laya
How to use odecide-models/laya-multilingual with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload README.md with huggingface_hub
Browse files
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
|
| 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 |
-
|
| 34 |
|
| 35 |
| concurrency 32 | Throughput | P50 |
|
| 36 |
|---|---:|---:|
|
| 37 |
-
| FastAPI + torch
|
| 38 |
-
| Verdict
|
| 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
|
| 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 |
|