martinkorelic commited on
Commit
33f0155
·
verified ·
1 Parent(s): 8685975

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +2 -0
  2. README.md +49 -0
  3. mobiletransformers_manifest.json +205 -0
  4. optimum/export_report.json +34 -0
  5. optimum/supported_tasks.json +3 -0
  6. shared/tokenizer/mobiletransformers_tokenizer_config.json +13 -0
  7. shared/tokenizer/special_tokens_map.json +37 -0
  8. shared/tokenizer/tokenizer.json +0 -0
  9. shared/tokenizer/tokenizer_config.json +65 -0
  10. shared/tokenizer/vocab.txt +0 -0
  11. variants/cpu-int4/checksums.json +48 -0
  12. variants/cpu-int4/embedding/embedding_model.onnx +3 -0
  13. variants/cpu-int4/embedding/rag_config.json +13 -0
  14. variants/cpu-int4/embedding/tokenizer/special_tokens_map.json +37 -0
  15. variants/cpu-int4/embedding/tokenizer/tokenizer.json +0 -0
  16. variants/cpu-int4/embedding/tokenizer/tokenizer_config.json +65 -0
  17. variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.query.MatMul.weight.bin +3 -0
  18. variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.query.MatMul.weight.bin.sha256 +1 -0
  19. variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.value.MatMul.weight.bin +3 -0
  20. variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.value.MatMul.weight.bin.sha256 +1 -0
  21. variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.query.MatMul.weight.bin +3 -0
  22. variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.query.MatMul.weight.bin.sha256 +1 -0
  23. variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.value.MatMul.weight.bin +3 -0
  24. variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.value.MatMul.weight.bin.sha256 +1 -0
  25. variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.query.MatMul.weight.bin +3 -0
  26. variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.query.MatMul.weight.bin.sha256 +1 -0
  27. variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.value.MatMul.weight.bin +3 -0
  28. variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.value.MatMul.weight.bin.sha256 +1 -0
  29. variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.query.MatMul.weight.bin +3 -0
  30. variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.query.MatMul.weight.bin.sha256 +1 -0
  31. variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.value.MatMul.weight.bin +3 -0
  32. variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.value.MatMul.weight.bin.sha256 +1 -0
  33. variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.query.MatMul.weight.bin +3 -0
  34. variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.query.MatMul.weight.bin.sha256 +1 -0
  35. variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.value.MatMul.weight.bin +3 -0
  36. variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.value.MatMul.weight.bin.sha256 +1 -0
  37. variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.query.MatMul.weight.bin +3 -0
  38. variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.query.MatMul.weight.bin.sha256 +1 -0
  39. variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.value.MatMul.weight.bin +3 -0
  40. variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.value.MatMul.weight.bin.sha256 +1 -0
  41. variants/cpu-int4/inference/config.json +25 -0
  42. variants/cpu-int4/inference/frozen_base.onnx.data +3 -0
  43. variants/cpu-int4/inference/merger_lora_fpin_fpout.onnx +3 -0
  44. variants/cpu-int4/inference/model.onnx +3 -0
  45. variants/cpu-int4/inference/optimum_config.json +17 -0
  46. variants/cpu-int4/inference/special_tokens_map.json +37 -0
  47. variants/cpu-int4/inference/tokenizer.json +0 -0
  48. variants/cpu-int4/inference/tokenizer_config.json +65 -0
  49. variants/cpu-int4/inference/vocab.txt +0 -0
  50. variants/cpu-int4/inference/weight_handoff_map.json +652 -0
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ variants/cpu-int4/inference/frozen_base.onnx.data filter=lfs diff=lfs merge=lfs -text
37
+ variants/cpu-int4/train/checkpoint filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: sentence-transformers/all-MiniLM-L6-v2
3
+ library_name: mobiletransformers
4
+ pipeline_tag: text-classification
5
+ tags:
6
+ - mobiletransformers
7
+ - onnx
8
+ - on-device
9
+ - android
10
+ - lora
11
+ - int4
12
+ ---
13
+
14
+ # sentence-transformers/all-MiniLM-L6-v2 — MobileTransformers package
15
+
16
+ On-device (Android) package exported from **sentence-transformers/all-MiniLM-L6-v2** with MobileTransformers.
17
+
18
+ ## What this package can do
19
+ - `core` — shared files every other group needs
20
+ - `inference` — generate or score on device
21
+ - `train` — **fine-tune on device**, then merge the adapter back into the base weights
22
+ - `rag` — retrieve over documents you ingest, and ground answers in them
23
+
24
+ ## Fine-tuning method
25
+ - **lora** — LoRA — low-rank adapters on the attention projections.
26
+ - Rank: `8`
27
+ - Adapted modules: `query`, `value`
28
+
29
+ ## Provenance
30
+ - Base model: `sentence-transformers/all-MiniLM-L6-v2`
31
+ - Selected task: `text-classification`
32
+ - Quantization: int4
33
+ - Toolchain: optimum-onnx 0.1.0, transformers 4.57.6, ort-training 1.23.0+cpu
34
+
35
+ ## Licenses
36
+ - Framework: not declared in this package — see the repository
37
+ - Base model weights: see the base model above (this package redistributes an export of those weights, so their terms govern its contents)
38
+
39
+ ## Android runtime
40
+ - Minimum API: 28
41
+ - Required ABIs: any
42
+
43
+ ## Variants
44
+
45
+ | id | EP | quant | engines | features | min API | rec. RAM (MB) |
46
+ | --- | --- | --- | --- | --- | --- | --- |
47
+ | cpu-int4 | cpu | int4 | native | core, inference, train, rag | 28 | — |
48
+
49
+ Default variant: `cpu-int4`.
mobiletransformers_manifest.json ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "androidRuntime": {
3
+ "minimumAndroidApi": 28,
4
+ "recommendedDeviceMemoryMb": null,
5
+ "requiredAbis": []
6
+ },
7
+ "architectures": [
8
+ "bert"
9
+ ],
10
+ "artifactFormatVersion": 1,
11
+ "baseModelId": "sentence-transformers/all-MiniLM-L6-v2",
12
+ "defaultVariant": "cpu-int4",
13
+ "downloadPlan": {
14
+ "cpu-int4": {
15
+ "checksums": [
16
+ "variants/cpu-int4/checksums.json"
17
+ ],
18
+ "core": [
19
+ "mobiletransformers_manifest.json",
20
+ "shared/tokenizer/**",
21
+ "shared/chat_template.jinja",
22
+ "shared/config.json",
23
+ "shared/generation_config.json"
24
+ ],
25
+ "genai": [],
26
+ "inference": [
27
+ "variants/cpu-int4/inference/**"
28
+ ],
29
+ "rag": [
30
+ "variants/cpu-int4/embedding/**"
31
+ ],
32
+ "train": [
33
+ "variants/cpu-int4/train/**"
34
+ ]
35
+ }
36
+ },
37
+ "exportedAt": "",
38
+ "fileSizes": {
39
+ "optimum/export_report.json": 758,
40
+ "optimum/supported_tasks.json": 28,
41
+ "shared/tokenizer/mobiletransformers_tokenizer_config.json": 296,
42
+ "shared/tokenizer/special_tokens_map.json": 695,
43
+ "shared/tokenizer/tokenizer.json": 711661,
44
+ "shared/tokenizer/tokenizer_config.json": 1464,
45
+ "shared/tokenizer/vocab.txt": 231508,
46
+ "variants/cpu-int4/checksums.json": 6585,
47
+ "variants/cpu-int4/embedding/embedding_model.onnx": 90392834,
48
+ "variants/cpu-int4/embedding/rag_config.json": 346,
49
+ "variants/cpu-int4/embedding/tokenizer/special_tokens_map.json": 695,
50
+ "variants/cpu-int4/embedding/tokenizer/tokenizer.json": 711661,
51
+ "variants/cpu-int4/embedding/tokenizer/tokenizer_config.json": 1464,
52
+ "variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.query.MatMul.weight.bin": 589824,
53
+ "variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.query.MatMul.weight.bin.sha256": 65,
54
+ "variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.value.MatMul.weight.bin": 589824,
55
+ "variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.value.MatMul.weight.bin.sha256": 65,
56
+ "variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.query.MatMul.weight.bin": 589824,
57
+ "variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.query.MatMul.weight.bin.sha256": 65,
58
+ "variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.value.MatMul.weight.bin": 589824,
59
+ "variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.value.MatMul.weight.bin.sha256": 65,
60
+ "variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.query.MatMul.weight.bin": 589824,
61
+ "variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.query.MatMul.weight.bin.sha256": 65,
62
+ "variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.value.MatMul.weight.bin": 589824,
63
+ "variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.value.MatMul.weight.bin.sha256": 65,
64
+ "variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.query.MatMul.weight.bin": 589824,
65
+ "variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.query.MatMul.weight.bin.sha256": 65,
66
+ "variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.value.MatMul.weight.bin": 589824,
67
+ "variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.value.MatMul.weight.bin.sha256": 65,
68
+ "variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.query.MatMul.weight.bin": 589824,
69
+ "variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.query.MatMul.weight.bin.sha256": 65,
70
+ "variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.value.MatMul.weight.bin": 589824,
71
+ "variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.value.MatMul.weight.bin.sha256": 65,
72
+ "variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.query.MatMul.weight.bin": 589824,
73
+ "variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.query.MatMul.weight.bin.sha256": 65,
74
+ "variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.value.MatMul.weight.bin": 589824,
75
+ "variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.value.MatMul.weight.bin.sha256": 65,
76
+ "variants/cpu-int4/inference/config.json": 611,
77
+ "variants/cpu-int4/inference/frozen_base.onnx.data": 83778056,
78
+ "variants/cpu-int4/inference/merger_lora_fpin_fpout.onnx": 811,
79
+ "variants/cpu-int4/inference/model.onnx": 110896,
80
+ "variants/cpu-int4/inference/optimum_config.json": 378,
81
+ "variants/cpu-int4/inference/special_tokens_map.json": 695,
82
+ "variants/cpu-int4/inference/tokenizer.json": 711661,
83
+ "variants/cpu-int4/inference/tokenizer_config.json": 1464,
84
+ "variants/cpu-int4/inference/vocab.txt": 231508,
85
+ "variants/cpu-int4/inference/weight_handoff_map.json": 18707,
86
+ "variants/cpu-int4/train/checkpoint": 28875552,
87
+ "variants/cpu-int4/train/eval_model.onnx": 250699,
88
+ "variants/cpu-int4/train/optimizer_model.onnx": 538,
89
+ "variants/cpu-int4/train/trainable_parameters.json": 2762,
90
+ "variants/cpu-int4/train/training_config.json": 7539,
91
+ "variants/cpu-int4/train/training_model.onnx": 373568
92
+ },
93
+ "license": {
94
+ "baseModelWeights": null,
95
+ "framework": null,
96
+ "noticeFile": null
97
+ },
98
+ "minReaderVersion": "1.0",
99
+ "mobiletransformersVersion": "0.1.0",
100
+ "onnxRuntimeGenAIVersion": null,
101
+ "onnxRuntimeTrainingVersion": "1.23.0+cpu",
102
+ "optimumOnnxVersion": "0.1.0",
103
+ "peftMethods": [
104
+ "lora"
105
+ ],
106
+ "quantization": [
107
+ "int4"
108
+ ],
109
+ "requiredFiles": [
110
+ "mobiletransformers_manifest.json",
111
+ "shared/tokenizer/tokenizer.json",
112
+ "variants/cpu-int4/inference/model.onnx"
113
+ ],
114
+ "schemaVersion": "1.0",
115
+ "selectedTask": "text-classification",
116
+ "sha256": {
117
+ "optimum/export_report.json": "789837f0dc69497c044f7804266ce70329b5acdd0b9260a299c2e03b2150e195",
118
+ "optimum/supported_tasks.json": "00b8729cc70217e04b8951a7b059687aee182c90bb0e9254efec11d74988cd42",
119
+ "shared/tokenizer/mobiletransformers_tokenizer_config.json": "62dc6dc13bbe7e36bb93fa0d7859e3f90201410304eaf8a8ca91335b9ce4b918",
120
+ "shared/tokenizer/special_tokens_map.json": "5d5b662e421ea9fac075174bb0688ee0d9431699900b90662acd44b2a350503a",
121
+ "shared/tokenizer/tokenizer.json": "da0e79933b9ed51798a3ae27893d3c5fa4a201126cef75586296df9b4d2c62a0",
122
+ "shared/tokenizer/tokenizer_config.json": "ccb4eb21a03e1442ee5c3f85431b9c307960a04579942537d74778dc8080a48c",
123
+ "shared/tokenizer/vocab.txt": "07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3",
124
+ "variants/cpu-int4/checksums.json": "6e0726657fe1193dae16b320f48cbe1b5cd58ab3d3bf4bd98351db88d35883f1",
125
+ "variants/cpu-int4/embedding/embedding_model.onnx": "7c46645e1dcec3d3a27d80f21fcad81ab307317bf3d0580eb8ea6779fa83cc96",
126
+ "variants/cpu-int4/embedding/rag_config.json": "99088538b87ca7e78613f328c4c7eb801cf4dc9b2443ddb6d3b9b59acf486f92",
127
+ "variants/cpu-int4/embedding/tokenizer/special_tokens_map.json": "5d5b662e421ea9fac075174bb0688ee0d9431699900b90662acd44b2a350503a",
128
+ "variants/cpu-int4/embedding/tokenizer/tokenizer.json": "da0e79933b9ed51798a3ae27893d3c5fa4a201126cef75586296df9b4d2c62a0",
129
+ "variants/cpu-int4/embedding/tokenizer/tokenizer_config.json": "ccb4eb21a03e1442ee5c3f85431b9c307960a04579942537d74778dc8080a48c",
130
+ "variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.query.MatMul.weight.bin": "e009749b75204bb57ade70357050c824f6a93d9b1f920405cc77ce988ed74e4f",
131
+ "variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.query.MatMul.weight.bin.sha256": "252a25316a60670ee5c788338517203772198f016ec46b3ed6573290655be36c",
132
+ "variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.value.MatMul.weight.bin": "1a99fa38c68e9f893e79d1439a25f90902158f0379ca4ab1e66f27cd3e4fbd0f",
133
+ "variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.value.MatMul.weight.bin.sha256": "53765830cb7c6e8ddc656ada7f231ec3c5a11e9bee2d5e0566efed11436abc55",
134
+ "variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.query.MatMul.weight.bin": "3e8b8e464be41cf14af6371fea3d7fc3abf0b38b6031994aa44b4e5fffb34fe4",
135
+ "variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.query.MatMul.weight.bin.sha256": "fa1e53ad2e02c039edc44c944a1fa6c470d2aef0002533f0206c2a0e034dbdd7",
136
+ "variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.value.MatMul.weight.bin": "54470c78602372ab240b6f88815f7c8e86ece20ddd7066ca7c8e342dfa7d51bd",
137
+ "variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.value.MatMul.weight.bin.sha256": "b209496517feff85bfd286e7287c0c9381d501e36585a0362b4ba88edb629e7b",
138
+ "variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.query.MatMul.weight.bin": "b21671817e578d43e5fea24c2bd15686bb951e65dcf69054cf6d76747271a40b",
139
+ "variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.query.MatMul.weight.bin.sha256": "c0d24d803bb92f6edcecdd305a50dc7bf7a8d5c2535e8f0e50bcff629a612cbe",
140
+ "variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.value.MatMul.weight.bin": "4dd4a89014a92c780cbe209eb778a052e27c5c303a246a9f9b3233ec3a6c2390",
141
+ "variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.value.MatMul.weight.bin.sha256": "40ef2b5cc5dcb0d28efd7f2e0500ae9e94e2acbfc98cf1e31f2c4978ae25b5a1",
142
+ "variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.query.MatMul.weight.bin": "bbb7a4be247912940098e59a250eb63a7eaa24ff1abe2ddcd8f463372b9ddd24",
143
+ "variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.query.MatMul.weight.bin.sha256": "36ffffc6dbf9990d9a3eb05645cbaf05419cb0710429c072c2826514b5a24577",
144
+ "variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.value.MatMul.weight.bin": "97f887ce9906ac2eb845e7a6ae11ac3bdb73de78bffc182337324f6a92c94da2",
145
+ "variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.value.MatMul.weight.bin.sha256": "fe896676a74cad17d28e64df42db042c0082966597118754723ce5ef8b95fae0",
146
+ "variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.query.MatMul.weight.bin": "8ea4af517bd57ff2ad5841ab0c8256fc8ed7981ecbb739f504f642b54ad9e727",
147
+ "variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.query.MatMul.weight.bin.sha256": "fbdda2a28ddfd5c2ffd0a8e55b2ac64b56862acc99226c35c839692d5173e6d6",
148
+ "variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.value.MatMul.weight.bin": "34111787d5ee0330d9ea6d3e8577f32746aab2ae4c61f2ddcf8c287a8e17269a",
149
+ "variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.value.MatMul.weight.bin.sha256": "7f1d26e09b97106e3d825565aa3a1ccb233479f6dfb8cc31c2805e878cb89843",
150
+ "variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.query.MatMul.weight.bin": "97d659bc916216396647f25e5d60039190eafe0d3ad3908cba326299c1dcf0c0",
151
+ "variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.query.MatMul.weight.bin.sha256": "d83d46dbc5ad9a27919a8c6b91218270e043888e887ecbb988aeb77412e8fbc0",
152
+ "variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.value.MatMul.weight.bin": "71fcbee801f47cad8b13e6f19286d988ac44e778d8616867d8b1b280f6b7e35a",
153
+ "variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.value.MatMul.weight.bin.sha256": "a688cc07a80e888c1260a5d9087d37fb1cdb717d0c20a23aabb4f36617952d6a",
154
+ "variants/cpu-int4/inference/config.json": "4599e8a5d74ed192b70919aa02124c2d68580070b22e89db956c0353618bccd9",
155
+ "variants/cpu-int4/inference/frozen_base.onnx.data": "bd46ab7db78e5677a6e581370c3691791cb556623acbd3f7d011938da28bf331",
156
+ "variants/cpu-int4/inference/merger_lora_fpin_fpout.onnx": "953a8ad4704235c19ec06150788107921ba7f2578a5880a32cd59b473544712c",
157
+ "variants/cpu-int4/inference/model.onnx": "cf205aaf284fac7b7e8c2a8e02634a926b1e7af434da7d01d287450bb35ed032",
158
+ "variants/cpu-int4/inference/optimum_config.json": "3dae0721ec58df335f0b6acd0bda466a5637b1686bb052c43ea8c2b3d9a757da",
159
+ "variants/cpu-int4/inference/special_tokens_map.json": "5d5b662e421ea9fac075174bb0688ee0d9431699900b90662acd44b2a350503a",
160
+ "variants/cpu-int4/inference/tokenizer.json": "da0e79933b9ed51798a3ae27893d3c5fa4a201126cef75586296df9b4d2c62a0",
161
+ "variants/cpu-int4/inference/tokenizer_config.json": "ccb4eb21a03e1442ee5c3f85431b9c307960a04579942537d74778dc8080a48c",
162
+ "variants/cpu-int4/inference/vocab.txt": "07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3",
163
+ "variants/cpu-int4/inference/weight_handoff_map.json": "8f158641089032f0b9beaf8dfe86d0601d67b648528fd2474e373d83f7a0a5c3",
164
+ "variants/cpu-int4/train/checkpoint": "9fb3cfb3bc0b8f0ae8f0019531e138858069eba2379bf81dc17ff80552825225",
165
+ "variants/cpu-int4/train/eval_model.onnx": "2e98cd22e60dbb87b4e3aa26bf61078bcf319d358a9951c1e15a7ee4618cb3bc",
166
+ "variants/cpu-int4/train/optimizer_model.onnx": "8ed3b548bce52bf25c2154b1452314b3c48d079e28c52822dd348034f59dc054",
167
+ "variants/cpu-int4/train/trainable_parameters.json": "6d39ef39887770fe5e2b1f121b3077df0911142f186e57ac849808806f772654",
168
+ "variants/cpu-int4/train/training_config.json": "790901caaa951e9a8f89cc63f109b680007c1cc707920a87576b52a01c7130ca",
169
+ "variants/cpu-int4/train/training_model.onnx": "56bf04b82b8c796a2a36e8a79e09454776424857f746036bfdd9c58c9ed70875"
170
+ },
171
+ "supportedTasks": [
172
+ "text-classification"
173
+ ],
174
+ "trainableParameterCount": 73728,
175
+ "trainingParameterCount": 22861497,
176
+ "transformersVersion": "4.57.6",
177
+ "trustRemoteCode": false,
178
+ "variants": [
179
+ {
180
+ "abi": null,
181
+ "executionProvider": "cpu",
182
+ "features": [
183
+ "core",
184
+ "inference",
185
+ "train",
186
+ "rag"
187
+ ],
188
+ "id": "cpu-int4",
189
+ "minimumAndroidApi": 28,
190
+ "paths": {
191
+ "embedding": "variants/cpu-int4/embedding",
192
+ "inference": "variants/cpu-int4/inference",
193
+ "tokenizer": "shared/tokenizer",
194
+ "train": "variants/cpu-int4/train"
195
+ },
196
+ "quantization": "int4",
197
+ "recommendedDeviceMemoryMb": null,
198
+ "supportedEngines": [
199
+ "native"
200
+ ],
201
+ "weightHandoff": "variants/cpu-int4/inference/weight_handoff_map.json"
202
+ }
203
+ ],
204
+ "weightHandoff": "variants/cpu-int4/inference/weight_handoff_map.json"
205
+ }
optimum/export_report.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "androidRuntime": {
3
+ "minimumAndroidApi": 28,
4
+ "recommendedDeviceMemoryMb": null,
5
+ "requiredAbis": []
6
+ },
7
+ "architectures": [
8
+ "bert"
9
+ ],
10
+ "license": {
11
+ "baseModelWeights": null,
12
+ "framework": null,
13
+ "noticeFile": null
14
+ },
15
+ "mobiletransformersVersion": "0.1.0",
16
+ "onnxRuntimeTrainingVersion": "1.23.0+cpu",
17
+ "optimumOnnxVersion": "0.1.0",
18
+ "peftMethods": [
19
+ "lora"
20
+ ],
21
+ "quantization": [
22
+ "int4"
23
+ ],
24
+ "selectedTask": "text-classification",
25
+ "sourceParameterCount": 22713986,
26
+ "supportedTasks": [
27
+ "text-classification"
28
+ ],
29
+ "trainableParameterCount": 73728,
30
+ "trainingParameterCount": 22861497,
31
+ "trainingQuantizedParameterCount": 20765211,
32
+ "transformersVersion": "4.57.6",
33
+ "trustRemoteCode": false
34
+ }
optimum/supported_tasks.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ [
2
+ "text-classification"
3
+ ]
shared/tokenizer/mobiletransformers_tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": {
3
+ "bos_token_id": null,
4
+ "context_length": 512,
5
+ "num_attention_heads": 12,
6
+ "num_hidden_layers": 6,
7
+ "num_key_value_heads": 12,
8
+ "eos_token_id": null,
9
+ "pad_token_id": 0,
10
+ "type": "bert",
11
+ "vocab_size": 30522
12
+ }
13
+ }
shared/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
shared/tokenizer/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
shared/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 128,
51
+ "model_max_length": 512,
52
+ "never_split": null,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "[PAD]",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "[SEP]",
58
+ "stride": 0,
59
+ "strip_accents": null,
60
+ "tokenize_chinese_chars": true,
61
+ "tokenizer_class": "BertTokenizer",
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "[UNK]"
65
+ }
shared/tokenizer/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
variants/cpu-int4/checksums.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "variants/cpu-int4/checksums.json": "e4a42e8a583cd6a5ac8066f6d35b08133dd3c5099123c9e745f9165146122acf",
3
+ "variants/cpu-int4/embedding/embedding_model.onnx": "7c46645e1dcec3d3a27d80f21fcad81ab307317bf3d0580eb8ea6779fa83cc96",
4
+ "variants/cpu-int4/embedding/rag_config.json": "99088538b87ca7e78613f328c4c7eb801cf4dc9b2443ddb6d3b9b59acf486f92",
5
+ "variants/cpu-int4/embedding/tokenizer/special_tokens_map.json": "5d5b662e421ea9fac075174bb0688ee0d9431699900b90662acd44b2a350503a",
6
+ "variants/cpu-int4/embedding/tokenizer/tokenizer.json": "da0e79933b9ed51798a3ae27893d3c5fa4a201126cef75586296df9b4d2c62a0",
7
+ "variants/cpu-int4/embedding/tokenizer/tokenizer_config.json": "ccb4eb21a03e1442ee5c3f85431b9c307960a04579942537d74778dc8080a48c",
8
+ "variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.query.MatMul.weight.bin": "e009749b75204bb57ade70357050c824f6a93d9b1f920405cc77ce988ed74e4f",
9
+ "variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.query.MatMul.weight.bin.sha256": "252a25316a60670ee5c788338517203772198f016ec46b3ed6573290655be36c",
10
+ "variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.value.MatMul.weight.bin": "1a99fa38c68e9f893e79d1439a25f90902158f0379ca4ab1e66f27cd3e4fbd0f",
11
+ "variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.value.MatMul.weight.bin.sha256": "53765830cb7c6e8ddc656ada7f231ec3c5a11e9bee2d5e0566efed11436abc55",
12
+ "variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.query.MatMul.weight.bin": "3e8b8e464be41cf14af6371fea3d7fc3abf0b38b6031994aa44b4e5fffb34fe4",
13
+ "variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.query.MatMul.weight.bin.sha256": "fa1e53ad2e02c039edc44c944a1fa6c470d2aef0002533f0206c2a0e034dbdd7",
14
+ "variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.value.MatMul.weight.bin": "54470c78602372ab240b6f88815f7c8e86ece20ddd7066ca7c8e342dfa7d51bd",
15
+ "variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.value.MatMul.weight.bin.sha256": "b209496517feff85bfd286e7287c0c9381d501e36585a0362b4ba88edb629e7b",
16
+ "variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.query.MatMul.weight.bin": "b21671817e578d43e5fea24c2bd15686bb951e65dcf69054cf6d76747271a40b",
17
+ "variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.query.MatMul.weight.bin.sha256": "c0d24d803bb92f6edcecdd305a50dc7bf7a8d5c2535e8f0e50bcff629a612cbe",
18
+ "variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.value.MatMul.weight.bin": "4dd4a89014a92c780cbe209eb778a052e27c5c303a246a9f9b3233ec3a6c2390",
19
+ "variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.value.MatMul.weight.bin.sha256": "40ef2b5cc5dcb0d28efd7f2e0500ae9e94e2acbfc98cf1e31f2c4978ae25b5a1",
20
+ "variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.query.MatMul.weight.bin": "bbb7a4be247912940098e59a250eb63a7eaa24ff1abe2ddcd8f463372b9ddd24",
21
+ "variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.query.MatMul.weight.bin.sha256": "36ffffc6dbf9990d9a3eb05645cbaf05419cb0710429c072c2826514b5a24577",
22
+ "variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.value.MatMul.weight.bin": "97f887ce9906ac2eb845e7a6ae11ac3bdb73de78bffc182337324f6a92c94da2",
23
+ "variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.value.MatMul.weight.bin.sha256": "fe896676a74cad17d28e64df42db042c0082966597118754723ce5ef8b95fae0",
24
+ "variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.query.MatMul.weight.bin": "8ea4af517bd57ff2ad5841ab0c8256fc8ed7981ecbb739f504f642b54ad9e727",
25
+ "variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.query.MatMul.weight.bin.sha256": "fbdda2a28ddfd5c2ffd0a8e55b2ac64b56862acc99226c35c839692d5173e6d6",
26
+ "variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.value.MatMul.weight.bin": "34111787d5ee0330d9ea6d3e8577f32746aab2ae4c61f2ddcf8c287a8e17269a",
27
+ "variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.value.MatMul.weight.bin.sha256": "7f1d26e09b97106e3d825565aa3a1ccb233479f6dfb8cc31c2805e878cb89843",
28
+ "variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.query.MatMul.weight.bin": "97d659bc916216396647f25e5d60039190eafe0d3ad3908cba326299c1dcf0c0",
29
+ "variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.query.MatMul.weight.bin.sha256": "d83d46dbc5ad9a27919a8c6b91218270e043888e887ecbb988aeb77412e8fbc0",
30
+ "variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.value.MatMul.weight.bin": "71fcbee801f47cad8b13e6f19286d988ac44e778d8616867d8b1b280f6b7e35a",
31
+ "variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.value.MatMul.weight.bin.sha256": "a688cc07a80e888c1260a5d9087d37fb1cdb717d0c20a23aabb4f36617952d6a",
32
+ "variants/cpu-int4/inference/config.json": "4599e8a5d74ed192b70919aa02124c2d68580070b22e89db956c0353618bccd9",
33
+ "variants/cpu-int4/inference/frozen_base.onnx.data": "bd46ab7db78e5677a6e581370c3691791cb556623acbd3f7d011938da28bf331",
34
+ "variants/cpu-int4/inference/merger_lora_fpin_fpout.onnx": "953a8ad4704235c19ec06150788107921ba7f2578a5880a32cd59b473544712c",
35
+ "variants/cpu-int4/inference/model.onnx": "cf205aaf284fac7b7e8c2a8e02634a926b1e7af434da7d01d287450bb35ed032",
36
+ "variants/cpu-int4/inference/optimum_config.json": "3dae0721ec58df335f0b6acd0bda466a5637b1686bb052c43ea8c2b3d9a757da",
37
+ "variants/cpu-int4/inference/special_tokens_map.json": "5d5b662e421ea9fac075174bb0688ee0d9431699900b90662acd44b2a350503a",
38
+ "variants/cpu-int4/inference/tokenizer.json": "da0e79933b9ed51798a3ae27893d3c5fa4a201126cef75586296df9b4d2c62a0",
39
+ "variants/cpu-int4/inference/tokenizer_config.json": "ccb4eb21a03e1442ee5c3f85431b9c307960a04579942537d74778dc8080a48c",
40
+ "variants/cpu-int4/inference/vocab.txt": "07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3",
41
+ "variants/cpu-int4/inference/weight_handoff_map.json": "8f158641089032f0b9beaf8dfe86d0601d67b648528fd2474e373d83f7a0a5c3",
42
+ "variants/cpu-int4/train/checkpoint": "9fb3cfb3bc0b8f0ae8f0019531e138858069eba2379bf81dc17ff80552825225",
43
+ "variants/cpu-int4/train/eval_model.onnx": "2e98cd22e60dbb87b4e3aa26bf61078bcf319d358a9951c1e15a7ee4618cb3bc",
44
+ "variants/cpu-int4/train/optimizer_model.onnx": "8ed3b548bce52bf25c2154b1452314b3c48d079e28c52822dd348034f59dc054",
45
+ "variants/cpu-int4/train/trainable_parameters.json": "6d39ef39887770fe5e2b1f121b3077df0911142f186e57ac849808806f772654",
46
+ "variants/cpu-int4/train/training_config.json": "790901caaa951e9a8f89cc63f109b680007c1cc707920a87576b52a01c7130ca",
47
+ "variants/cpu-int4/train/training_model.onnx": "56bf04b82b8c796a2a36e8a79e09454776424857f746036bfdd9c58c9ed70875"
48
+ }
variants/cpu-int4/embedding/embedding_model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c46645e1dcec3d3a27d80f21fcad81ab307317bf3d0580eb8ea6779fa83cc96
3
+ size 90392834
variants/cpu-int4/embedding/rag_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunkOverlap": 50,
3
+ "chunkSize": 512,
4
+ "embeddingDimension": 384,
5
+ "embeddingModelId": "sentence-transformers/all-MiniLM-L6-v2",
6
+ "indexingMode": "precompute",
7
+ "maxTextLength": 1024,
8
+ "minScore": 0.0,
9
+ "onnxName": "embedding_model",
10
+ "repoName": "sentence-transformers__all-MiniLM-L6-v2",
11
+ "searchType": "semantic",
12
+ "topK": 10
13
+ }
variants/cpu-int4/embedding/tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
variants/cpu-int4/embedding/tokenizer/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
variants/cpu-int4/embedding/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 128,
51
+ "model_max_length": 512,
52
+ "never_split": null,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "[PAD]",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "[SEP]",
58
+ "stride": 0,
59
+ "strip_accents": null,
60
+ "tokenize_chinese_chars": true,
61
+ "tokenizer_class": "BertTokenizer",
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "[UNK]"
65
+ }
variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.query.MatMul.weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e009749b75204bb57ade70357050c824f6a93d9b1f920405cc77ce988ed74e4f
3
+ size 589824
variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.query.MatMul.weight.bin.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ e009749b75204bb57ade70357050c824f6a93d9b1f920405cc77ce988ed74e4f
variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.value.MatMul.weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a99fa38c68e9f893e79d1439a25f90902158f0379ca4ab1e66f27cd3e4fbd0f
3
+ size 589824
variants/cpu-int4/inference/bert.encoder.layer.0.attention.self.value.MatMul.weight.bin.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ 1a99fa38c68e9f893e79d1439a25f90902158f0379ca4ab1e66f27cd3e4fbd0f
variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.query.MatMul.weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e8b8e464be41cf14af6371fea3d7fc3abf0b38b6031994aa44b4e5fffb34fe4
3
+ size 589824
variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.query.MatMul.weight.bin.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ 3e8b8e464be41cf14af6371fea3d7fc3abf0b38b6031994aa44b4e5fffb34fe4
variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.value.MatMul.weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54470c78602372ab240b6f88815f7c8e86ece20ddd7066ca7c8e342dfa7d51bd
3
+ size 589824
variants/cpu-int4/inference/bert.encoder.layer.1.attention.self.value.MatMul.weight.bin.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ 54470c78602372ab240b6f88815f7c8e86ece20ddd7066ca7c8e342dfa7d51bd
variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.query.MatMul.weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b21671817e578d43e5fea24c2bd15686bb951e65dcf69054cf6d76747271a40b
3
+ size 589824
variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.query.MatMul.weight.bin.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ b21671817e578d43e5fea24c2bd15686bb951e65dcf69054cf6d76747271a40b
variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.value.MatMul.weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4dd4a89014a92c780cbe209eb778a052e27c5c303a246a9f9b3233ec3a6c2390
3
+ size 589824
variants/cpu-int4/inference/bert.encoder.layer.2.attention.self.value.MatMul.weight.bin.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ 4dd4a89014a92c780cbe209eb778a052e27c5c303a246a9f9b3233ec3a6c2390
variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.query.MatMul.weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbb7a4be247912940098e59a250eb63a7eaa24ff1abe2ddcd8f463372b9ddd24
3
+ size 589824
variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.query.MatMul.weight.bin.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ bbb7a4be247912940098e59a250eb63a7eaa24ff1abe2ddcd8f463372b9ddd24
variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.value.MatMul.weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97f887ce9906ac2eb845e7a6ae11ac3bdb73de78bffc182337324f6a92c94da2
3
+ size 589824
variants/cpu-int4/inference/bert.encoder.layer.3.attention.self.value.MatMul.weight.bin.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ 97f887ce9906ac2eb845e7a6ae11ac3bdb73de78bffc182337324f6a92c94da2
variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.query.MatMul.weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ea4af517bd57ff2ad5841ab0c8256fc8ed7981ecbb739f504f642b54ad9e727
3
+ size 589824
variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.query.MatMul.weight.bin.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ 8ea4af517bd57ff2ad5841ab0c8256fc8ed7981ecbb739f504f642b54ad9e727
variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.value.MatMul.weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34111787d5ee0330d9ea6d3e8577f32746aab2ae4c61f2ddcf8c287a8e17269a
3
+ size 589824
variants/cpu-int4/inference/bert.encoder.layer.4.attention.self.value.MatMul.weight.bin.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ 34111787d5ee0330d9ea6d3e8577f32746aab2ae4c61f2ddcf8c287a8e17269a
variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.query.MatMul.weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:97d659bc916216396647f25e5d60039190eafe0d3ad3908cba326299c1dcf0c0
3
+ size 589824
variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.query.MatMul.weight.bin.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ 97d659bc916216396647f25e5d60039190eafe0d3ad3908cba326299c1dcf0c0
variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.value.MatMul.weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71fcbee801f47cad8b13e6f19286d988ac44e778d8616867d8b1b280f6b7e35a
3
+ size 589824
variants/cpu-int4/inference/bert.encoder.layer.5.attention.self.value.MatMul.weight.bin.sha256 ADDED
@@ -0,0 +1 @@
 
 
1
+ 71fcbee801f47cad8b13e6f19286d988ac44e778d8616867d8b1b280f6b7e35a
variants/cpu-int4/inference/config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "dtype": "float32",
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "transformers_version": "4.57.6",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 30522
25
+ }
variants/cpu-int4/inference/frozen_base.onnx.data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd46ab7db78e5677a6e581370c3691791cb556623acbd3f7d011938da28bf331
3
+ size 83778056
variants/cpu-int4/inference/merger_lora_fpin_fpout.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:953a8ad4704235c19ec06150788107921ba7f2578a5880a32cd59b473544712c
3
+ size 811
variants/cpu-int4/inference/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf205aaf284fac7b7e8c2a8e02634a926b1e7af434da7d01d287450bb35ed032
3
+ size 110896
variants/cpu-int4/inference/optimum_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id2label": {
3
+ "0": "LABEL_0",
4
+ "1": "LABEL_1"
5
+ },
6
+ "inferenceGraphPrecision": "float32",
7
+ "modelId": "sentence-transformers/all-MiniLM-L6-v2",
8
+ "modelType": "bert",
9
+ "optimumOnnxVersion": "0.1.0",
10
+ "quantization": "int4",
11
+ "supportedEngines": [
12
+ "native"
13
+ ],
14
+ "task": "text-classification",
15
+ "transformersVersion": "4.57.6",
16
+ "trustRemoteCode": false
17
+ }
variants/cpu-int4/inference/special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
variants/cpu-int4/inference/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
variants/cpu-int4/inference/tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 128,
51
+ "model_max_length": 512,
52
+ "never_split": null,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "[PAD]",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "[SEP]",
58
+ "stride": 0,
59
+ "strip_accents": null,
60
+ "tokenize_chinese_chars": true,
61
+ "tokenizer_class": "BertTokenizer",
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "[UNK]"
65
+ }
variants/cpu-int4/inference/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
variants/cpu-int4/inference/weight_handoff_map.json ADDED
@@ -0,0 +1,652 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "engines": [
3
+ "native",
4
+ "genai"
5
+ ],
6
+ "entries": [
7
+ {
8
+ "adapterDtypes": {
9
+ "adapter_A": "float32",
10
+ "adapter_B": "float32"
11
+ },
12
+ "adapterShapes": {
13
+ "adapter_A": [
14
+ 8,
15
+ 384
16
+ ],
17
+ "adapter_B": [
18
+ 384,
19
+ 8
20
+ ]
21
+ },
22
+ "checkpointNames": {
23
+ "adapter_A": "base_model.model.bert.encoder.layer.0.attention.self.query.lora_A.lora",
24
+ "adapter_B": "base_model.model.bert.encoder.layer.0.attention.self.query.lora_B.lora",
25
+ "weight": "base_model.model.bert.encoder.layer.0.attention.self.query.base_layer.weight"
26
+ },
27
+ "dtype": "float32",
28
+ "externalDataLocation": {
29
+ "weight": "bert.encoder.layer.0.attention.self.query.MatMul.weight.bin"
30
+ },
31
+ "genaiInputNames": {},
32
+ "inferenceInitializerNames": {
33
+ "weight": "bert.encoder.layer.0.attention.self.query.MatMul.weight"
34
+ },
35
+ "mergedTensorNames": {
36
+ "weight": "bert.encoder.layer.0.attention.self.query.MatMul.weight"
37
+ },
38
+ "mergerOutputNames": {
39
+ "weight": "merged_weight"
40
+ },
41
+ "sha256": {
42
+ "weight": "e009749b75204bb57ade70357050c824f6a93d9b1f920405cc77ce988ed74e4f"
43
+ },
44
+ "shape": [
45
+ 384,
46
+ 384
47
+ ],
48
+ "tensorDtypes": {
49
+ "weight": "float32"
50
+ },
51
+ "tensorShapes": {
52
+ "weight": [
53
+ 384,
54
+ 384
55
+ ]
56
+ },
57
+ "trainingBaseLayerName": "base_model.model.bert.encoder.layer.0.attention.self.query.base_layer",
58
+ "transposePolicy": "no_transpose"
59
+ },
60
+ {
61
+ "adapterDtypes": {
62
+ "adapter_A": "float32",
63
+ "adapter_B": "float32"
64
+ },
65
+ "adapterShapes": {
66
+ "adapter_A": [
67
+ 8,
68
+ 384
69
+ ],
70
+ "adapter_B": [
71
+ 384,
72
+ 8
73
+ ]
74
+ },
75
+ "checkpointNames": {
76
+ "adapter_A": "base_model.model.bert.encoder.layer.0.attention.self.value.lora_A.lora",
77
+ "adapter_B": "base_model.model.bert.encoder.layer.0.attention.self.value.lora_B.lora",
78
+ "weight": "base_model.model.bert.encoder.layer.0.attention.self.value.base_layer.weight"
79
+ },
80
+ "dtype": "float32",
81
+ "externalDataLocation": {
82
+ "weight": "bert.encoder.layer.0.attention.self.value.MatMul.weight.bin"
83
+ },
84
+ "genaiInputNames": {},
85
+ "inferenceInitializerNames": {
86
+ "weight": "bert.encoder.layer.0.attention.self.value.MatMul.weight"
87
+ },
88
+ "mergedTensorNames": {
89
+ "weight": "bert.encoder.layer.0.attention.self.value.MatMul.weight"
90
+ },
91
+ "mergerOutputNames": {
92
+ "weight": "merged_weight"
93
+ },
94
+ "sha256": {
95
+ "weight": "1a99fa38c68e9f893e79d1439a25f90902158f0379ca4ab1e66f27cd3e4fbd0f"
96
+ },
97
+ "shape": [
98
+ 384,
99
+ 384
100
+ ],
101
+ "tensorDtypes": {
102
+ "weight": "float32"
103
+ },
104
+ "tensorShapes": {
105
+ "weight": [
106
+ 384,
107
+ 384
108
+ ]
109
+ },
110
+ "trainingBaseLayerName": "base_model.model.bert.encoder.layer.0.attention.self.value.base_layer",
111
+ "transposePolicy": "no_transpose"
112
+ },
113
+ {
114
+ "adapterDtypes": {
115
+ "adapter_A": "float32",
116
+ "adapter_B": "float32"
117
+ },
118
+ "adapterShapes": {
119
+ "adapter_A": [
120
+ 8,
121
+ 384
122
+ ],
123
+ "adapter_B": [
124
+ 384,
125
+ 8
126
+ ]
127
+ },
128
+ "checkpointNames": {
129
+ "adapter_A": "base_model.model.bert.encoder.layer.1.attention.self.query.lora_A.lora",
130
+ "adapter_B": "base_model.model.bert.encoder.layer.1.attention.self.query.lora_B.lora",
131
+ "weight": "base_model.model.bert.encoder.layer.1.attention.self.query.base_layer.weight"
132
+ },
133
+ "dtype": "float32",
134
+ "externalDataLocation": {
135
+ "weight": "bert.encoder.layer.1.attention.self.query.MatMul.weight.bin"
136
+ },
137
+ "genaiInputNames": {},
138
+ "inferenceInitializerNames": {
139
+ "weight": "bert.encoder.layer.1.attention.self.query.MatMul.weight"
140
+ },
141
+ "mergedTensorNames": {
142
+ "weight": "bert.encoder.layer.1.attention.self.query.MatMul.weight"
143
+ },
144
+ "mergerOutputNames": {
145
+ "weight": "merged_weight"
146
+ },
147
+ "sha256": {
148
+ "weight": "3e8b8e464be41cf14af6371fea3d7fc3abf0b38b6031994aa44b4e5fffb34fe4"
149
+ },
150
+ "shape": [
151
+ 384,
152
+ 384
153
+ ],
154
+ "tensorDtypes": {
155
+ "weight": "float32"
156
+ },
157
+ "tensorShapes": {
158
+ "weight": [
159
+ 384,
160
+ 384
161
+ ]
162
+ },
163
+ "trainingBaseLayerName": "base_model.model.bert.encoder.layer.1.attention.self.query.base_layer",
164
+ "transposePolicy": "no_transpose"
165
+ },
166
+ {
167
+ "adapterDtypes": {
168
+ "adapter_A": "float32",
169
+ "adapter_B": "float32"
170
+ },
171
+ "adapterShapes": {
172
+ "adapter_A": [
173
+ 8,
174
+ 384
175
+ ],
176
+ "adapter_B": [
177
+ 384,
178
+ 8
179
+ ]
180
+ },
181
+ "checkpointNames": {
182
+ "adapter_A": "base_model.model.bert.encoder.layer.1.attention.self.value.lora_A.lora",
183
+ "adapter_B": "base_model.model.bert.encoder.layer.1.attention.self.value.lora_B.lora",
184
+ "weight": "base_model.model.bert.encoder.layer.1.attention.self.value.base_layer.weight"
185
+ },
186
+ "dtype": "float32",
187
+ "externalDataLocation": {
188
+ "weight": "bert.encoder.layer.1.attention.self.value.MatMul.weight.bin"
189
+ },
190
+ "genaiInputNames": {},
191
+ "inferenceInitializerNames": {
192
+ "weight": "bert.encoder.layer.1.attention.self.value.MatMul.weight"
193
+ },
194
+ "mergedTensorNames": {
195
+ "weight": "bert.encoder.layer.1.attention.self.value.MatMul.weight"
196
+ },
197
+ "mergerOutputNames": {
198
+ "weight": "merged_weight"
199
+ },
200
+ "sha256": {
201
+ "weight": "54470c78602372ab240b6f88815f7c8e86ece20ddd7066ca7c8e342dfa7d51bd"
202
+ },
203
+ "shape": [
204
+ 384,
205
+ 384
206
+ ],
207
+ "tensorDtypes": {
208
+ "weight": "float32"
209
+ },
210
+ "tensorShapes": {
211
+ "weight": [
212
+ 384,
213
+ 384
214
+ ]
215
+ },
216
+ "trainingBaseLayerName": "base_model.model.bert.encoder.layer.1.attention.self.value.base_layer",
217
+ "transposePolicy": "no_transpose"
218
+ },
219
+ {
220
+ "adapterDtypes": {
221
+ "adapter_A": "float32",
222
+ "adapter_B": "float32"
223
+ },
224
+ "adapterShapes": {
225
+ "adapter_A": [
226
+ 8,
227
+ 384
228
+ ],
229
+ "adapter_B": [
230
+ 384,
231
+ 8
232
+ ]
233
+ },
234
+ "checkpointNames": {
235
+ "adapter_A": "base_model.model.bert.encoder.layer.2.attention.self.query.lora_A.lora",
236
+ "adapter_B": "base_model.model.bert.encoder.layer.2.attention.self.query.lora_B.lora",
237
+ "weight": "base_model.model.bert.encoder.layer.2.attention.self.query.base_layer.weight"
238
+ },
239
+ "dtype": "float32",
240
+ "externalDataLocation": {
241
+ "weight": "bert.encoder.layer.2.attention.self.query.MatMul.weight.bin"
242
+ },
243
+ "genaiInputNames": {},
244
+ "inferenceInitializerNames": {
245
+ "weight": "bert.encoder.layer.2.attention.self.query.MatMul.weight"
246
+ },
247
+ "mergedTensorNames": {
248
+ "weight": "bert.encoder.layer.2.attention.self.query.MatMul.weight"
249
+ },
250
+ "mergerOutputNames": {
251
+ "weight": "merged_weight"
252
+ },
253
+ "sha256": {
254
+ "weight": "b21671817e578d43e5fea24c2bd15686bb951e65dcf69054cf6d76747271a40b"
255
+ },
256
+ "shape": [
257
+ 384,
258
+ 384
259
+ ],
260
+ "tensorDtypes": {
261
+ "weight": "float32"
262
+ },
263
+ "tensorShapes": {
264
+ "weight": [
265
+ 384,
266
+ 384
267
+ ]
268
+ },
269
+ "trainingBaseLayerName": "base_model.model.bert.encoder.layer.2.attention.self.query.base_layer",
270
+ "transposePolicy": "no_transpose"
271
+ },
272
+ {
273
+ "adapterDtypes": {
274
+ "adapter_A": "float32",
275
+ "adapter_B": "float32"
276
+ },
277
+ "adapterShapes": {
278
+ "adapter_A": [
279
+ 8,
280
+ 384
281
+ ],
282
+ "adapter_B": [
283
+ 384,
284
+ 8
285
+ ]
286
+ },
287
+ "checkpointNames": {
288
+ "adapter_A": "base_model.model.bert.encoder.layer.2.attention.self.value.lora_A.lora",
289
+ "adapter_B": "base_model.model.bert.encoder.layer.2.attention.self.value.lora_B.lora",
290
+ "weight": "base_model.model.bert.encoder.layer.2.attention.self.value.base_layer.weight"
291
+ },
292
+ "dtype": "float32",
293
+ "externalDataLocation": {
294
+ "weight": "bert.encoder.layer.2.attention.self.value.MatMul.weight.bin"
295
+ },
296
+ "genaiInputNames": {},
297
+ "inferenceInitializerNames": {
298
+ "weight": "bert.encoder.layer.2.attention.self.value.MatMul.weight"
299
+ },
300
+ "mergedTensorNames": {
301
+ "weight": "bert.encoder.layer.2.attention.self.value.MatMul.weight"
302
+ },
303
+ "mergerOutputNames": {
304
+ "weight": "merged_weight"
305
+ },
306
+ "sha256": {
307
+ "weight": "4dd4a89014a92c780cbe209eb778a052e27c5c303a246a9f9b3233ec3a6c2390"
308
+ },
309
+ "shape": [
310
+ 384,
311
+ 384
312
+ ],
313
+ "tensorDtypes": {
314
+ "weight": "float32"
315
+ },
316
+ "tensorShapes": {
317
+ "weight": [
318
+ 384,
319
+ 384
320
+ ]
321
+ },
322
+ "trainingBaseLayerName": "base_model.model.bert.encoder.layer.2.attention.self.value.base_layer",
323
+ "transposePolicy": "no_transpose"
324
+ },
325
+ {
326
+ "adapterDtypes": {
327
+ "adapter_A": "float32",
328
+ "adapter_B": "float32"
329
+ },
330
+ "adapterShapes": {
331
+ "adapter_A": [
332
+ 8,
333
+ 384
334
+ ],
335
+ "adapter_B": [
336
+ 384,
337
+ 8
338
+ ]
339
+ },
340
+ "checkpointNames": {
341
+ "adapter_A": "base_model.model.bert.encoder.layer.3.attention.self.query.lora_A.lora",
342
+ "adapter_B": "base_model.model.bert.encoder.layer.3.attention.self.query.lora_B.lora",
343
+ "weight": "base_model.model.bert.encoder.layer.3.attention.self.query.base_layer.weight"
344
+ },
345
+ "dtype": "float32",
346
+ "externalDataLocation": {
347
+ "weight": "bert.encoder.layer.3.attention.self.query.MatMul.weight.bin"
348
+ },
349
+ "genaiInputNames": {},
350
+ "inferenceInitializerNames": {
351
+ "weight": "bert.encoder.layer.3.attention.self.query.MatMul.weight"
352
+ },
353
+ "mergedTensorNames": {
354
+ "weight": "bert.encoder.layer.3.attention.self.query.MatMul.weight"
355
+ },
356
+ "mergerOutputNames": {
357
+ "weight": "merged_weight"
358
+ },
359
+ "sha256": {
360
+ "weight": "bbb7a4be247912940098e59a250eb63a7eaa24ff1abe2ddcd8f463372b9ddd24"
361
+ },
362
+ "shape": [
363
+ 384,
364
+ 384
365
+ ],
366
+ "tensorDtypes": {
367
+ "weight": "float32"
368
+ },
369
+ "tensorShapes": {
370
+ "weight": [
371
+ 384,
372
+ 384
373
+ ]
374
+ },
375
+ "trainingBaseLayerName": "base_model.model.bert.encoder.layer.3.attention.self.query.base_layer",
376
+ "transposePolicy": "no_transpose"
377
+ },
378
+ {
379
+ "adapterDtypes": {
380
+ "adapter_A": "float32",
381
+ "adapter_B": "float32"
382
+ },
383
+ "adapterShapes": {
384
+ "adapter_A": [
385
+ 8,
386
+ 384
387
+ ],
388
+ "adapter_B": [
389
+ 384,
390
+ 8
391
+ ]
392
+ },
393
+ "checkpointNames": {
394
+ "adapter_A": "base_model.model.bert.encoder.layer.3.attention.self.value.lora_A.lora",
395
+ "adapter_B": "base_model.model.bert.encoder.layer.3.attention.self.value.lora_B.lora",
396
+ "weight": "base_model.model.bert.encoder.layer.3.attention.self.value.base_layer.weight"
397
+ },
398
+ "dtype": "float32",
399
+ "externalDataLocation": {
400
+ "weight": "bert.encoder.layer.3.attention.self.value.MatMul.weight.bin"
401
+ },
402
+ "genaiInputNames": {},
403
+ "inferenceInitializerNames": {
404
+ "weight": "bert.encoder.layer.3.attention.self.value.MatMul.weight"
405
+ },
406
+ "mergedTensorNames": {
407
+ "weight": "bert.encoder.layer.3.attention.self.value.MatMul.weight"
408
+ },
409
+ "mergerOutputNames": {
410
+ "weight": "merged_weight"
411
+ },
412
+ "sha256": {
413
+ "weight": "97f887ce9906ac2eb845e7a6ae11ac3bdb73de78bffc182337324f6a92c94da2"
414
+ },
415
+ "shape": [
416
+ 384,
417
+ 384
418
+ ],
419
+ "tensorDtypes": {
420
+ "weight": "float32"
421
+ },
422
+ "tensorShapes": {
423
+ "weight": [
424
+ 384,
425
+ 384
426
+ ]
427
+ },
428
+ "trainingBaseLayerName": "base_model.model.bert.encoder.layer.3.attention.self.value.base_layer",
429
+ "transposePolicy": "no_transpose"
430
+ },
431
+ {
432
+ "adapterDtypes": {
433
+ "adapter_A": "float32",
434
+ "adapter_B": "float32"
435
+ },
436
+ "adapterShapes": {
437
+ "adapter_A": [
438
+ 8,
439
+ 384
440
+ ],
441
+ "adapter_B": [
442
+ 384,
443
+ 8
444
+ ]
445
+ },
446
+ "checkpointNames": {
447
+ "adapter_A": "base_model.model.bert.encoder.layer.4.attention.self.query.lora_A.lora",
448
+ "adapter_B": "base_model.model.bert.encoder.layer.4.attention.self.query.lora_B.lora",
449
+ "weight": "base_model.model.bert.encoder.layer.4.attention.self.query.base_layer.weight"
450
+ },
451
+ "dtype": "float32",
452
+ "externalDataLocation": {
453
+ "weight": "bert.encoder.layer.4.attention.self.query.MatMul.weight.bin"
454
+ },
455
+ "genaiInputNames": {},
456
+ "inferenceInitializerNames": {
457
+ "weight": "bert.encoder.layer.4.attention.self.query.MatMul.weight"
458
+ },
459
+ "mergedTensorNames": {
460
+ "weight": "bert.encoder.layer.4.attention.self.query.MatMul.weight"
461
+ },
462
+ "mergerOutputNames": {
463
+ "weight": "merged_weight"
464
+ },
465
+ "sha256": {
466
+ "weight": "8ea4af517bd57ff2ad5841ab0c8256fc8ed7981ecbb739f504f642b54ad9e727"
467
+ },
468
+ "shape": [
469
+ 384,
470
+ 384
471
+ ],
472
+ "tensorDtypes": {
473
+ "weight": "float32"
474
+ },
475
+ "tensorShapes": {
476
+ "weight": [
477
+ 384,
478
+ 384
479
+ ]
480
+ },
481
+ "trainingBaseLayerName": "base_model.model.bert.encoder.layer.4.attention.self.query.base_layer",
482
+ "transposePolicy": "no_transpose"
483
+ },
484
+ {
485
+ "adapterDtypes": {
486
+ "adapter_A": "float32",
487
+ "adapter_B": "float32"
488
+ },
489
+ "adapterShapes": {
490
+ "adapter_A": [
491
+ 8,
492
+ 384
493
+ ],
494
+ "adapter_B": [
495
+ 384,
496
+ 8
497
+ ]
498
+ },
499
+ "checkpointNames": {
500
+ "adapter_A": "base_model.model.bert.encoder.layer.4.attention.self.value.lora_A.lora",
501
+ "adapter_B": "base_model.model.bert.encoder.layer.4.attention.self.value.lora_B.lora",
502
+ "weight": "base_model.model.bert.encoder.layer.4.attention.self.value.base_layer.weight"
503
+ },
504
+ "dtype": "float32",
505
+ "externalDataLocation": {
506
+ "weight": "bert.encoder.layer.4.attention.self.value.MatMul.weight.bin"
507
+ },
508
+ "genaiInputNames": {},
509
+ "inferenceInitializerNames": {
510
+ "weight": "bert.encoder.layer.4.attention.self.value.MatMul.weight"
511
+ },
512
+ "mergedTensorNames": {
513
+ "weight": "bert.encoder.layer.4.attention.self.value.MatMul.weight"
514
+ },
515
+ "mergerOutputNames": {
516
+ "weight": "merged_weight"
517
+ },
518
+ "sha256": {
519
+ "weight": "34111787d5ee0330d9ea6d3e8577f32746aab2ae4c61f2ddcf8c287a8e17269a"
520
+ },
521
+ "shape": [
522
+ 384,
523
+ 384
524
+ ],
525
+ "tensorDtypes": {
526
+ "weight": "float32"
527
+ },
528
+ "tensorShapes": {
529
+ "weight": [
530
+ 384,
531
+ 384
532
+ ]
533
+ },
534
+ "trainingBaseLayerName": "base_model.model.bert.encoder.layer.4.attention.self.value.base_layer",
535
+ "transposePolicy": "no_transpose"
536
+ },
537
+ {
538
+ "adapterDtypes": {
539
+ "adapter_A": "float32",
540
+ "adapter_B": "float32"
541
+ },
542
+ "adapterShapes": {
543
+ "adapter_A": [
544
+ 8,
545
+ 384
546
+ ],
547
+ "adapter_B": [
548
+ 384,
549
+ 8
550
+ ]
551
+ },
552
+ "checkpointNames": {
553
+ "adapter_A": "base_model.model.bert.encoder.layer.5.attention.self.query.lora_A.lora",
554
+ "adapter_B": "base_model.model.bert.encoder.layer.5.attention.self.query.lora_B.lora",
555
+ "weight": "base_model.model.bert.encoder.layer.5.attention.self.query.base_layer.weight"
556
+ },
557
+ "dtype": "float32",
558
+ "externalDataLocation": {
559
+ "weight": "bert.encoder.layer.5.attention.self.query.MatMul.weight.bin"
560
+ },
561
+ "genaiInputNames": {},
562
+ "inferenceInitializerNames": {
563
+ "weight": "bert.encoder.layer.5.attention.self.query.MatMul.weight"
564
+ },
565
+ "mergedTensorNames": {
566
+ "weight": "bert.encoder.layer.5.attention.self.query.MatMul.weight"
567
+ },
568
+ "mergerOutputNames": {
569
+ "weight": "merged_weight"
570
+ },
571
+ "sha256": {
572
+ "weight": "97d659bc916216396647f25e5d60039190eafe0d3ad3908cba326299c1dcf0c0"
573
+ },
574
+ "shape": [
575
+ 384,
576
+ 384
577
+ ],
578
+ "tensorDtypes": {
579
+ "weight": "float32"
580
+ },
581
+ "tensorShapes": {
582
+ "weight": [
583
+ 384,
584
+ 384
585
+ ]
586
+ },
587
+ "trainingBaseLayerName": "base_model.model.bert.encoder.layer.5.attention.self.query.base_layer",
588
+ "transposePolicy": "no_transpose"
589
+ },
590
+ {
591
+ "adapterDtypes": {
592
+ "adapter_A": "float32",
593
+ "adapter_B": "float32"
594
+ },
595
+ "adapterShapes": {
596
+ "adapter_A": [
597
+ 8,
598
+ 384
599
+ ],
600
+ "adapter_B": [
601
+ 384,
602
+ 8
603
+ ]
604
+ },
605
+ "checkpointNames": {
606
+ "adapter_A": "base_model.model.bert.encoder.layer.5.attention.self.value.lora_A.lora",
607
+ "adapter_B": "base_model.model.bert.encoder.layer.5.attention.self.value.lora_B.lora",
608
+ "weight": "base_model.model.bert.encoder.layer.5.attention.self.value.base_layer.weight"
609
+ },
610
+ "dtype": "float32",
611
+ "externalDataLocation": {
612
+ "weight": "bert.encoder.layer.5.attention.self.value.MatMul.weight.bin"
613
+ },
614
+ "genaiInputNames": {},
615
+ "inferenceInitializerNames": {
616
+ "weight": "bert.encoder.layer.5.attention.self.value.MatMul.weight"
617
+ },
618
+ "mergedTensorNames": {
619
+ "weight": "bert.encoder.layer.5.attention.self.value.MatMul.weight"
620
+ },
621
+ "mergerOutputNames": {
622
+ "weight": "merged_weight"
623
+ },
624
+ "sha256": {
625
+ "weight": "71fcbee801f47cad8b13e6f19286d988ac44e778d8616867d8b1b280f6b7e35a"
626
+ },
627
+ "shape": [
628
+ 384,
629
+ 384
630
+ ],
631
+ "tensorDtypes": {
632
+ "weight": "float32"
633
+ },
634
+ "tensorShapes": {
635
+ "weight": [
636
+ 384,
637
+ 384
638
+ ]
639
+ },
640
+ "trainingBaseLayerName": "base_model.model.bert.encoder.layer.5.attention.self.value.base_layer",
641
+ "transposePolicy": "no_transpose"
642
+ }
643
+ ],
644
+ "externalDataLayout": "one_file_per_tensor",
645
+ "frozenBaseBlob": "frozen_base.onnx.data",
646
+ "handoffMode": "external_initializer",
647
+ "mergerModels": {
648
+ "lora": "merger_lora_fpin_fpout.onnx"
649
+ },
650
+ "minReaderVersion": "1.0",
651
+ "schemaVersion": "1.1"
652
+ }