guygrigsby commited on
Commit
65dfb8b
·
verified ·
1 Parent(s): 1be6f5b

Add files using upload-large-folder tool

Browse files
.gitattributes CHANGED
@@ -33,3 +33,23 @@ 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
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ assets/results-detector-en.png filter=lfs diff=lfs merge=lfs -text
38
+ assets/training-zh.png filter=lfs diff=lfs merge=lfs -text
39
+ assets/compare-en-forum.png filter=lfs diff=lfs merge=lfs -text
40
+ assets/app-showcase-zh.png filter=lfs diff=lfs merge=lfs -text
41
+ assets/banner-zh.png filter=lfs diff=lfs merge=lfs -text
42
+ assets/compare-en-email.png filter=lfs diff=lfs merge=lfs -text
43
+ assets/compare-zh-zhihu.png filter=lfs diff=lfs merge=lfs -text
44
+ assets/training-en.png filter=lfs diff=lfs merge=lfs -text
45
+ assets/results-detector-zh.png filter=lfs diff=lfs merge=lfs -text
46
+ assets/banner-en.png filter=lfs diff=lfs merge=lfs -text
47
+ assets/app-showcase-en.png filter=lfs diff=lfs merge=lfs -text
48
+ assets/results-fidelity-en.png filter=lfs diff=lfs merge=lfs -text
49
+ assets/compare-zh-email.png filter=lfs diff=lfs merge=lfs -text
50
+ assets/eval-zh.png filter=lfs diff=lfs merge=lfs -text
51
+ assets/app-en.png filter=lfs diff=lfs merge=lfs -text
52
+ assets/quant-top1-en.png filter=lfs diff=lfs merge=lfs -text
53
+ assets/app-zh.png filter=lfs diff=lfs merge=lfs -text
54
+ assets/eval-en.png filter=lfs diff=lfs merge=lfs -text
55
+ assets/results-fidelity-zh.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: jialinyyzz/humanizer
4
+ base_model_relation: finetune
5
+ language:
6
+ - en
7
+ - zh
8
+ pipeline_tag: text-generation
9
+ library_name: mlx
10
+ tags:
11
+ - humanizer
12
+ - transformers
13
+ - safetensors
14
+ - text-rewriting
15
+ - rewriting
16
+ - paraphrase
17
+ - style-transfer
18
+ - gguf
19
+ - llama.cpp
20
+ - gemma4
21
+ - mlx
22
+ ---
assets/app-en.png ADDED

Git LFS Details

  • SHA256: 7036cbf414ca5e5c256ca29a477dc03886d1561eea8c23777790e72f782697e5
  • Pointer size: 131 Bytes
  • Size of remote file: 564 kB
assets/app-showcase-en.png ADDED

Git LFS Details

  • SHA256: 114a7dd013ff6f2ec3366fc81642a2e88d9e5a9243bb706172267f47d0bc628a
  • Pointer size: 131 Bytes
  • Size of remote file: 662 kB
assets/app-showcase-zh.png ADDED

Git LFS Details

  • SHA256: b456891a53b7cdfa54b0899aa479abfd5a6ed2d9186178032d863c17ca45e436
  • Pointer size: 131 Bytes
  • Size of remote file: 791 kB
assets/app-zh.png ADDED

Git LFS Details

  • SHA256: 740aa257e3b04ab6246c180b0bd0b0ca790e06d8800586113583c3a1718c73f0
  • Pointer size: 131 Bytes
  • Size of remote file: 574 kB
assets/banner-en.png ADDED

Git LFS Details

  • SHA256: 3c32b66d7282d635a5c8c0135658b082f2ca33fb8abcf6486026fd4963997637
  • Pointer size: 131 Bytes
  • Size of remote file: 211 kB
assets/banner-zh.png ADDED

Git LFS Details

  • SHA256: 1b37b8822029aa54781b05c63a2d668cf8010d9f175c66d94c736fd0c8f5b72b
  • Pointer size: 131 Bytes
  • Size of remote file: 207 kB
assets/compare-en-email.png ADDED

Git LFS Details

  • SHA256: bd5c29c469a36d9383e5ad08ad0179eb8de603de200143f755f4913faaf5a4f4
  • Pointer size: 131 Bytes
  • Size of remote file: 548 kB
assets/compare-en-forum.png ADDED

Git LFS Details

  • SHA256: 571d33a2950b51c63a298753c66d1870f36dbecd22c3b93c5e9e83f7ebb31e9f
  • Pointer size: 131 Bytes
  • Size of remote file: 935 kB
assets/compare-zh-email.png ADDED

Git LFS Details

  • SHA256: d48c2cae61725ca0cd2ca86c712a6d8d9aaeb1e6ac0ea5c3efdffbe3cefba0fd
  • Pointer size: 131 Bytes
  • Size of remote file: 685 kB
assets/compare-zh-zhihu.png ADDED

Git LFS Details

  • SHA256: 9c027433564fa9ea8ff5ff5d7dcab0468cfde89e6aab35f3545e058ec1306538
  • Pointer size: 132 Bytes
  • Size of remote file: 1.03 MB
assets/eval-en.png ADDED

Git LFS Details

  • SHA256: a0d9e2fd43bb3aeace2bf9d352006aecd4e6ceafe814b13042a4a494a88252c9
  • Pointer size: 131 Bytes
  • Size of remote file: 603 kB
assets/eval-zh.png ADDED

Git LFS Details

  • SHA256: 91bd3f823cc490d1a402c276a087c6f622ca9dca0592965bd60114ca08422369
  • Pointer size: 131 Bytes
  • Size of remote file: 602 kB
assets/quant-top1-en.png ADDED

Git LFS Details

  • SHA256: 4ee2e9443cc125ad3a58ffbb530efab092c0a331f9f9b610c51364f6ecba1798
  • Pointer size: 131 Bytes
  • Size of remote file: 280 kB
assets/results-detector-en.png ADDED

Git LFS Details

  • SHA256: 2399cca785d6e3a69144eb8fdd1d866f0e83e6413061d45ab7a49e60f9919fb5
  • Pointer size: 131 Bytes
  • Size of remote file: 368 kB
assets/results-detector-zh.png ADDED

Git LFS Details

  • SHA256: 5c4aa158e42e261bb9d2b137731ef2660eaa563b695ebc972cc7326bf17efe60
  • Pointer size: 131 Bytes
  • Size of remote file: 362 kB
assets/results-fidelity-en.png ADDED

Git LFS Details

  • SHA256: 7130711cf787031b31120c270c88a76914957d482211bf185406c7abdabb19a6
  • Pointer size: 131 Bytes
  • Size of remote file: 336 kB
assets/results-fidelity-zh.png ADDED

Git LFS Details

  • SHA256: ba1d178189d66c4e198ebdc2154f411876fa7fe120f6a7c4a7eb289456630333
  • Pointer size: 131 Bytes
  • Size of remote file: 328 kB
assets/training-en.png ADDED

Git LFS Details

  • SHA256: 4158823e90a4aa7f37b5414b42d7f33f99014f7e0638f4e00cd09b90195634a9
  • Pointer size: 131 Bytes
  • Size of remote file: 433 kB
assets/training-zh.png ADDED

Git LFS Details

  • SHA256: 12269f06aaf33fd300d8a2b364d275d0ea56ccd8ea97bcd02905bbdee40f68c6
  • Pointer size: 131 Bytes
  • Size of remote file: 432 kB
config.json ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Gemma4UnifiedForConditionalGeneration"
4
+ ],
5
+ "audio_config": {
6
+ "_name_or_path": "",
7
+ "architectures": null,
8
+ "audio_embed_dim": 640,
9
+ "chunk_size_feed_forward": 0,
10
+ "dtype": "bfloat16",
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "is_encoder_decoder": false,
17
+ "label2id": {
18
+ "LABEL_0": 0,
19
+ "LABEL_1": 1
20
+ },
21
+ "model_type": "gemma4_unified_audio",
22
+ "output_attentions": false,
23
+ "output_hidden_states": false,
24
+ "problem_type": null,
25
+ "return_dict": true,
26
+ "rms_norm_eps": 1e-06
27
+ },
28
+ "audio_token_id": 258881,
29
+ "boa_token_id": 256000,
30
+ "boi_token_id": 255999,
31
+ "do_sample": true,
32
+ "dtype": "bfloat16",
33
+ "eoa_token_index": 258883,
34
+ "eoi_token_id": 258882,
35
+ "eos_token_id": 1,
36
+ "generation_config": {
37
+ "bos_token_id": 2,
38
+ "do_sample": true,
39
+ "eos_token_id": 1,
40
+ "pad_token_id": 0,
41
+ "suppress_tokens": [
42
+ 258883,
43
+ 258882
44
+ ],
45
+ "temperature": 1.0,
46
+ "top_k": 64,
47
+ "top_p": 0.95,
48
+ "transformers_version": "5.14.1"
49
+ },
50
+ "image_token_id": 258880,
51
+ "initializer_range": 0.02,
52
+ "model_type": "gemma4_unified",
53
+ "quantization": {
54
+ "group_size": 64,
55
+ "bits": 6,
56
+ "mode": "affine"
57
+ },
58
+ "quantization_config": {
59
+ "group_size": 64,
60
+ "bits": 6,
61
+ "mode": "affine"
62
+ },
63
+ "temperature": 1.0,
64
+ "text_config": {
65
+ "attention_bias": false,
66
+ "attention_dropout": 0.0,
67
+ "attention_k_eq_v": true,
68
+ "bos_token_id": 2,
69
+ "dtype": "bfloat16",
70
+ "enable_moe_block": false,
71
+ "eos_token_id": 1,
72
+ "final_logit_softcapping": 30.0,
73
+ "global_head_dim": 512,
74
+ "head_dim": 256,
75
+ "hidden_activation": "gelu_pytorch_tanh",
76
+ "hidden_size": 3840,
77
+ "hidden_size_per_layer_input": 0,
78
+ "initializer_range": 0.02,
79
+ "intermediate_size": 15360,
80
+ "layer_types": [
81
+ "sliding_attention",
82
+ "sliding_attention",
83
+ "sliding_attention",
84
+ "sliding_attention",
85
+ "sliding_attention",
86
+ "full_attention",
87
+ "sliding_attention",
88
+ "sliding_attention",
89
+ "sliding_attention",
90
+ "sliding_attention",
91
+ "sliding_attention",
92
+ "full_attention",
93
+ "sliding_attention",
94
+ "sliding_attention",
95
+ "sliding_attention",
96
+ "sliding_attention",
97
+ "sliding_attention",
98
+ "full_attention",
99
+ "sliding_attention",
100
+ "sliding_attention",
101
+ "sliding_attention",
102
+ "sliding_attention",
103
+ "sliding_attention",
104
+ "full_attention",
105
+ "sliding_attention",
106
+ "sliding_attention",
107
+ "sliding_attention",
108
+ "sliding_attention",
109
+ "sliding_attention",
110
+ "full_attention",
111
+ "sliding_attention",
112
+ "sliding_attention",
113
+ "sliding_attention",
114
+ "sliding_attention",
115
+ "sliding_attention",
116
+ "full_attention",
117
+ "sliding_attention",
118
+ "sliding_attention",
119
+ "sliding_attention",
120
+ "sliding_attention",
121
+ "sliding_attention",
122
+ "full_attention",
123
+ "sliding_attention",
124
+ "sliding_attention",
125
+ "sliding_attention",
126
+ "sliding_attention",
127
+ "sliding_attention",
128
+ "full_attention"
129
+ ],
130
+ "max_position_embeddings": 262144,
131
+ "model_type": "gemma4_unified_text",
132
+ "moe_intermediate_size": null,
133
+ "num_attention_heads": 16,
134
+ "num_experts": null,
135
+ "num_global_key_value_heads": 1,
136
+ "num_hidden_layers": 48,
137
+ "num_key_value_heads": 8,
138
+ "num_kv_shared_layers": 0,
139
+ "pad_token_id": 0,
140
+ "rms_norm_eps": 1e-06,
141
+ "rope_parameters": {
142
+ "full_attention": {
143
+ "partial_rotary_factor": 0.25,
144
+ "rope_theta": 1000000.0,
145
+ "rope_type": "proportional"
146
+ },
147
+ "sliding_attention": {
148
+ "rope_theta": 10000.0,
149
+ "rope_type": "default"
150
+ }
151
+ },
152
+ "sliding_window": 1024,
153
+ "tie_word_embeddings": true,
154
+ "top_k_experts": null,
155
+ "use_bidirectional_attention": "vision",
156
+ "use_cache": true,
157
+ "use_double_wide_mlp": false,
158
+ "vocab_size": 262144,
159
+ "vocab_size_per_layer_input": 262144
160
+ },
161
+ "tie_word_embeddings": true,
162
+ "top_k": 64,
163
+ "top_p": 0.95,
164
+ "transformers_version": "5.14.1",
165
+ "video_token_id": 258884,
166
+ "vision_config": {
167
+ "_name_or_path": "",
168
+ "architectures": null,
169
+ "chunk_size_feed_forward": 0,
170
+ "dtype": "bfloat16",
171
+ "id2label": {
172
+ "0": "LABEL_0",
173
+ "1": "LABEL_1"
174
+ },
175
+ "initializer_range": 0.02,
176
+ "is_encoder_decoder": false,
177
+ "label2id": {
178
+ "LABEL_0": 0,
179
+ "LABEL_1": 1
180
+ },
181
+ "mm_embed_dim": 3840,
182
+ "mm_posemb_size": 1120,
183
+ "model_type": "gemma4_unified_vision",
184
+ "num_soft_tokens": 280,
185
+ "output_attentions": false,
186
+ "output_hidden_states": false,
187
+ "output_proj_dims": 3840,
188
+ "patch_size": 16,
189
+ "pooling_kernel_size": 3,
190
+ "problem_type": null,
191
+ "return_dict": true,
192
+ "rms_norm_eps": 1e-06
193
+ }
194
+ }
generation_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 2,
3
+ "do_sample": true,
4
+ "eos_token_id": 1,
5
+ "pad_token_id": 0,
6
+ "suppress_tokens": [
7
+ 258883,
8
+ 258882
9
+ ],
10
+ "temperature": 1.0,
11
+ "top_k": 64,
12
+ "top_p": 0.95,
13
+ "transformers_version": "5.14.1"
14
+ }
model-00001-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4422000decee0a924c8d1eab1c3198393f93eff3a5496cbc02313905960eadab
3
+ size 5333109347
model-00002-of-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12e14aa8465a285017eb93dd00b41ce228aa8a5ad90cb266b5676cc68de2fde3
3
+ size 4395511990
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
processor_config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_processor": {
3
+ "do_convert_rgb": true,
4
+ "do_normalize": false,
5
+ "do_rescale": true,
6
+ "do_resize": true,
7
+ "image_mean": [
8
+ 0.5,
9
+ 0.5,
10
+ 0.5
11
+ ],
12
+ "image_processor_type": "Gemma4UnifiedImageProcessor",
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "max_soft_tokens": 280,
19
+ "model_patch_size": 48,
20
+ "patch_size": 16,
21
+ "pooling_kernel_size": 3,
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "height": 224,
26
+ "width": 224
27
+ }
28
+ },
29
+ "processor_class": "Gemma4UnifiedProcessor",
30
+ "feature_extractor": {
31
+ "feature_extractor_type": "Gemma4UnifiedAudioFeatureExtractor",
32
+ "sampling_rate": 16000,
33
+ "num_mel_filters": 128,
34
+ "fft_length": 512,
35
+ "hop_length": 160,
36
+ "chunk_duration": 8.0,
37
+ "overlap_duration": 1.0
38
+ },
39
+ "audio_ms_per_token": 40
40
+ }
prompt_format.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "style": "legacy",
3
+ "sep": "\n\n### Rewritten:\n\n",
4
+ "fingerprint": "cc51d66b4c593fbe",
5
+ "instr": "Rewrite the text below so it reads like a person wrote it, not a language model.\n\nReorganize it as you see fit. Vary sentence length on purpose. Cut hedging,\nthroat-clearing, and any sentence that only announces what comes next.\nPrefer the concrete word over the abstract one. It is fine to sound uneven.\n\nEvery fact, number, unit, date, name and quotation must survive unchanged.",
6
+ "chat": false,
7
+ "note": "推理时需 instr + draft + sep"
8
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12bac982b793c44b03d52a250a9f0d0b666813da566b910c24a6da0695fd11e6
3
+ size 32170070
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "audio_token": "<|audio|>",
3
+ "backend": "tokenizers",
4
+ "boa_token": "<|audio>",
5
+ "boi_token": "<|image>",
6
+ "bos_token": "<bos>",
7
+ "eoa_token": "<audio|>",
8
+ "eoc_token": "<channel|>",
9
+ "eoi_token": "<image|>",
10
+ "eos_token": "<eos>",
11
+ "eot_token": "<turn|>",
12
+ "escape_token": "<|\"|>",
13
+ "etc_token": "<tool_call|>",
14
+ "etd_token": "<tool|>",
15
+ "etr_token": "<tool_response|>",
16
+ "extra_special_tokens": [
17
+ "<|video|>"
18
+ ],
19
+ "image_token": "<|image|>",
20
+ "is_local": true,
21
+ "local_files_only": true,
22
+ "mask_token": "<mask>",
23
+ "model_max_length": 1000000000000000019884624838656,
24
+ "model_specific_special_tokens": {
25
+ "audio_token": "<|audio|>",
26
+ "boa_token": "<|audio>",
27
+ "boi_token": "<|image>",
28
+ "eoa_token": "<audio|>",
29
+ "eoc_token": "<channel|>",
30
+ "eoi_token": "<image|>",
31
+ "eot_token": "<turn|>",
32
+ "escape_token": "<|\"|>",
33
+ "etc_token": "<tool_call|>",
34
+ "etd_token": "<tool|>",
35
+ "etr_token": "<tool_response|>",
36
+ "image_token": "<|image|>",
37
+ "soc_token": "<|channel>",
38
+ "sot_token": "<|turn>",
39
+ "stc_token": "<|tool_call>",
40
+ "std_token": "<|tool>",
41
+ "str_token": "<|tool_response>",
42
+ "think_token": "<|think|>"
43
+ },
44
+ "pad_token": "<pad>",
45
+ "padding_side": "left",
46
+ "processor_class": "Gemma4UnifiedProcessor",
47
+ "soc_token": "<|channel>",
48
+ "sot_token": "<|turn>",
49
+ "stc_token": "<|tool_call>",
50
+ "std_token": "<|tool>",
51
+ "str_token": "<|tool_response>",
52
+ "think_token": "<|think|>",
53
+ "tokenizer_class": "GemmaTokenizer",
54
+ "unk_token": "<unk>"
55
+ }