Peter commited on
Commit
c790217
·
1 Parent(s): 2a2c8d9

Publish Core AI artifact directories

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ 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
+ *.mlirb filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: coreai
3
+ license: other
4
+ tags:
5
+ - coreai
6
+ - ios
7
+ - macos
8
+ - on-device
9
+ - model-artifacts
10
+ - lenitas
11
+ pipeline_tag: image-segmentation
12
+ ---
13
+
14
+ # Lenitas Core AI Artifacts
15
+
16
+ Hosted Core AI model artifacts for Lenitas.
17
+
18
+ This repository contains already-exported Core AI directories that can be downloaded by the Lenitas iOS and macOS app. It does not contain model conversion code.
19
+
20
+ Core AI assets keep the shape produced by `coreai-models`: either a standalone `.aimodel` directory or a resource bundle directory containing `metadata.json`, one or more `.aimodel` directories, tokenizers, schedulers, and related resources.
21
+
22
+ ## Contents
23
+
24
+ ```text
25
+ index.json
26
+ artifacts/
27
+ <model-id>/
28
+ <variant>/
29
+ metadata.json
30
+ *.aimodel/
31
+ tokenizer/
32
+ ```
33
+
34
+ `index.json` is the app-facing download index. Each entry points to an artifact directory and includes platform support, minimum OS, total size, and per-file SHA-256 checksums.
35
+
36
+ ## Download
37
+
38
+ The app reads:
39
+
40
+ ```text
41
+ https://huggingface.co/lenitas/coreai-artifacts/resolve/main/index.json
42
+ ```
43
+
44
+ For each selected artifact, the app downloads files under the entry's `path`, verifies each file, writes into a staging directory, and atomically moves the complete directory into Application Support.
45
+
46
+ The installed directory is passed to the Core AI runtime or `coreai-models` Swift loader unchanged.
47
+
48
+ ## License
49
+
50
+ Artifacts may have their own upstream licenses. See each `index.json` entry for license metadata when available.
artifacts/.gitkeep ADDED
@@ -0,0 +1 @@
 
 
1
+
artifacts/efficientsam3-tinyvit/default/efficientsam3_tinyvit.aimodel/main.hash ADDED
@@ -0,0 +1 @@
 
 
1
+ yvV�o��P8��tb��hq��#O�=�MA-��l
artifacts/efficientsam3-tinyvit/default/efficientsam3_tinyvit.aimodel/main.mlirb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:797656ab6ffef75038e381e3a27462a89e687193e9234fb63df44d412da2b16c
3
+ size 388685082
artifacts/efficientsam3-tinyvit/default/efficientsam3_tinyvit.aimodel/metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "assetVersion" : "2.0",
3
+ "producer" : "",
4
+ "creationDate" : "20260613T132523Z",
5
+ "description" : "EfficientSAM3 TinyViT (104M) text-prompt image segmentation. Distilled from SAM3. Source: github.com\/SimonZeng7108\/efficientsam3",
6
+ "license" : "",
7
+ "author" : ""
8
+ }
artifacts/efficientsam3-tinyvit/default/metadata.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata_version": "0.2",
3
+ "kind": "segmenter",
4
+ "name": "efficientsam3_tinyvit",
5
+ "assets": {
6
+ "main": "efficientsam3_tinyvit.aimodel"
7
+ },
8
+ "user_data": {
9
+ "text_context_length": "16",
10
+ "text_pad_zero": "true",
11
+ "box_format": "cxcywh"
12
+ }
13
+ }
artifacts/efficientsam3-tinyvit/default/tokenizer/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
artifacts/sam3/float16/metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata_version": "0.2",
3
+ "kind": "segmenter",
4
+ "name": "sam3_float16",
5
+ "assets": {
6
+ "main": "sam3_float16.aimodel"
7
+ }
8
+ }
artifacts/sam3/float16/sam3_float16.aimodel/main.hash ADDED
@@ -0,0 +1 @@
 
 
1
+ p�m�<ȗ`hlvw��Ô�x����A^�o\y5��
artifacts/sam3/float16/sam3_float16.aimodel/main.mlirb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70896d993cc89760686c76778fc71bc394b87888bfc0e4415efb6f5c7935b2e5
3
+ size 1663478432
artifacts/sam3/float16/sam3_float16.aimodel/metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "description" : "SAM 3 is a unified foundation model for promptable segmentation in images and videos. It can detect, segment, and track objects using text or visual prompts such as points, boxes, and masks. This variant is explicitly for image segmentation. Source: https:\/\/github.com\/facebookresearch\/sam3",
3
+ "license" : "SAM License",
4
+ "assetVersion" : "2.0",
5
+ "creationDate" : "20260613T080026Z",
6
+ "author" : "N. Carion et al."
7
+ }
artifacts/sam3/float16/tokenizer/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
artifacts/sam3/float16/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|startoftext|>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "do_lower_case": true,
7
+ "eos_token": "<|endoftext|>",
8
+ "errors": "replace",
9
+ "is_local": false,
10
+ "local_files_only": true,
11
+ "max_length": 32,
12
+ "model_max_length": 32,
13
+ "pad_token": "<|endoftext|>",
14
+ "processor_class": "Sam3VideoProcessor",
15
+ "tokenizer_class": "CLIPTokenizer",
16
+ "unk_token": "<|endoftext|>"
17
+ }
artifacts/sam3/w6palett-fp16/metadata.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata_version": "0.2",
3
+ "kind": "segmenter",
4
+ "name": "sam3_w6palett_fp16",
5
+ "assets": {
6
+ "main": "sam3_w6palett_fp16.aimodel"
7
+ }
8
+ }
artifacts/sam3/w6palett-fp16/sam3_w6palett_fp16.aimodel/main.hash ADDED
@@ -0,0 +1 @@
 
 
1
+ ��蔣0����rT���J��p��"N��,
artifacts/sam3/w6palett-fp16/sam3_w6palett_fp16.aimodel/main.mlirb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2b6f9e894a3010e30b58beb079f7254ff88cb4a86111dee70e4c7224e8cad2c
3
+ size 701661044
artifacts/sam3/w6palett-fp16/sam3_w6palett_fp16.aimodel/metadata.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "license" : "SAM License",
3
+ "description" : "SAM 3 image segmentation, 6-bit k-means palettized + fp16 residuals. Source: https:\/\/github.com\/facebookresearch\/sam3",
4
+ "assetVersion" : "2.0",
5
+ "author" : "N. Carion et al.",
6
+ "creationDate" : "20260613T102704Z"
7
+ }
artifacts/sam3/w6palett-fp16/tokenizer/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
artifacts/sam3/w6palett-fp16/tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|startoftext|>",
5
+ "clean_up_tokenization_spaces": false,
6
+ "do_lower_case": true,
7
+ "eos_token": "<|endoftext|>",
8
+ "errors": "replace",
9
+ "is_local": false,
10
+ "local_files_only": true,
11
+ "max_length": 32,
12
+ "model_max_length": 32,
13
+ "pad_token": "<|endoftext|>",
14
+ "processor_class": "Sam3VideoProcessor",
15
+ "tokenizer_class": "CLIPTokenizer",
16
+ "unk_token": "<|endoftext|>"
17
+ }
index.json ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": 1,
3
+ "host": "huggingface",
4
+ "repo": "lenitas/coreai-artifacts",
5
+ "models": [
6
+ {
7
+ "id": "efficientsam3-tinyvit",
8
+ "variant": "default",
9
+ "platforms": [
10
+ "iOS",
11
+ "macOS"
12
+ ],
13
+ "minimumOS": "27.0",
14
+ "kind": "bundleDirectory",
15
+ "path": "artifacts/efficientsam3-tinyvit/default",
16
+ "totalSize": 392327724,
17
+ "files": [
18
+ {
19
+ "path": "efficientsam3_tinyvit.aimodel/main.hash",
20
+ "size": 32,
21
+ "sha256": "9b846600b08a61096b2feebb986889dced5d6957f9aeed7103c58fa489e53b35"
22
+ },
23
+ {
24
+ "path": "efficientsam3_tinyvit.aimodel/main.mlirb",
25
+ "size": 388685082,
26
+ "sha256": "797656ab6ffef75038e381e3a27462a89e687193e9234fb63df44d412da2b16c"
27
+ },
28
+ {
29
+ "path": "efficientsam3_tinyvit.aimodel/metadata.json",
30
+ "size": 273,
31
+ "sha256": "a9123bbaca5cc47cc63b598b23c0ae6395bc3ea62e78ab8d9f82cd0647bdca7c"
32
+ },
33
+ {
34
+ "path": "metadata.json",
35
+ "size": 264,
36
+ "sha256": "255d575c143f40ba07a649eebdc71efae6b5a301714ddfdec466cb498691cfc6"
37
+ },
38
+ {
39
+ "path": "tokenizer/tokenizer.json",
40
+ "size": 3642073,
41
+ "sha256": "6d9109cc838977f3ca94a379eec36aecc7c807e1785cd729660ca2fc0171fb35"
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "id": "sam3",
47
+ "variant": "float16",
48
+ "platforms": [
49
+ "iOS",
50
+ "macOS"
51
+ ],
52
+ "minimumOS": "27.0",
53
+ "kind": "bundleDirectory",
54
+ "path": "artifacts/sam3/float16",
55
+ "totalSize": 1667121570,
56
+ "files": [
57
+ {
58
+ "path": "metadata.json",
59
+ "size": 134,
60
+ "sha256": "bdf6dc0a3f0b1d963da628974ee93bbd38bb2db1d6168ef49c0677c904000ec2"
61
+ },
62
+ {
63
+ "path": "sam3_float16.aimodel/main.hash",
64
+ "size": 32,
65
+ "sha256": "a1b9142a89770dd06d1c130e695703ea5cca13236fda3c505694dddb156c8b7a"
66
+ },
67
+ {
68
+ "path": "sam3_float16.aimodel/main.mlirb",
69
+ "size": 1663478432,
70
+ "sha256": "70896d993cc89760686c76778fc71bc394b87888bfc0e4415efb6f5c7935b2e5"
71
+ },
72
+ {
73
+ "path": "sam3_float16.aimodel/metadata.json",
74
+ "size": 445,
75
+ "sha256": "a4437c296752a54e3fad07c0619669bd40ae1e7830973ff6ca4809a6a6093ffa"
76
+ },
77
+ {
78
+ "path": "tokenizer/tokenizer.json",
79
+ "size": 3642073,
80
+ "sha256": "6d9109cc838977f3ca94a379eec36aecc7c807e1785cd729660ca2fc0171fb35"
81
+ },
82
+ {
83
+ "path": "tokenizer/tokenizer_config.json",
84
+ "size": 454,
85
+ "sha256": "4ce6af65eaed63365073ba736f2893275ab9cba93cb8813b566bc6e393cdf529"
86
+ }
87
+ ],
88
+ "licenseURL": "https://huggingface.co/facebook/sam3"
89
+ },
90
+ {
91
+ "id": "sam3",
92
+ "variant": "w6palett-fp16",
93
+ "platforms": [
94
+ "iOS",
95
+ "macOS"
96
+ ],
97
+ "minimumOS": "27.0",
98
+ "kind": "bundleDirectory",
99
+ "path": "artifacts/sam3/w6palett-fp16",
100
+ "totalSize": 705304021,
101
+ "files": [
102
+ {
103
+ "path": "metadata.json",
104
+ "size": 146,
105
+ "sha256": "6067c35fa13bfa0ce606ead340709d7c0605daa2fdb489c458bbcfa619628722"
106
+ },
107
+ {
108
+ "path": "sam3_w6palett_fp16.aimodel/main.hash",
109
+ "size": 32,
110
+ "sha256": "bebc8b9bddc9f43f869d8676d54826084e33eb2380735a8eff8101c43fa71505"
111
+ },
112
+ {
113
+ "path": "sam3_w6palett_fp16.aimodel/main.mlirb",
114
+ "size": 701661044,
115
+ "sha256": "e2b6f9e894a3010e30b58beb079f7254ff88cb4a86111dee70e4c7224e8cad2c"
116
+ },
117
+ {
118
+ "path": "sam3_w6palett_fp16.aimodel/metadata.json",
119
+ "size": 272,
120
+ "sha256": "9f2249c45ddb509bc41430063af85efce595762b2e14a4d6ec21642780444ff7"
121
+ },
122
+ {
123
+ "path": "tokenizer/tokenizer.json",
124
+ "size": 3642073,
125
+ "sha256": "6d9109cc838977f3ca94a379eec36aecc7c807e1785cd729660ca2fc0171fb35"
126
+ },
127
+ {
128
+ "path": "tokenizer/tokenizer_config.json",
129
+ "size": 454,
130
+ "sha256": "4ce6af65eaed63365073ba736f2893275ab9cba93cb8813b566bc6e393cdf529"
131
+ }
132
+ ],
133
+ "licenseURL": "https://huggingface.co/facebook/sam3"
134
+ }
135
+ ],
136
+ "revision": "main"
137
+ }