snigdhachandan commited on
Commit
aaf1f46
1 Parent(s): 05f0d30

Upload model

Browse files
Files changed (2) hide show
  1. config.json +71 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/gtr-t5-large",
3
+ "architectures": [
4
+ "T5Model"
5
+ ],
6
+ "d_ff": 4096,
7
+ "d_kv": 64,
8
+ "d_model": 1024,
9
+ "decoder_start_token_id": 0,
10
+ "dense_act_fn": "relu",
11
+ "dropout_rate": 0.1,
12
+ "eos_token_id": 1,
13
+ "feed_forward_proj": "relu",
14
+ "initializer_factor": 1.0,
15
+ "is_encoder_decoder": true,
16
+ "is_gated_act": false,
17
+ "layer_norm_epsilon": 1e-06,
18
+ "model_type": "t5",
19
+ "n_positions": 512,
20
+ "num_decoder_layers": 24,
21
+ "num_heads": 16,
22
+ "num_layers": 24,
23
+ "output_past": true,
24
+ "pad_token_id": 0,
25
+ "quantization_config": {
26
+ "bnb_4bit_compute_dtype": "float32",
27
+ "bnb_4bit_quant_type": "fp4",
28
+ "bnb_4bit_use_double_quant": false,
29
+ "llm_int8_enable_fp32_cpu_offload": false,
30
+ "llm_int8_has_fp16_weight": false,
31
+ "llm_int8_skip_modules": null,
32
+ "llm_int8_threshold": 6.0,
33
+ "load_in_4bit": false,
34
+ "load_in_8bit": true
35
+ },
36
+ "relative_attention_max_distance": 128,
37
+ "relative_attention_num_buckets": 32,
38
+ "task_specific_params": {
39
+ "summarization": {
40
+ "early_stopping": true,
41
+ "length_penalty": 2.0,
42
+ "max_length": 200,
43
+ "min_length": 30,
44
+ "no_repeat_ngram_size": 3,
45
+ "num_beams": 4,
46
+ "prefix": "summarize: "
47
+ },
48
+ "translation_en_to_de": {
49
+ "early_stopping": true,
50
+ "max_length": 300,
51
+ "num_beams": 4,
52
+ "prefix": "translate English to German: "
53
+ },
54
+ "translation_en_to_fr": {
55
+ "early_stopping": true,
56
+ "max_length": 300,
57
+ "num_beams": 4,
58
+ "prefix": "translate English to French: "
59
+ },
60
+ "translation_en_to_ro": {
61
+ "early_stopping": true,
62
+ "max_length": 300,
63
+ "num_beams": 4,
64
+ "prefix": "translate English to Romanian: "
65
+ }
66
+ },
67
+ "torch_dtype": "float16",
68
+ "transformers_version": "4.31.0",
69
+ "use_cache": true,
70
+ "vocab_size": 32128
71
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db3ee3cc19e8ee147d19d4d1569bc72bfe6e22d41a0843ed8e99a80972ca2885
3
+ size 1677665825