rebehzat commited on
Commit
4d3c943
·
verified ·
1 Parent(s): 903cb5f

Upload BehzatOne v108 BF16 shards and GGUF artifacts

Browse files
.gitattributes CHANGED
@@ -47,3 +47,6 @@ v106/tokenizer.json filter=lfs diff=lfs merge=lfs -text
47
  gguf/BehzatOne-8B-A1B-v107.BF16.gguf filter=lfs diff=lfs merge=lfs -text
48
  gguf/BehzatOne-8B-A1B-v107.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
49
  v107/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
47
  gguf/BehzatOne-8B-A1B-v107.BF16.gguf filter=lfs diff=lfs merge=lfs -text
48
  gguf/BehzatOne-8B-A1B-v107.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
49
  v107/tokenizer.json filter=lfs diff=lfs merge=lfs -text
50
+ gguf/BehzatOne-8B-A1B-v108.BF16.gguf filter=lfs diff=lfs merge=lfs -text
51
+ gguf/BehzatOne-8B-A1B-v108.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
52
+ v108/tokenizer.json filter=lfs diff=lfs merge=lfs -text
Modelfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ./gguf/BehzatOne-8B-A1B-v107.Q4_K_M.gguf
2
 
3
  TEMPLATE """<|startoftext|>{{ if .System }}<|im_start|>system
4
  {{ .System }}<|im_end|>
 
1
+ FROM ./gguf/BehzatOne-8B-A1B-v108.Q4_K_M.gguf
2
 
3
  TEMPLATE """<|startoftext|>{{ if .System }}<|im_start|>system
4
  {{ .System }}<|im_end|>
Modelfile.v108-agent-q4 ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ./gguf/BehzatOne-8B-A1B-v108.Q4_K_M.gguf
2
+
3
+ TEMPLATE """<|startoftext|>{{ if .System }}<|im_start|>system
4
+ {{ .System }}<|im_end|>
5
+ {{ else }}<|im_start|>system
6
+ You are BehzatOne Agent, a patch-producing coding assistant.
7
+ When asked to edit code, return only a unified git diff. Do not include markdown,
8
+ explanations, <think> blocks, fake tool output, or shell transcripts.<|im_end|>
9
+ {{ end }}<|im_start|>user
10
+ {{ .Prompt }}
11
+
12
+ Return only the requested artifact. For code edits, return only a unified git diff.<|im_end|>
13
+ <|im_start|>assistant
14
+ """
15
+
16
+ RENDERER lfm2-thinking
17
+ PARSER lfm2-thinking
18
+
19
+ PARAMETER stop "<|im_end|>"
20
+ PARAMETER stop "<|im_start|>"
21
+ PARAMETER temperature 0.1
22
+ PARAMETER top_k 30
23
+ PARAMETER top_p 0.85
24
+ PARAMETER repeat_penalty 1.1
25
+ PARAMETER typical_p 0.9
Modelfile.v108-bf16 ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ./gguf/BehzatOne-8B-A1B-v108.BF16.gguf
2
+
3
+ TEMPLATE """<|startoftext|>{{ if .System }}<|im_start|>system
4
+ {{ .System }}<|im_end|>
5
+ {{ else }}<|im_start|>system
6
+ You are BehzatOne, a careful code assistant by Behzat Industries.
7
+ Answer with the requested final artifact only. Do not include hidden reasoning,
8
+ <think> blocks, or unrelated prose. If you do not know, say UNKNOWN.<|im_end|>
9
+ {{ end }}<|im_start|>user
10
+ {{ .Prompt }}
11
+
12
+ Answer final only. Do not output <think> blocks.<|im_end|>
13
+ <|im_start|>assistant
14
+ """
15
+
16
+ RENDERER lfm2-thinking
17
+ PARSER lfm2-thinking
18
+
19
+ PARAMETER stop "<|im_end|>"
20
+ PARAMETER stop "<|im_start|>"
21
+ PARAMETER temperature 0.1
22
+ PARAMETER top_k 30
23
+ PARAMETER top_p 0.85
24
+ PARAMETER repeat_penalty 1.1
25
+ PARAMETER typical_p 0.9
Modelfile.v108-q4 ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM ./gguf/BehzatOne-8B-A1B-v108.Q4_K_M.gguf
2
+
3
+ TEMPLATE """<|startoftext|>{{ if .System }}<|im_start|>system
4
+ {{ .System }}<|im_end|>
5
+ {{ else }}<|im_start|>system
6
+ You are BehzatOne, a careful code assistant by Behzat Industries.
7
+ Answer with the requested final artifact only. Do not include hidden reasoning,
8
+ <think> blocks, or unrelated prose. If you do not know, say UNKNOWN.<|im_end|>
9
+ {{ end }}<|im_start|>user
10
+ {{ .Prompt }}
11
+
12
+ Answer final only. Do not output <think> blocks.<|im_end|>
13
+ <|im_start|>assistant
14
+ """
15
+
16
+ RENDERER lfm2-thinking
17
+ PARSER lfm2-thinking
18
+
19
+ PARAMETER stop "<|im_end|>"
20
+ PARAMETER stop "<|im_start|>"
21
+ PARAMETER temperature 0.1
22
+ PARAMETER top_k 30
23
+ PARAMETER top_p 0.85
24
+ PARAMETER repeat_penalty 1.1
25
+ PARAMETER typical_p 0.9
README.md CHANGED
@@ -17,35 +17,33 @@ language:
17
  pipeline_tag: text-generation
18
  ---
19
 
20
- # BehzatOne-8B-A1B v107
21
 
22
- This release builds on the v105 BF16 base and merges the current v106 SFT and DPO adapters into it. It ships the merged BF16 weights plus BF16 and Q4_K_M GGUF artifacts for local deployment.
23
 
24
  ## Version Lineage
25
 
26
  - v105: ~109k-sample release with SFT plus anti-hallucination DPO.
27
  - v106: agentic SFT plus DPO release.
28
  - v107: merge release built from the v105 BF16 base plus the current v106 SFT and DPO adapters.
 
29
 
30
 
31
  ## What changed
32
 
33
- - New SFT adapter merged into the base `LiquidAI/LFM2.5-8B-A1B`
34
- - DPO retrained with a public 80/10/10 mix:
35
- - 80% agentic/tool-use preferences
36
- - 10% coding preferences
37
- - 10% conversation preferences
38
- - GGUF artifacts generated for both BF16 and Q4_K_M
39
- - Ollama Modelfiles included for BF16 and Q4 deployment
40
 
41
  ## Artifacts
42
 
43
- - `/v107/` - merged BF16 HF model shards
44
- - `gguf/BehzatOne-8B-A1B-v107.BF16.gguf` - BF16 GGUF
45
- - `gguf/BehzatOne-8B-A1B-v107.Q4_K_M.gguf` - Q4_K_M GGUF
46
- - `Modelfile.v107-bf16`
47
- - `Modelfile.v107-q4`
48
- - `Modelfile.v107-agent-q4`
49
 
50
  ## Status
51
 
@@ -61,13 +59,13 @@ import torch
61
 
62
  model = AutoModelForCausalLM.from_pretrained(
63
  "behzatindustries/BehzatOne-8B-A1B",
64
- subfolder="v107",
65
  torch_dtype=torch.bfloat16,
66
  trust_remote_code=True,
67
  ).cuda()
68
  tokenizer = AutoTokenizer.from_pretrained(
69
  "behzatindustries/BehzatOne-8B-A1B",
70
- subfolder="v107",
71
  trust_remote_code=True,
72
  )
73
  ```
 
17
  pipeline_tag: text-generation
18
  ---
19
 
20
+ # BehzatOne-8B-A1B v108
21
 
22
+ This is a targeted repair release built on v107. It focuses on strict agentic output contracts: valid unified diffs, complete file rewrites, JSON-only answers, and rejecting tool-schema regurgitation or fake shell transcripts.
23
 
24
  ## Version Lineage
25
 
26
  - v105: ~109k-sample release with SFT plus anti-hallucination DPO.
27
  - v106: agentic SFT plus DPO release.
28
  - v107: merge release built from the v105 BF16 base plus the current v106 SFT and DPO adapters.
29
+ - v108: targeted agentic-format repair release on top of v107, focused on exact patch/file/JSON output and anti-schema-regurgitation.
30
 
31
 
32
  ## What changed
33
 
34
+ - Merged BF16 weights for this release.
35
+ - GGUF artifacts generated for both BF16 and Q4_K_M.
36
+ - Ollama Modelfiles included for BF16 and Q4 deployment.
37
+ - See the release summary above for the training focus of this version.
 
 
 
38
 
39
  ## Artifacts
40
 
41
+ - `/v108/` - merged BF16 HF model shards
42
+ - `gguf/BehzatOne-8B-A1B-v108.BF16.gguf` - BF16 GGUF
43
+ - `gguf/BehzatOne-8B-A1B-v108.Q4_K_M.gguf` - Q4_K_M GGUF
44
+ - `Modelfile.v108-bf16`
45
+ - `Modelfile.v108-q4`
46
+ - `Modelfile.v108-agent-q4`
47
 
48
  ## Status
49
 
 
59
 
60
  model = AutoModelForCausalLM.from_pretrained(
61
  "behzatindustries/BehzatOne-8B-A1B",
62
+ subfolder="v108",
63
  torch_dtype=torch.bfloat16,
64
  trust_remote_code=True,
65
  ).cuda()
66
  tokenizer = AutoTokenizer.from_pretrained(
67
  "behzatindustries/BehzatOne-8B-A1B",
68
+ subfolder="v108",
69
  trust_remote_code=True,
70
  )
71
  ```
gguf/BehzatOne-8B-A1B-v108.BF16.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d51cb0ecb9d088b613be2deed2b93cd6e02c0cfeea69c3833c39fe1b7df9217
3
+ size 16947255424
gguf/BehzatOne-8B-A1B-v108.Q4_K_M.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d91d7d5e680f2dee608dcd0f785db0ecc7d78027bae981e93075f27f3b3d079
3
+ size 5155559552
v108/config.json ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Lfm2MoeForCausalLM"
4
+ ],
5
+ "bos_token_id": 124894,
6
+ "conv_L_cache": 3,
7
+ "conv_bias": false,
8
+ "dtype": "bfloat16",
9
+ "eos_token_id": 124900,
10
+ "hidden_size": 2048,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 7168,
13
+ "layer_types": [
14
+ "conv",
15
+ "conv",
16
+ "full_attention",
17
+ "conv",
18
+ "conv",
19
+ "conv",
20
+ "full_attention",
21
+ "conv",
22
+ "conv",
23
+ "conv",
24
+ "full_attention",
25
+ "conv",
26
+ "conv",
27
+ "conv",
28
+ "full_attention",
29
+ "conv",
30
+ "conv",
31
+ "conv",
32
+ "full_attention",
33
+ "conv",
34
+ "conv",
35
+ "full_attention",
36
+ "conv",
37
+ "conv"
38
+ ],
39
+ "max_position_embeddings": 128000,
40
+ "model_type": "lfm2_moe",
41
+ "moe_intermediate_size": 1792,
42
+ "norm_eps": 1e-05,
43
+ "norm_topk_prob": true,
44
+ "num_attention_heads": 32,
45
+ "num_dense_layers": 2,
46
+ "num_experts": 32,
47
+ "num_experts_per_tok": 4,
48
+ "num_hidden_layers": 24,
49
+ "num_key_value_heads": 8,
50
+ "pad_token_id": 124893,
51
+ "rope_parameters": {
52
+ "rope_theta": 5000000,
53
+ "rope_type": "default"
54
+ },
55
+ "routed_scaling_factor": 1.0,
56
+ "tie_word_embeddings": true,
57
+ "transformers_version": "5.12.1",
58
+ "use_cache": true,
59
+ "use_expert_bias": true,
60
+ "vocab_size": 128000
61
+ }
v108/generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 124894,
4
+ "do_sample": true,
5
+ "eos_token_id": 124900,
6
+ "output_attentions": false,
7
+ "output_hidden_states": false,
8
+ "pad_token_id": 124893,
9
+ "repetition_penalty": 1.05,
10
+ "temperature": 0.2,
11
+ "top_k": 80,
12
+ "transformers_version": "5.12.1",
13
+ "use_cache": true
14
+ }
v108/model-00001-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8c6f7f807b680fac78a1b17e6b99fbc69761fdf179a4ef489b3108dbc20612c
3
+ size 3943343776
v108/model-00002-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c52129cf229ab39615a7a025fa43fb13ce5f426b059822dbe638a2db1d1edf82
3
+ size 3700188296
v108/model-00003-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c41f2c4348e014ad372039ce2a09c33c32d64cb89c0adbed488692e131307f3a
3
+ size 3679216200
v108/model-00004-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf6bb60d5672a46fcf73589080f2273af7299a8e4581215c42c42045ce1e2964
3
+ size 3645649144
v108/model-00005-of-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2db98668c94632eecad3ef946be1eae1d712923f4a33d1efc15d8f427c38ef95
3
+ size 1967606440
v108/model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
v108/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:695be7802a0e4b8a81048f0ff5ebb7fc811a0ba5a6be63dbb24deb5a81096f41
3
+ size 17905598
v108/tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<|startoftext|>",
4
+ "clean_up_tokenization_spaces": false,
5
+ "eos_token": "<|im_end|>",
6
+ "is_local": true,
7
+ "local_files_only": false,
8
+ "model_max_length": 1000000000000000019884624838656,
9
+ "pad_token": "<|pad|>",
10
+ "tokenizer_class": "TokenizersBackend",
11
+ "use_default_system_prompt": false
12
+ }