Publish OpenJevX RLCD checkpoint and ONNX export
Browse files- README.md +39 -0
- SHA256SUMS +14 -0
- TRAINING_COMPLETE +0 -0
- benchmark.json +24 -0
- encoder/config.json +84 -0
- model.safetensors +3 -0
- openjevx.int8.onnx +3 -0
- rl_agent_config.json +28 -0
- tokenizer/tokenizer.json +0 -0
- tokenizer/tokenizer_config.json +15 -0
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: laya
|
| 4 |
+
pipeline_tag: text-classification
|
| 5 |
+
tags:
|
| 6 |
+
- system-one
|
| 7 |
+
- typed-decisions
|
| 8 |
+
- rlcd
|
| 9 |
+
- jev-compatible
|
| 10 |
+
- onnx
|
| 11 |
+
base_model: convaiinnovations/laya
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# OpenJevX
|
| 15 |
+
|
| 16 |
+
OpenJevX is an open-weight, non-autoregressive System One decision model specialized from
|
| 17 |
+
[Laya](https://huggingface.co/convaiinnovations/laya), which uses
|
| 18 |
+
`answerdotai/ModernBERT-large` plus a dynamic typed-decision head.
|
| 19 |
+
|
| 20 |
+
It accepts runtime-defined `choice`, `score`, and `noul` questions and returns calibrated
|
| 21 |
+
probabilities in one forward pass. It is compatible with the TypeSafe Jev `/v1/systemone`
|
| 22 |
+
request shape through the OpenJevX server.
|
| 23 |
+
|
| 24 |
+
## Benchmark
|
| 25 |
+
|
| 26 |
+
- Typed-decisions accuracy: **0.774**
|
| 27 |
+
- Choice: **0.745**
|
| 28 |
+
- Score: **0.731**
|
| 29 |
+
- Noul: **0.860**
|
| 30 |
+
- GPU: `NVIDIA GeForce RTX 4090`
|
| 31 |
+
- CUDA p50 latency per five-question case: **22.8 ms**
|
| 32 |
+
|
| 33 |
+
The benchmark uses the untouched 400-case, 2,000-decision test split from
|
| 34 |
+
`LocalLLaMA/typed-decisions`. Training uses only its 1,200-case train split.
|
| 35 |
+
|
| 36 |
+
## Attribution
|
| 37 |
+
|
| 38 |
+
OpenJevX is a derivative of Laya by ConvAI Innovations and ModernBERT by Answer.AI and
|
| 39 |
+
LightOn. Laya and ModernBERT are Apache-2.0 licensed.
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 TRAINING_COMPLETE
|
| 2 |
+
90758b7aa7bd9b9dfb4ea0baec8d885be8a82ec7710f40149d05d6286d2e7dd9 benchmark.json
|
| 3 |
+
5268d24ad3b77c8151de5dcb0762ba4391619aad9ab0bda33e36fb083cfeae6d checkpoint_latest/encoder/config.json
|
| 4 |
+
d9723d7a7e7fd8173583b191861d98006fb3b18e4c1f67a4bc559f5ae4543da7 checkpoint_latest/model.safetensors
|
| 5 |
+
fd7237529fb5d575a6ea23a6b2964765d94630765971a1e96d577ce597338724 checkpoint_latest/rl_agent_config.json
|
| 6 |
+
6c8aaa9a542084f2457eab775d4eeb51f92a70c0fd9de28d5edb0ddec3c08d30 checkpoint_latest/tokenizer/tokenizer.json
|
| 7 |
+
5926e6ec4294f80294bd98d9176defa9fbae7f140525d06a1da987488e74a973 checkpoint_latest/tokenizer/tokenizer_config.json
|
| 8 |
+
5268d24ad3b77c8151de5dcb0762ba4391619aad9ab0bda33e36fb083cfeae6d encoder/config.json
|
| 9 |
+
d9723d7a7e7fd8173583b191861d98006fb3b18e4c1f67a4bc559f5ae4543da7 model.safetensors
|
| 10 |
+
02ec28639b86bc9891f396c2a86909234df080336b59ef13addb0cec8eec4b93 openjevx.int8.onnx
|
| 11 |
+
841f2908c9d97736c691668cb025bfc299acaa7b049b94754d9f2c5fbd02b878 openjevx.onnx
|
| 12 |
+
71542d013de1bbba34836f9f3ad854a41f4468d4ec47b7cdfcecb6f9b2cbf2b3 rl_agent_config.json
|
| 13 |
+
6c8aaa9a542084f2457eab775d4eeb51f92a70c0fd9de28d5edb0ddec3c08d30 tokenizer/tokenizer.json
|
| 14 |
+
08d4cf3ac4dca381759441b85b91a6d40e688471dcd33d15d6649eb0a9a854d1 tokenizer/tokenizer_config.json
|
TRAINING_COMPLETE
ADDED
|
File without changes
|
benchmark.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model": "openjevx",
|
| 3 |
+
"base_model": "convaiinnovations/laya",
|
| 4 |
+
"accuracy": 0.774,
|
| 5 |
+
"per_type": {
|
| 6 |
+
"choice": {
|
| 7 |
+
"accuracy": 0.745,
|
| 8 |
+
"n": 600
|
| 9 |
+
},
|
| 10 |
+
"score": {
|
| 11 |
+
"accuracy": 0.73125,
|
| 12 |
+
"n": 800
|
| 13 |
+
},
|
| 14 |
+
"noul": {
|
| 15 |
+
"accuracy": 0.86,
|
| 16 |
+
"n": 600
|
| 17 |
+
}
|
| 18 |
+
},
|
| 19 |
+
"latency_ms": {
|
| 20 |
+
"p50": 22.807621397078037,
|
| 21 |
+
"p95": 28.716788906604023
|
| 22 |
+
},
|
| 23 |
+
"device": "NVIDIA GeForce RTX 4090"
|
| 24 |
+
}
|
encoder/config.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"ModernBertForMaskedLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 50281,
|
| 8 |
+
"classifier_activation": "gelu",
|
| 9 |
+
"classifier_bias": false,
|
| 10 |
+
"classifier_dropout": 0.0,
|
| 11 |
+
"classifier_pooling": "mean",
|
| 12 |
+
"cls_token_id": 50281,
|
| 13 |
+
"decoder_bias": true,
|
| 14 |
+
"deterministic_flash_attn": false,
|
| 15 |
+
"dtype": "float32",
|
| 16 |
+
"embedding_dropout": 0.0,
|
| 17 |
+
"eos_token_id": 50282,
|
| 18 |
+
"global_attn_every_n_layers": 3,
|
| 19 |
+
"gradient_checkpointing": false,
|
| 20 |
+
"hidden_activation": "gelu",
|
| 21 |
+
"hidden_size": 1024,
|
| 22 |
+
"initializer_cutoff_factor": 2.0,
|
| 23 |
+
"initializer_range": 0.02,
|
| 24 |
+
"intermediate_size": 2624,
|
| 25 |
+
"layer_norm_eps": 1e-05,
|
| 26 |
+
"layer_types": [
|
| 27 |
+
"full_attention",
|
| 28 |
+
"sliding_attention",
|
| 29 |
+
"sliding_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"sliding_attention",
|
| 32 |
+
"sliding_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"sliding_attention",
|
| 35 |
+
"sliding_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"sliding_attention",
|
| 38 |
+
"sliding_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"sliding_attention",
|
| 41 |
+
"sliding_attention",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"sliding_attention",
|
| 44 |
+
"sliding_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"sliding_attention",
|
| 47 |
+
"sliding_attention",
|
| 48 |
+
"full_attention",
|
| 49 |
+
"sliding_attention",
|
| 50 |
+
"sliding_attention",
|
| 51 |
+
"full_attention",
|
| 52 |
+
"sliding_attention",
|
| 53 |
+
"sliding_attention",
|
| 54 |
+
"full_attention"
|
| 55 |
+
],
|
| 56 |
+
"local_attention": 128,
|
| 57 |
+
"max_position_embeddings": 8192,
|
| 58 |
+
"mlp_bias": false,
|
| 59 |
+
"mlp_dropout": 0.0,
|
| 60 |
+
"model_type": "modernbert",
|
| 61 |
+
"norm_bias": false,
|
| 62 |
+
"norm_eps": 1e-05,
|
| 63 |
+
"num_attention_heads": 16,
|
| 64 |
+
"num_hidden_layers": 28,
|
| 65 |
+
"pad_token_id": 50283,
|
| 66 |
+
"position_embedding_type": "absolute",
|
| 67 |
+
"repad_logits_with_grad": false,
|
| 68 |
+
"rope_parameters": {
|
| 69 |
+
"full_attention": {
|
| 70 |
+
"rope_theta": 160000.0,
|
| 71 |
+
"rope_type": "default"
|
| 72 |
+
},
|
| 73 |
+
"sliding_attention": {
|
| 74 |
+
"rope_theta": 10000.0,
|
| 75 |
+
"rope_type": "default"
|
| 76 |
+
}
|
| 77 |
+
},
|
| 78 |
+
"sep_token_id": 50282,
|
| 79 |
+
"sparse_pred_ignore_index": -100,
|
| 80 |
+
"sparse_prediction": false,
|
| 81 |
+
"tie_word_embeddings": true,
|
| 82 |
+
"transformers_version": "5.17.0",
|
| 83 |
+
"vocab_size": 50368
|
| 84 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9723d7a7e7fd8173583b191861d98006fb3b18e4c1f67a4bc559f5ae4543da7
|
| 3 |
+
size 842609220
|
openjevx.int8.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:02ec28639b86bc9891f396c2a86909234df080336b59ef13addb0cec8eec4b93
|
| 3 |
+
size 598012474
|
rl_agent_config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"encoder": "answerdotai/ModernBERT-large",
|
| 3 |
+
"head_layers": 2,
|
| 4 |
+
"max_len": 1024,
|
| 5 |
+
"head_max_len": 256,
|
| 6 |
+
"max_prefixes": 6,
|
| 7 |
+
"act_costs": {
|
| 8 |
+
"escalate": 0.5
|
| 9 |
+
},
|
| 10 |
+
"cost_wrong_act": 3.0,
|
| 11 |
+
"amp_dtype": "bf16",
|
| 12 |
+
"model_name": "openjevx",
|
| 13 |
+
"temperature": [
|
| 14 |
+
1.02553391456604,
|
| 15 |
+
1.034013271331787,
|
| 16 |
+
1.147902488708496
|
| 17 |
+
],
|
| 18 |
+
"training": {
|
| 19 |
+
"updates": 7313,
|
| 20 |
+
"epochs_completed": 1,
|
| 21 |
+
"hours": 1.96,
|
| 22 |
+
"world_size": 1,
|
| 23 |
+
"fine_tuned_from_checkpoint": true
|
| 24 |
+
},
|
| 25 |
+
"gradient_checkpointing": true,
|
| 26 |
+
"max_tokens_per_batch": 4096,
|
| 27 |
+
"fine_tuned": true
|
| 28 |
+
}
|
tokenizer/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"clean_up_tokenization_spaces": true,
|
| 3 |
+
"cls_token": "[CLS]",
|
| 4 |
+
"local_files_only": false,
|
| 5 |
+
"mask_token": "[MASK]",
|
| 6 |
+
"model_input_names": [
|
| 7 |
+
"input_ids",
|
| 8 |
+
"attention_mask"
|
| 9 |
+
],
|
| 10 |
+
"model_max_length": 8192,
|
| 11 |
+
"pad_token": "[PAD]",
|
| 12 |
+
"sep_token": "[SEP]",
|
| 13 |
+
"tokenizer_class": "PreTrainedTokenizerFast",
|
| 14 |
+
"unk_token": "[UNK]"
|
| 15 |
+
}
|