xiaoyao9184 commited on
Commit
fc43e9f
·
verified ·
1 Parent(s): 76eba73

Add files using upload-large-folder tool

Browse files
Files changed (5) hide show
  1. README.md +6 -0
  2. config.json +59 -0
  3. manifest.json +1 -0
  4. model.safetensors +3 -0
  5. preprocessor_config.json +23 -0
README.md ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: cc-by-nc-sa-4.0
4
+ ---
5
+
6
+ Inline math detection for [surya](https://www.github.com/VikParuchuri/surya).
config.json ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "datalab-to/inline_math_det0",
3
+ "architectures": [
4
+ "EfficientViTForSemanticSegmentation"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "classifier_dropout_prob": 0.0,
8
+ "decoder_hidden_size": 512,
9
+ "decoder_layer_hidden_size": 128,
10
+ "depths": [
11
+ 1,
12
+ 1,
13
+ 1,
14
+ 6,
15
+ 6
16
+ ],
17
+ "head_dim": 32,
18
+ "hidden_dropout_prob": 0.0,
19
+ "hidden_sizes": [
20
+ 32,
21
+ 64,
22
+ 160,
23
+ 256
24
+ ],
25
+ "id2label": {
26
+ "0": "LABEL_0"
27
+ },
28
+ "initializer_range": 0.02,
29
+ "label2id": {
30
+ "LABEL_0": 0
31
+ },
32
+ "layer_norm_eps": 1e-06,
33
+ "model_type": "efficientvit",
34
+ "num_channels": 3,
35
+ "num_classes": 2,
36
+ "num_stages": 4,
37
+ "patch_size": [
38
+ 7,
39
+ 7
40
+ ],
41
+ "pos_weight": 1,
42
+ "semantic_loss_ignore_index": -1,
43
+ "strides": [
44
+ 2,
45
+ 2,
46
+ 2,
47
+ 2,
48
+ 2
49
+ ],
50
+ "torch_dtype": "float16",
51
+ "transformers_version": "4.48.1",
52
+ "widths": [
53
+ 32,
54
+ 64,
55
+ 128,
56
+ 256,
57
+ 512
58
+ ]
59
+ }
manifest.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"files": ["model.safetensors", "config.json", "README.md", ".gitattributes", "preprocessor_config.json"]}
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b76351d8edff1a49f4d5302f2c423f18bbb09368849a9c336f16fe543e84f15
3
+ size 76929706
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_reduce_labels": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "SegformerImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 1200,
21
+ "width": 1200
22
+ }
23
+ }