RichardErkhov commited on
Commit
4265931
1 Parent(s): 77461ba

uploaded model

Browse files
Files changed (1) hide show
  1. config.json +68 -0
config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "aragpt2-large",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "attn_pdrop": 0.1,
9
+ "auto_map": {
10
+ "AutoConfig": "configuration_aragpt2.AraGPT2Config",
11
+ "AutoModel": "modeling_aragpt2.AraGPT2Model",
12
+ "AutoModelForCausalLM": "modeling_aragpt2.AraGPT2LMHeadModel"
13
+ },
14
+ "bos_token_id": 0,
15
+ "embd_pdrop": 0.1,
16
+ "eos_token_id": 0,
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.1,
19
+ "initializer_range": 0.014142135623731,
20
+ "intermediate_size": 5120,
21
+ "layer_norm_epsilon": 1e-05,
22
+ "model_type": "gpt2",
23
+ "n_ctx": 1024,
24
+ "n_embd": 1280,
25
+ "n_head": 20,
26
+ "n_inner": null,
27
+ "n_layer": 36,
28
+ "n_positions": 1024,
29
+ "quantization_config": {
30
+ "_load_in_4bit": true,
31
+ "_load_in_8bit": false,
32
+ "bnb_4bit_compute_dtype": "float32",
33
+ "bnb_4bit_quant_storage": "uint8",
34
+ "bnb_4bit_quant_type": "fp4",
35
+ "bnb_4bit_use_double_quant": false,
36
+ "llm_int8_enable_fp32_cpu_offload": false,
37
+ "llm_int8_has_fp16_weight": false,
38
+ "llm_int8_skip_modules": null,
39
+ "llm_int8_threshold": 6.0,
40
+ "load_in_4bit": true,
41
+ "load_in_8bit": false,
42
+ "quant_method": "bitsandbytes"
43
+ },
44
+ "reorder_and_upcast_attn": false,
45
+ "resid_pdrop": 0.1,
46
+ "scale_attn_by_inverse_layer_idx": false,
47
+ "scale_attn_weights": true,
48
+ "summary_activation": null,
49
+ "summary_first_dropout": 0.1,
50
+ "summary_proj_to_labels": true,
51
+ "summary_type": "cls_index",
52
+ "summary_use_proj": true,
53
+ "task_specific_params": {
54
+ "text-generation": {
55
+ "do_sample": true,
56
+ "max_length": 50,
57
+ "no_repeat_ngram_size": 3,
58
+ "num_beams": 5,
59
+ "repetition_penalty": 3.0,
60
+ "top_p": 0.95
61
+ }
62
+ },
63
+ "tokenizer_class": "GPT2Tokenizer",
64
+ "torch_dtype": "float16",
65
+ "transformers_version": "4.39.3",
66
+ "use_cache": true,
67
+ "vocab_size": 64000
68
+ }