AlekseyCalvin commited on
Commit
ec1ba51
·
verified ·
1 Parent(s): 2844716

Update text_encoder/config.json

Browse files
Files changed (1) hide show
  1. text_encoder/config.json +21 -1
text_encoder/config.json CHANGED
@@ -22,13 +22,33 @@
22
  "num_layers": 24,
23
  "output_past": true,
24
  "pad_token_id": 0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  "relative_attention_max_distance": 128,
26
  "relative_attention_num_buckets": 32,
27
  "scalable_attention": true,
28
  "tie_word_embeddings": false,
29
  "tokenizer_class": "T5Tokenizer",
30
  "torch_dtype": "bfloat16",
31
- "transformers_version": "4.49.0",
32
  "use_cache": true,
33
  "vocab_size": 256384
34
  }
 
22
  "num_layers": 24,
23
  "output_past": true,
24
  "pad_token_id": 0,
25
+ "quantization_config": {
26
+ "quant_config": {
27
+ "offload_meta": false,
28
+ "scale_quant_params": null,
29
+ "weight_quant_params": {
30
+ "axis": 1,
31
+ "channel_wise": true,
32
+ "group_size": 64,
33
+ "nbits": 4,
34
+ "optimize": true,
35
+ "round_zero": true,
36
+ "view_as_float": false
37
+ },
38
+ "zero_quant_params": null
39
+ },
40
+ "quant_method": "hqq",
41
+ "skip_modules": [
42
+ "lm_head"
43
+ ]
44
+ },
45
  "relative_attention_max_distance": 128,
46
  "relative_attention_num_buckets": 32,
47
  "scalable_attention": true,
48
  "tie_word_embeddings": false,
49
  "tokenizer_class": "T5Tokenizer",
50
  "torch_dtype": "bfloat16",
51
+ "transformers_version": "4.52.3",
52
  "use_cache": true,
53
  "vocab_size": 256384
54
  }