sp00ktober commited on
Commit
50d38d0
·
verified ·
1 Parent(s): ce0f911

Upload folder using huggingface_hub

Browse files
config.json CHANGED
@@ -1,4 +1,33 @@
1
  {
2
- "tokenizer_class": "LlamaTokenizer",
3
- "model_type": "llama"
4
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "_name_or_path": "output_deepseek_v0.0.2/checkpoint-2400",
3
+ "architectures": [
4
+ "LlamaForCausalLM"
5
+ ],
6
+ "attention_bias": false,
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 32013,
9
+ "eos_token_id": 32021,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 2048,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 5504,
14
+ "max_position_embeddings": 16384,
15
+ "mlp_bias": false,
16
+ "model_type": "llama",
17
+ "num_attention_heads": 16,
18
+ "num_hidden_layers": 24,
19
+ "num_key_value_heads": 16,
20
+ "pretraining_tp": 1,
21
+ "rms_norm_eps": 1e-06,
22
+ "rope_scaling": {
23
+ "factor": 4.0,
24
+ "rope_type": "linear",
25
+ "type": "linear"
26
+ },
27
+ "rope_theta": 100000,
28
+ "tie_word_embeddings": false,
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.44.0",
31
+ "use_cache": true,
32
+ "vocab_size": 32256
33
+ }
llama_FFN_PF_lut6_chunk_01of01.mlmodelc/analytics/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2534c6514869c4a8b4d7ca150c4cd3b4f6eefdd81c83a7961c5b51f155a991d1
3
  size 243
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e53b9306ddaf9d32f54326b70d13396584a1cd78c5a4bcf99b4b3cdc4011e2a7
3
  size 243
llama_FFN_PF_lut6_chunk_01of01.mlmodelc/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9f540fcf31c5d59fed22768b450cf24cd4048eebd79b3ece914669db19a73eaa
3
  size 981
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9421991cfae970be73591364d1b1d6b7b41cdd5f508b597bee227cf92c8dd386
3
  size 981
llama_FFN_PF_lut6_chunk_01of01.mlmodelc/metadata.json CHANGED
@@ -5,8 +5,8 @@
5
  "com.anemll.chunk_no" : "1",
6
  "com.github.apple.coremltools.source" : "torch==2.5.0",
7
  "com.anemll.context_length" : "2048",
8
- "com.github.apple.coremltools.source_dialect" : "TorchScript",
9
  "com.github.apple.coremltools.version" : "9.0",
 
10
  "com.anemll.num_chunks" : "1",
11
  "com.anemll.info" : "Converted with Anemll v0.1.1",
12
  "com.anemll.batch_size" : "64",
 
5
  "com.anemll.chunk_no" : "1",
6
  "com.github.apple.coremltools.source" : "torch==2.5.0",
7
  "com.anemll.context_length" : "2048",
 
8
  "com.github.apple.coremltools.version" : "9.0",
9
+ "com.github.apple.coremltools.source_dialect" : "TorchScript",
10
  "com.anemll.num_chunks" : "1",
11
  "com.anemll.info" : "Converted with Anemll v0.1.1",
12
  "com.anemll.batch_size" : "64",
llama_FFN_PF_lut6_chunk_01of01.mlpackage/Data/com.apple.CoreML/model.mlmodel CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:dee0490501c6317586473e2570349659db97bf0804e8fe4be8cb3fc05e80e6ce
3
  size 1614653
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:abc54c5b07b17c136e4ab1ceea4abd524f7e1fc6e4b705648911a6302b0f32e6
3
  size 1614653
llama_FFN_PF_lut6_chunk_01of01.mlpackage/Manifest.json CHANGED
@@ -1,18 +1,18 @@
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
- "6B069198-AB82-4BB4-A414-5AADEADB1164": {
5
  "author": "com.apple.CoreML",
6
  "description": "CoreML Model Weights",
7
  "name": "weights",
8
  "path": "com.apple.CoreML/weights"
9
  },
10
- "B367D477-9F4C-4096-A3F9-03E87FD9375F": {
11
  "author": "com.apple.CoreML",
12
  "description": "CoreML Model Specification",
13
  "name": "model.mlmodel",
14
  "path": "com.apple.CoreML/model.mlmodel"
15
  }
16
  },
17
- "rootModelIdentifier": "B367D477-9F4C-4096-A3F9-03E87FD9375F"
18
  }
 
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
+ "364C6207-AD1B-4B33-A195-BF5B841ABF74": {
5
  "author": "com.apple.CoreML",
6
  "description": "CoreML Model Weights",
7
  "name": "weights",
8
  "path": "com.apple.CoreML/weights"
9
  },
10
+ "B22A275C-8BF9-4736-B0C1-DA2C81FDEF1D": {
11
  "author": "com.apple.CoreML",
12
  "description": "CoreML Model Specification",
13
  "name": "model.mlmodel",
14
  "path": "com.apple.CoreML/model.mlmodel"
15
  }
16
  },
17
+ "rootModelIdentifier": "B22A275C-8BF9-4736-B0C1-DA2C81FDEF1D"
18
  }
llama_FFN_lut6_chunk_01of01.mlpackage/Data/com.apple.CoreML/model.mlmodel CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2ae042067dc65a61f46c1fedc81baf39d7e5e82314ddaba3e102904a5791c014
3
  size 799512
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14d4c5586b55eb3202a31ee84dacd16a76a58dbc0a97aee400a75ba19bd9a9c8
3
  size 799512
llama_FFN_lut6_chunk_01of01.mlpackage/Manifest.json CHANGED
@@ -1,18 +1,18 @@
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
- "51DC25C8-119A-447D-93B3-2D04E6C3DF14": {
5
- "author": "com.apple.CoreML",
6
- "description": "CoreML Model Specification",
7
- "name": "model.mlmodel",
8
- "path": "com.apple.CoreML/model.mlmodel"
9
- },
10
- "756C638C-53A8-493A-8CA8-BC89B8DD5939": {
11
  "author": "com.apple.CoreML",
12
  "description": "CoreML Model Weights",
13
  "name": "weights",
14
  "path": "com.apple.CoreML/weights"
 
 
 
 
 
 
15
  }
16
  },
17
- "rootModelIdentifier": "51DC25C8-119A-447D-93B3-2D04E6C3DF14"
18
  }
 
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
+ "53F9A283-E453-4A93-ABBB-513F65C9575B": {
 
 
 
 
 
 
5
  "author": "com.apple.CoreML",
6
  "description": "CoreML Model Weights",
7
  "name": "weights",
8
  "path": "com.apple.CoreML/weights"
9
+ },
10
+ "DDDD6E01-E6E6-411A-83B9-93FBB2D79385": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Specification",
13
+ "name": "model.mlmodel",
14
+ "path": "com.apple.CoreML/model.mlmodel"
15
  }
16
  },
17
+ "rootModelIdentifier": "DDDD6E01-E6E6-411A-83B9-93FBB2D79385"
18
  }
llama_embeddings.mlmodelc/analytics/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cc072d227c5f80701a1952a9d8972087bf07bebac0e1938364ccd8b5111d24e2
3
  size 243
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:955952f0252a18f3186a83be6ed74d475090dd321dbb8c075b477828dbac139f
3
  size 243
llama_embeddings.mlmodelc/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e3648b63d7e92a2089ea08568b87fc083d7884a3c2c2a5cc11212a99ab88772b
3
  size 560
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2e217409ad0d5b7ee990de15486d68ea1a2ab098e9075fbdd9ffa005d0d4d8a
3
  size 560
llama_embeddings.mlmodelc/metadata.json CHANGED
@@ -59,12 +59,12 @@
59
  }
60
  ],
61
  "userDefinedMetadata" : {
62
- "com.github.apple.coremltools.conversion_date" : "2026-03-16",
63
  "com.github.apple.coremltools.source_dialect" : "TorchScript",
64
- "com.github.apple.coremltools.version" : "9.0",
 
65
  "com.github.apple.coremltools.source" : "torch==2.5.0",
66
- "com.anemll.info" : "Converted with Anemll v0.1.1",
67
- "com.anemll.context_length" : "2048"
68
  },
69
  "generatedClassName" : "llama_embeddings",
70
  "method" : "predict"
 
59
  }
60
  ],
61
  "userDefinedMetadata" : {
 
62
  "com.github.apple.coremltools.source_dialect" : "TorchScript",
63
+ "com.anemll.context_length" : "2048",
64
+ "com.github.apple.coremltools.conversion_date" : "2026-03-17",
65
  "com.github.apple.coremltools.source" : "torch==2.5.0",
66
+ "com.github.apple.coremltools.version" : "9.0",
67
+ "com.anemll.info" : "Converted with Anemll v0.1.1"
68
  },
69
  "generatedClassName" : "llama_embeddings",
70
  "method" : "predict"
llama_embeddings.mlpackage/Data/com.apple.CoreML/model.mlmodel CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:850ebb8ab335e4f08f0b095a2e3e4003188adf7a2bcd37d330115153a919cb16
3
  size 3061
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9d75ab28c2cde20f1ad2517130b3d465c2bcad497502fd9922ee9f474096ede
3
  size 3061
llama_embeddings.mlpackage/Manifest.json CHANGED
@@ -1,18 +1,18 @@
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
- "18A35646-6EAF-41D7-AF21-DE943A9BC9A1": {
5
  "author": "com.apple.CoreML",
6
  "description": "CoreML Model Weights",
7
  "name": "weights",
8
  "path": "com.apple.CoreML/weights"
9
  },
10
- "FBAB2CB4-A0A0-468A-952D-FC9D38B2B02E": {
11
  "author": "com.apple.CoreML",
12
  "description": "CoreML Model Specification",
13
  "name": "model.mlmodel",
14
  "path": "com.apple.CoreML/model.mlmodel"
15
  }
16
  },
17
- "rootModelIdentifier": "FBAB2CB4-A0A0-468A-952D-FC9D38B2B02E"
18
  }
 
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
+ "85625E63-BF8B-467B-957B-DF5327D861BA": {
5
  "author": "com.apple.CoreML",
6
  "description": "CoreML Model Weights",
7
  "name": "weights",
8
  "path": "com.apple.CoreML/weights"
9
  },
10
+ "ED954E18-4E2C-435F-98E4-D9B190F21DF3": {
11
  "author": "com.apple.CoreML",
12
  "description": "CoreML Model Specification",
13
  "name": "model.mlmodel",
14
  "path": "com.apple.CoreML/model.mlmodel"
15
  }
16
  },
17
+ "rootModelIdentifier": "ED954E18-4E2C-435F-98E4-D9B190F21DF3"
18
  }
llama_lm_head_lut6.mlmodelc/analytics/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7ca7fa2674d83c22518cb831c07cb453a4f3904f2bbfc65c0620d91faa29bd44
3
  size 243
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c882753e4853952ee503752cc3509b7343777c48e1fa6189b67a093ada772c7
3
  size 243
llama_lm_head_lut6.mlmodelc/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:76919207d71c2867b176347dfc3ee11f235d80c495cfaf9c3ac7180fa2a54a5b
3
  size 859
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a088381332bc8837634b408eb51f8acc6c63381326aa92211a406ee56c1ba97
3
  size 859
llama_lm_head_lut6.mlmodelc/metadata.json CHANGED
@@ -127,12 +127,12 @@
127
  }
128
  ],
129
  "userDefinedMetadata" : {
130
- "com.github.apple.coremltools.source" : "torch==2.5.0",
131
  "com.github.apple.coremltools.source_dialect" : "TorchScript",
 
132
  "com.anemll.context_length" : "2048",
133
- "com.github.apple.coremltools.version" : "9.0",
134
  "com.anemll.lm_head_chunk_sizes" : "4032,4032,4032,4032,4032,4032,4032,4032",
135
- "com.github.apple.coremltools.conversion_date" : "2026-03-16",
136
  "com.anemll.vocab_size" : "32256",
137
  "com.anemll.info" : "Converted with Anemll v0.1.1",
138
  "com.anemll.lut_bits" : "6"
 
127
  }
128
  ],
129
  "userDefinedMetadata" : {
130
+ "com.github.apple.coremltools.version" : "9.0",
131
  "com.github.apple.coremltools.source_dialect" : "TorchScript",
132
+ "com.github.apple.coremltools.conversion_date" : "2026-03-17",
133
  "com.anemll.context_length" : "2048",
 
134
  "com.anemll.lm_head_chunk_sizes" : "4032,4032,4032,4032,4032,4032,4032,4032",
135
+ "com.github.apple.coremltools.source" : "torch==2.5.0",
136
  "com.anemll.vocab_size" : "32256",
137
  "com.anemll.info" : "Converted with Anemll v0.1.1",
138
  "com.anemll.lut_bits" : "6"
llama_lm_head_lut6.mlpackage/Data/com.apple.CoreML/model.mlmodel CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1703bb1dfde2fbbe69f0ce67042350ade50ed933081e2ba1bcd996db544398c5
3
  size 15426
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b666cbadf27c962fab9d7e421586a134120b334107382eac2f20a88cb474813b
3
  size 15426
llama_lm_head_lut6.mlpackage/Manifest.json CHANGED
@@ -1,18 +1,18 @@
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
- "8714F54A-1DDA-4F79-8F24-23653762C904": {
5
- "author": "com.apple.CoreML",
6
- "description": "CoreML Model Specification",
7
- "name": "model.mlmodel",
8
- "path": "com.apple.CoreML/model.mlmodel"
9
- },
10
- "FF81EDA0-16BD-4496-A987-C3841565AE74": {
11
  "author": "com.apple.CoreML",
12
  "description": "CoreML Model Weights",
13
  "name": "weights",
14
  "path": "com.apple.CoreML/weights"
 
 
 
 
 
 
15
  }
16
  },
17
- "rootModelIdentifier": "8714F54A-1DDA-4F79-8F24-23653762C904"
18
  }
 
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
+ "14014917-4E03-4FF7-A25C-7D37CE6A58AA": {
 
 
 
 
 
 
5
  "author": "com.apple.CoreML",
6
  "description": "CoreML Model Weights",
7
  "name": "weights",
8
  "path": "com.apple.CoreML/weights"
9
+ },
10
+ "9357E2E6-C079-4015-B45E-2FD97B2DAE46": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Specification",
13
+ "name": "model.mlmodel",
14
+ "path": "com.apple.CoreML/model.mlmodel"
15
  }
16
  },
17
+ "rootModelIdentifier": "9357E2E6-C079-4015-B45E-2FD97B2DAE46"
18
  }
llama_prefill_lut6_chunk_01of01.mlpackage/Data/com.apple.CoreML/model.mlmodel CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:af7b66fa66de67d2c85496e2f7972af1d2556e0ca20d51a27120d6a7181cb988
3
  size 815469
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:923df0f8f9f36dd15f611332ef4d5ac432f47e801ca5db1ccee3e7a3301ad4e9
3
  size 815469
llama_prefill_lut6_chunk_01of01.mlpackage/Manifest.json CHANGED
@@ -1,18 +1,18 @@
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
- "0EF25507-A49E-491C-B027-DC4D1BD03878": {
5
- "author": "com.apple.CoreML",
6
- "description": "CoreML Model Specification",
7
- "name": "model.mlmodel",
8
- "path": "com.apple.CoreML/model.mlmodel"
9
- },
10
- "E6C17952-D6AF-4299-BFB3-C2139771925C": {
11
  "author": "com.apple.CoreML",
12
  "description": "CoreML Model Weights",
13
  "name": "weights",
14
  "path": "com.apple.CoreML/weights"
 
 
 
 
 
 
15
  }
16
  },
17
- "rootModelIdentifier": "0EF25507-A49E-491C-B027-DC4D1BD03878"
18
  }
 
1
  {
2
  "fileFormatVersion": "1.0.0",
3
  "itemInfoEntries": {
4
+ "46B7EB73-4FFD-4A6A-85A6-70EE30E0419E": {
 
 
 
 
 
 
5
  "author": "com.apple.CoreML",
6
  "description": "CoreML Model Weights",
7
  "name": "weights",
8
  "path": "com.apple.CoreML/weights"
9
+ },
10
+ "8BA31F55-D521-48BF-B65B-543B036F89D5": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Specification",
13
+ "name": "model.mlmodel",
14
+ "path": "com.apple.CoreML/model.mlmodel"
15
  }
16
  },
17
+ "rootModelIdentifier": "8BA31F55-D521-48BF-B65B-543B036F89D5"
18
  }
meta.yaml CHANGED
@@ -30,11 +30,11 @@ model_info:
30
  # =============================================================================
31
  # Conversion Parameters (for troubleshooting)
32
  # =============================================================================
33
- # Generated: 2026-03-16 22:54:52
34
  #
35
  # model_path: /tmp/ios_models/downloads/Prem-1B-SQL
36
  # output_dir: /tmp/ios_models/Prem-1B-SQL-ctx2048
37
- # command_line: ./anemll/utils/convert_model.sh --model /tmp/ios_models/downloads/Prem-1B-SQL --output /tmp/ios_models/Prem-1B-SQL-ctx2048 --context 2048 --batch 64 --chunk 1 --lut2 6 --lut3 6 --prefix llama
38
  # context_length: 2048
39
  # batch_size: 64
40
  # num_chunks: 1
 
30
  # =============================================================================
31
  # Conversion Parameters (for troubleshooting)
32
  # =============================================================================
33
+ # Generated: 2026-03-17 20:11:54
34
  #
35
  # model_path: /tmp/ios_models/downloads/Prem-1B-SQL
36
  # output_dir: /tmp/ios_models/Prem-1B-SQL-ctx2048
37
+ # command_line: ./anemll/utils/convert_model.sh --model /tmp/ios_models/downloads/Prem-1B-SQL --output /tmp/ios_models/Prem-1B-SQL-ctx2048 --context 2048 --batch 64 --chunk 1 --lut2 6 --lut3 6 --prefix llama --force-mlprogram-compile
38
  # context_length: 2048
39
  # batch_size: 64
40
  # num_chunks: 1
meta_progress.yaml CHANGED
@@ -2,7 +2,7 @@
2
  # Final meta.yaml will be created at step 7
3
  conversion:
4
  status: in_progress
5
- start_time: 2026-03-16T19:15:06Z
6
  model_path: /tmp/ios_models/downloads/Prem-1B-SQL
7
  output_dir: /tmp/ios_models/Prem-1B-SQL-ctx2048
8
  context_length: 2048
 
2
  # Final meta.yaml will be created at step 7
3
  conversion:
4
  status: in_progress
5
+ start_time: 2026-03-17T16:30:31Z
6
  model_path: /tmp/ios_models/downloads/Prem-1B-SQL
7
  output_dir: /tmp/ios_models/Prem-1B-SQL-ctx2048
8
  context_length: 2048