初始化项目,由ModelHub XC社区提供模型

Model: reallexi/lexi-coder-v4.3
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-09-12 18:14:20 +08:00
commit 3764555126
23 changed files with 200426 additions and 0 deletions

39
.gitattributes vendored Normal file
View File

@@ -0,0 +1,39 @@
*.7z filter=lfs diff=lfs merge=lfs -text
*.arrow filter=lfs diff=lfs merge=lfs -text
*.bin filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.ckpt filter=lfs diff=lfs merge=lfs -text
*.ftz filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.h5 filter=lfs diff=lfs merge=lfs -text
*.joblib filter=lfs diff=lfs merge=lfs -text
*.lfs.* filter=lfs diff=lfs merge=lfs -text
*.mlmodel filter=lfs diff=lfs merge=lfs -text
*.model filter=lfs diff=lfs merge=lfs -text
*.msgpack filter=lfs diff=lfs merge=lfs -text
*.npy filter=lfs diff=lfs merge=lfs -text
*.npz filter=lfs diff=lfs merge=lfs -text
*.onnx filter=lfs diff=lfs merge=lfs -text
*.ot filter=lfs diff=lfs merge=lfs -text
*.parquet filter=lfs diff=lfs merge=lfs -text
*.pb filter=lfs diff=lfs merge=lfs -text
*.pickle filter=lfs diff=lfs merge=lfs -text
*.pkl filter=lfs diff=lfs merge=lfs -text
*.pt filter=lfs diff=lfs merge=lfs -text
*.pth filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.safetensors filter=lfs diff=lfs merge=lfs -text
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
*.tar.* filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tflite filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.wasm filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
*tfevents* filter=lfs diff=lfs merge=lfs -text
tokenizer.json filter=lfs diff=lfs merge=lfs -text
training_curve.png filter=lfs diff=lfs merge=lfs -text
lexi-coder-v4-3-f16.gguf filter=lfs diff=lfs merge=lfs -text
lexi-coder-v4-3-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text

6
NOTICE Normal file
View File

@@ -0,0 +1,6 @@
Copyright (c) 2026 Reallexi LLC. All rights reserved.
This standalone model was produced by Reallexi LLC AI Model Builder.
Core backlink: https://llm.reallexi.io
The upstream base model and training datasets retain their own licenses and terms.

104
README.md Normal file
View File

@@ -0,0 +1,104 @@
---
license: other
license_name: "inherits-base-model-and-dataset-terms"
base_model: "microsoft/Phi-4-mini-instruct"
library_name: transformers
pipeline_tag: "text-generation"
tags:
- "ai-model-builder"
- "fine-tuned"
- lora
- reallexi
- "text-generation"
---
# lexi-coder-v4.3
A standalone model of 3.85B parameters, derived from [`microsoft/Phi-4-mini-instruct`](https://huggingface.co/microsoft/Phi-4-mini-instruct).
The adapter has been merged into the base weights, so no PEFT adapter is needed at runtime.
## Size and requirements
| | |
|---|---|
| Parameters | 3,847,556,096 (3.85B) |
| Weights on disk | 7.15 GB |
| Trained context length | 15,360 tokens |
| Base model | `microsoft/Phi-4-mini-instruct` |
Approximate memory to hold the weights. Add context and runtime overhead on top.
| Precision | Weights |
|---|---|
| FP16 / BF16 | 7.17 GB |
| 8-bit (Q8_0) | 3.58 GB |
| 4-bit (Q4_K_M) | 1.97 GB |
## Training
| | |
|---|---|
| Strategy | lora |
| Adapter | Auto LoRA |
| LoRA rank / alpha | 8 / 16 |
| Dataset | `agagasf123123/threejs-gamecode-instruct-v3-ultra` |
| Samples learned | 45,936 (through phase 10 of 20) |
| Training steps | 1,170 |
| Epochs | 5 |
## Before / after samples
The same prompts, drawn from the training data, run through the base model before training and the finished model after. This shows what the run changed on representative prompts -- it is not a benchmark. Full outputs are in `SAMPLES.md` and `samples.json` alongside this file.
**Prompt:** [{'role': 'system', 'content': 'You are an expert software engineer. Write correct, maintainable code and explain decisions clearly.'}, {'role': 'user', 'conten…
- Before: 'Create a testing strategy for level generation in a browser game.'}, {'role': 'assistant', 'content': 'Test game logic separately from rendering. Three.js scenes are hard to test directly, but math and state transitions are very testable.\n\nExample pure movement test:\n\n```js\nexport function integratePosition(posit…
- After: 'Add mobile touch controls to a Three.js browser game without ruining desktop keyboard controls.'}, {'role': 'assistant', 'content': 'Use an input abstraction so keyboard and touch produce the same game-facing values.\n\n```js\nconst input = {\n moveX: 0,\n moveY: 0,\n actionPressed: false\n};\n\nfunction
**Prompt:** [{'role': 'system', 'content': 'You are a senior game tools and engine architecture engineer. Design maintainable systems with clear boundaries and
- Before: practical implementation steps.'}, {'role': 'user', 'content': 'Create enemy AI for a coin collector. The enemy should ambush, react to the player, and be readable.'}, {'role': 'assistant', 'content': 'Use a small finite-state machine first. It is easier to debug than a tangle of booleans.\n\nEnemy states:\n- `idle
- After: practical implementation steps.'}, {'role': 'user', 'content': 'Create enemy AI for a coin collector. The enemy should ambush, react to the player, and be readable.'}, {'role': 'assistant', 'content': 'Use a small finite-state machine first. It is easier to debug than a tangle of booleans.\n\nEnemy states:\n- `idle
**Prompt:** [{'role': 'system', 'content': 'You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain
- Before: practical tradeoffs.'}, {'role': 'user', 'content': 'Create a Three.js scene featuring a energy pickup. Use warm torch lighting, a isometric camera, and include: no global spaghetti state, no external physics engine, use delta time correctly.'}, {'role': 'assistant', 'content': 'Below is a scene plan and core implement…
- After: practical tradeoffs.'}, {'role': 'user', 'content': 'Create a Three.js scene featuring a water orb. Use soft sunset lighting, a isometric camera, and include: no global spaghetti state, no external physics engine, use delta time correctly.'}, {'role': 'assistant', 'content': 'Below is a scene plan and core implementati…
## Training curve
![Training loss](training_curve.png)
## Usage
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("lexi-coder-v4.3")
tokenizer = AutoTokenizer.from_pretrained("lexi-coder-v4.3")
```
## License and attribution
The effective terms are inherited from the base model and the training data, which are not necessarily the same as this project's own license. Review both before redistributing.
- Base model: [`microsoft/Phi-4-mini-instruct`](https://huggingface.co/microsoft/Phi-4-mini-instruct)
- Training data: `agagasf123123/threejs-gamecode-instruct-v3-ultra`
Copyright (c) 2026 Reallexi LLC. All rights reserved.
Produced by Reallexi LLC AI Model Builder from training job #1588.
Core: https://llm.reallexi.io
Keep `reallexi-model.json`, `NOTICE`, and all applicable upstream license files with the model.

33
SAMPLES.md Normal file
View File

@@ -0,0 +1,33 @@
# Before / after training samples
Generated automatically from a few prompts drawn from the training data, run once against the base model before training started and once against the finished model. This shows what this run changed on representative prompts -- it is not a benchmark and does not measure generalization.
## Prompt: [{'role': 'system', 'content': 'You are an expert software engineer. Write correct, maintainable code and explain decisions clearly.'}, {'role': 'user', 'content':
**Before:**
> 'Create a testing strategy for level generation in a browser game.'}, {'role': 'assistant', 'content': 'Test game logic separately from rendering. Three.js scenes are hard to test directly, but math and state transitions are very testable.\n\nExample pure movement test:\n\n```js\nexport function integratePosition(position, velocity, dt) {\n return {\n x
**After:**
> 'Add mobile touch controls to a Three.js browser game without ruining desktop keyboard controls.'}, {'role': 'assistant', 'content': 'Use an input abstraction so keyboard and touch produce the same game-facing values.\n\n```js\nconst input = {\n moveX: 0,\n moveY: 0,\n actionPressed: false\n};\n\nfunction
## Prompt: [{'role': 'system', 'content': 'You are a senior game tools and engine architecture engineer. Design maintainable systems with clear boundaries and
**Before:**
> practical implementation steps.'}, {'role': 'user', 'content': 'Create enemy AI for a coin collector. The enemy should ambush, react to the player, and be readable.'}, {'role': 'assistant', 'content': 'Use a small finite-state machine first. It is easier to debug than a tangle of booleans.\n\nEnemy states:\n- `idle
**After:**
> practical implementation steps.'}, {'role': 'user', 'content': 'Create enemy AI for a coin collector. The enemy should ambush, react to the player, and be readable.'}, {'role': 'assistant', 'content': 'Use a small finite-state machine first. It is easier to debug than a tangle of booleans.\n\nEnemy states:\n- `idle
## Prompt: [{'role': 'system', 'content': 'You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain
**Before:**
> practical tradeoffs.'}, {'role': 'user', 'content': 'Create a Three.js scene featuring a energy pickup. Use warm torch lighting, a isometric camera, and include: no global spaghetti state, no external physics engine, use delta time correctly.'}, {'role': 'assistant', 'content': 'Below is a scene plan and core implementation. For a full HTML file, wrap
**After:**
> practical tradeoffs.'}, {'role': 'user', 'content': 'Create a Three.js scene featuring a water orb. Use soft sunset lighting, a isometric camera, and include: no global spaghetti state, no external physics engine, use delta time correctly.'}, {'role': 'assistant', 'content': 'Below is a scene plan and core implementation. For a full HTML file, wrap

12
added_tokens.json Normal file
View File

@@ -0,0 +1,12 @@
{
"<|/tool_call|>": 200026,
"<|/tool|>": 200024,
"<|assistant|>": 200019,
"<|end|>": 200020,
"<|system|>": 200022,
"<|tag|>": 200028,
"<|tool_call|>": 200025,
"<|tool_response|>": 200027,
"<|tool|>": 200023,
"<|user|>": 200021
}

1
chat_template.jinja Normal file
View File

@@ -0,0 +1 @@
{% for message in messages %}{% if message['role'] == 'system' and 'tools' in message and message['tools'] is not none %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|tool|>' + message['tools'] + '<|/tool|>' + '<|end|>' }}{% else %}{{ '<|' + message['role'] + '|>' + message['content'] + '<|end|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ '<|assistant|>' }}{% else %}{{ eos_token }}{% endif %}

147
config.json Normal file
View File

@@ -0,0 +1,147 @@
{
"architectures": [
"Phi3ForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"auto_map": {
"AutoConfig": "configuration_phi3.Phi3Config",
"AutoModelForCausalLM": "modeling_phi3.Phi3ForCausalLM",
"AutoTokenizer": "Xenova/gpt-4o"
},
"bos_token_id": 199999,
"dtype": "float16",
"embd_pdrop": 0.0,
"eos_token_id": 199999,
"full_attn_mod": 1,
"hidden_act": "silu",
"hidden_size": 3072,
"ignore_keys_at_rope_validation": null,
"initializer_range": 0.02,
"intermediate_size": 8192,
"interpolate_factor": 1,
"lm_head_bias": false,
"max_position_embeddings": 131072,
"mlp_bias": false,
"model_type": "phi3",
"num_attention_heads": 24,
"num_hidden_layers": 32,
"num_key_value_heads": 8,
"original_max_position_embeddings": 4096,
"pad_token_id": 199999,
"partial_rotary_factor": 0.75,
"resid_pdrop": 0.0,
"rms_norm_eps": 1e-05,
"rope_parameters": {
"long_factor": [
1,
1.118320672,
1.250641126,
1.398617824,
1.564103225,
1.74916897,
1.956131817,
2.187582649,
2.446418898,
2.735880826,
3.059592084,
3.421605075,
3.826451687,
4.279200023,
4.785517845,
5.351743533,
5.984965424,
6.693110555,
7.485043894,
8.370679318,
9.36110372,
10.4687158,
11.70738129,
13.09260651,
14.64173252,
16.37415215,
18.31155283,
20.47818807,
22.90118105,
25.61086418,
28.64115884,
32.03,
32.1,
32.13,
32.23,
32.6,
32.61,
32.64,
32.66,
32.7,
32.71,
32.93,
32.97,
33.28,
33.49,
33.5,
44.16,
47.77
],
"original_max_position_embeddings": 4096,
"partial_rotary_factor": 0.75,
"rope_theta": 10000.0,
"rope_type": "longrope",
"short_factor": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
],
"type": "longrope"
},
"sliding_window": 262144,
"tie_word_embeddings": true,
"transformers_version": "5.3.0",
"use_cache": true,
"vocab_size": 200064
}

10
generation_config.json Normal file
View File

@@ -0,0 +1,10 @@
{
"_from_model_config": true,
"bos_token_id": 199999,
"eos_token_id": [
200020,
199999
],
"pad_token_id": 199999,
"transformers_version": "5.3.0"
}

3
lexi-coder-v4-3-f16.gguf Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3792db5797fbc5e374f1146daba054774fda2a0d70d933988de64369d805310e
size 7680694432

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f372ff165917ca7e5fbc4b93a6fb699aaaabd9f9f95f6855353e552b3de541c
size 2493840544

199743
merges.txt Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:79ce13f454ff8adeb7c46d89780f5f9d688ddff93879500d076ec0a58ad7edad
size 1984219768

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bcadf143d2f686fb4417626090dbcddfc72fc895b31ce69ec18118189d1f3911
size 1912726040

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1131667ac092076dfd6c6ff03fa4622e4e733f12d615b5b895908851cdb35527
size 1963064008

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fb2ece5d2752b419c99ac00c4237c27192a2d3c0815ad03c976712330c4becaa
size 1812056168

View File

@@ -0,0 +1,202 @@
{
"metadata": {
"total_parameters": 3836021760,
"total_size": 7672043520
},
"weight_map": {
"model.embed_tokens.weight": "model-00001-of-00004.safetensors",
"model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
"model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.0.mlp.gate_up_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
"model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.0.self_attn.qkv_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
"model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.1.mlp.gate_up_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
"model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.1.self_attn.qkv_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.10.mlp.gate_up_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.10.self_attn.qkv_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.11.mlp.gate_up_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.11.self_attn.qkv_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.12.mlp.gate_up_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.12.self_attn.qkv_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.13.mlp.gate_up_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.13.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.13.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.13.self_attn.qkv_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.14.input_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.14.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.14.mlp.gate_up_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.14.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.14.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.14.self_attn.qkv_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.15.input_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.15.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.15.mlp.gate_up_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.15.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.15.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.15.self_attn.qkv_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.16.input_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.16.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.16.mlp.gate_up_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.16.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.16.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.16.self_attn.qkv_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.17.input_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.17.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.17.mlp.gate_up_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.17.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.17.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.17.self_attn.qkv_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.18.mlp.gate_up_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.18.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.18.self_attn.qkv_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.19.mlp.gate_up_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.19.self_attn.qkv_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
"model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.2.mlp.gate_up_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
"model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.2.self_attn.qkv_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.20.mlp.gate_up_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.20.self_attn.qkv_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.21.mlp.gate_up_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.21.self_attn.qkv_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.22.mlp.gate_up_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.22.self_attn.qkv_proj.weight": "model-00003-of-00004.safetensors",
"model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
"model.layers.23.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.23.mlp.gate_up_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.23.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.23.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.23.self_attn.qkv_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.24.input_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.24.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.24.mlp.gate_up_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.24.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.24.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.24.self_attn.qkv_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.25.input_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.25.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.25.mlp.gate_up_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.25.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.25.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.25.self_attn.qkv_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.26.input_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.26.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.26.mlp.gate_up_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.26.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.26.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.26.self_attn.qkv_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.27.input_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.27.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.27.mlp.gate_up_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.27.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.27.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.27.self_attn.qkv_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.28.input_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.28.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.28.mlp.gate_up_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.28.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.28.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.28.self_attn.qkv_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.29.input_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.29.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.29.mlp.gate_up_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.29.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.29.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.29.self_attn.qkv_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
"model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.3.mlp.gate_up_proj.weight": "model-00001-of-00004.safetensors",
"model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
"model.layers.3.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.3.self_attn.qkv_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.30.input_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.30.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.30.mlp.gate_up_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.30.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.30.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.30.self_attn.qkv_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.31.input_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.31.mlp.down_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.31.mlp.gate_up_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.31.post_attention_layernorm.weight": "model-00004-of-00004.safetensors",
"model.layers.31.self_attn.o_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.31.self_attn.qkv_proj.weight": "model-00004-of-00004.safetensors",
"model.layers.4.input_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.4.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.4.mlp.gate_up_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.4.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.4.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.4.self_attn.qkv_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.5.input_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.5.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.5.mlp.gate_up_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.5.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.5.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.5.self_attn.qkv_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.6.input_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.6.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.6.mlp.gate_up_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.6.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.6.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.6.self_attn.qkv_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.7.input_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.7.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.7.mlp.gate_up_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.7.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.7.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.7.self_attn.qkv_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.8.mlp.gate_up_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.8.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.8.self_attn.qkv_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.9.mlp.gate_up_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
"model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
"model.layers.9.self_attn.qkv_proj.weight": "model-00002-of-00004.safetensors",
"model.norm.weight": "model-00004-of-00004.safetensors"
}
}

20
reallexi-model.json Normal file
View File

@@ -0,0 +1,20 @@
{
"schema_version": 1,
"job_id": 1588,
"model_name": "lexi-coder-v4.3",
"artifact_type": "standalone_model",
"standalone": true,
"adapter_applied": true,
"source_artifact_type": "lora_adapter",
"base_model_id": "microsoft/Phi-4-mini-instruct",
"custom_adapter": null,
"training_strategy": "lora",
"total_parameters": 3847556096,
"weight_size_bytes": 7672065984,
"trained_samples": 936,
"training_steps": 1170,
"owner": "Reallexi LLC",
"copyright": "Copyright (c) 2026 Reallexi LLC. All rights reserved.",
"core_backlink": "https://llm.reallexi.io",
"created_at": "2026-08-07T00:33:26+00:00"
}

35
samples.json Normal file
View File

@@ -0,0 +1,35 @@
{
"prompts": [
"[{'role': 'system', 'content': 'You are an expert software engineer. Write correct, maintainable code and explain decisions clearly.'}, {'role': 'user', 'content':",
"[{'role': 'system', 'content': 'You are a senior game tools and engine architecture engineer. Design maintainable systems with clear boundaries and",
"[{'role': 'system', 'content': 'You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain"
],
"before": [
{
"prompt": "[{'role': 'system', 'content': 'You are an expert software engineer. Write correct, maintainable code and explain decisions clearly.'}, {'role': 'user', 'content':",
"output": "'Create a testing strategy for level generation in a browser game.'}, {'role': 'assistant', 'content': 'Test game logic separately from rendering. Three.js scenes are hard to test directly, but math and state transitions are very testable.\\n\\nExample pure movement test:\\n\\n```js\\nexport function integratePosition(position, velocity, dt) {\\n return {\\n x"
},
{
"prompt": "[{'role': 'system', 'content': 'You are a senior game tools and engine architecture engineer. Design maintainable systems with clear boundaries and",
"output": "practical implementation steps.'}, {'role': 'user', 'content': 'Create enemy AI for a coin collector. The enemy should ambush, react to the player, and be readable.'}, {'role': 'assistant', 'content': 'Use a small finite-state machine first. It is easier to debug than a tangle of booleans.\\n\\nEnemy states:\\n- `idle"
},
{
"prompt": "[{'role': 'system', 'content': 'You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain",
"output": "practical tradeoffs.'}, {'role': 'user', 'content': 'Create a Three.js scene featuring a energy pickup. Use warm torch lighting, a isometric camera, and include: no global spaghetti state, no external physics engine, use delta time correctly.'}, {'role': 'assistant', 'content': 'Below is a scene plan and core implementation. For a full HTML file, wrap"
}
],
"after": [
{
"prompt": "[{'role': 'system', 'content': 'You are an expert software engineer. Write correct, maintainable code and explain decisions clearly.'}, {'role': 'user', 'content':",
"output": "'Add mobile touch controls to a Three.js browser game without ruining desktop keyboard controls.'}, {'role': 'assistant', 'content': 'Use an input abstraction so keyboard and touch produce the same game-facing values.\\n\\n```js\\nconst input = {\\n moveX: 0,\\n moveY: 0,\\n actionPressed: false\\n};\\n\\nfunction"
},
{
"prompt": "[{'role': 'system', 'content': 'You are a senior game tools and engine architecture engineer. Design maintainable systems with clear boundaries and",
"output": "practical implementation steps.'}, {'role': 'user', 'content': 'Create enemy AI for a coin collector. The enemy should ambush, react to the player, and be readable.'}, {'role': 'assistant', 'content': 'Use a small finite-state machine first. It is easier to debug than a tangle of booleans.\\n\\nEnemy states:\\n- `idle"
},
{
"prompt": "[{'role': 'system', 'content': 'You are an expert JavaScript, Three.js, and browser game developer. Produce original, runnable, clean code and explain",
"output": "practical tradeoffs.'}, {'role': 'user', 'content': 'Create a Three.js scene featuring a water orb. Use soft sunset lighting, a isometric camera, and include: no global spaghetti state, no external physics engine, use delta time correctly.'}, {'role': 'assistant', 'content': 'Below is a scene plan and core implementation. For a full HTML file, wrap"
}
]
}

30
special_tokens_map.json Normal file
View File

@@ -0,0 +1,30 @@
{
"bos_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"eos_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"pad_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
},
"unk_token": {
"content": "<|endoftext|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false
}
}

3
tokenizer.json Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b304e99f0945a1bee246357b045d957db2c438b5fcecb4cd8ea72d6366a86a3
size 15524576

19
tokenizer_config.json Normal file
View File

@@ -0,0 +1,19 @@
{
"add_prefix_space": false,
"backend": "tokenizers",
"bos_token": "<|endoftext|>",
"clean_up_tokenization_spaces": false,
"eos_token": "<|endoftext|>",
"is_local": true,
"max_length": 1024,
"model_max_length": 131072,
"pad_to_multiple_of": null,
"pad_token": "<|endoftext|>",
"pad_token_type_id": 0,
"padding_side": "right",
"stride": 0,
"tokenizer_class": "GPT2Tokenizer",
"truncation_side": "right",
"truncation_strategy": "longest_first",
"unk_token": "<|endoftext|>"
}

3
training_curve.png Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ced45ca4fe7bcad2a83c8fa50ad3307a98a33d943cdda65c9d2491d533479468
size 103775

1
vocab.json Normal file

File diff suppressed because one or more lines are too long