alexwengg commited on
Commit
82245c3
·
verified ·
1 Parent(s): 40e4036

Add config.json

Browse files
Files changed (1) hide show
  1. config.json +41 -0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "coreml",
3
+ "library_name": "coreml",
4
+ "pipeline": "typed-decision",
5
+ "source": {
6
+ "repo": "convaiinnovations/laya",
7
+ "subfolder": "multilingual",
8
+ "revision": "1c5edc17a7acd8701df6fc341c0d179f1c62c982",
9
+ "encoder": "jhu-clsp/mmBERT-base",
10
+ "license": "apache-2.0"
11
+ },
12
+ "question_types": ["choice", "score", "noul"],
13
+ "max_options": 32,
14
+ "head_max_len": 256,
15
+ "sequence_format": "[CLS] <type> question: <instructions> [SEP] ([MASK] <option>)* [SEP] <state> [SEP]",
16
+ "buckets": [
17
+ { "length": 128, "fp16": "laya_multilingual_fp16_L128_options32.mlmodelc", "e8": "laya_multilingual_e8_L128_options32.mlmodelc" },
18
+ { "length": 256, "fp16": "laya_multilingual_fp16_L256_options32.mlmodelc", "e8": "laya_multilingual_e8_L256_options32.mlmodelc" },
19
+ { "length": 512, "fp16": "laya_multilingual_fp16_L512_options32.mlmodelc", "e8": "laya_multilingual_e8_L512_options32.mlmodelc" },
20
+ { "length": 1024, "fp16": "laya_multilingual_fp16_L1024_options32.mlmodelc", "e8": "laya_multilingual_e8_L1024_options32.mlmodelc" }
21
+ ],
22
+ "precisions": {
23
+ "fp16": { "weight_format": "float16", "package_mb": 614 },
24
+ "e8": { "weight_format": "int8 per-channel embedding table, float16 encoder and head", "package_mb": 448 }
25
+ },
26
+ "tokenizer": "tokenizer.json",
27
+ "inputs": {
28
+ "input_ids": "int32 [1, L]",
29
+ "attention_mask": "int32 [1, L]",
30
+ "marker_map": "float32 [1, 32, L]",
31
+ "question_type": "float32 [1, 3]"
32
+ },
33
+ "outputs": {
34
+ "logits": "float32 [1, 32]",
35
+ "probabilities": "float32 [1, 32]",
36
+ "action_probabilities": "float32 [1, 2]"
37
+ },
38
+ "minimum_deployment_target": "iOS17 / macOS14",
39
+ "runtime": "https://github.com/FluidInference/FluidUse",
40
+ "conversion": "https://github.com/FluidInference/mobius/tree/main/models/computer-use/laya/coreml"
41
+ }