juliehunter commited on
Commit
9b54c45
·
verified ·
1 Parent(s): e5e7ca6

upload correct config

Browse files
Files changed (1) hide show
  1. config.json +76 -18
config.json CHANGED
@@ -1,27 +1,85 @@
1
  {
2
- "architectures": [
3
- "LlamaForCausalLM"
4
- ],
5
- "attention_bias": false,
6
- "attention_dropout": 0.0,
7
- "bos_token_id": 0,
8
- "eos_token_id": 1,
9
- "hidden_act": "silu",
10
  "hidden_size": 4096,
11
- "initializer_range": 0.02,
12
  "intermediate_size": 12288,
13
- "max_position_embeddings": 4096,
14
- "model_type": "llama",
15
- "num_attention_heads": 32,
16
  "num_hidden_layers": 32,
 
17
  "num_key_value_heads": 8,
18
- "pretraining_tp": 1,
 
19
  "rms_norm_eps": 1e-05,
 
 
 
20
  "rope_scaling": null,
21
- "rope_theta": 500000.0,
22
- "tie_word_embeddings": false,
 
 
 
 
 
 
23
  "torch_dtype": "bfloat16",
24
- "transformers_version": "4.36.1",
25
- "use_cache": true,
26
- "vocab_size": 65024
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  }
 
1
  {
2
+ "vocab_size": 65024,
3
+ "max_position_embeddings": 4096,
 
 
 
 
 
 
4
  "hidden_size": 4096,
 
5
  "intermediate_size": 12288,
 
 
 
6
  "num_hidden_layers": 32,
7
+ "num_attention_heads": 32,
8
  "num_key_value_heads": 8,
9
+ "hidden_act": "silu",
10
+ "initializer_range": 0.02,
11
  "rms_norm_eps": 1e-05,
12
+ "pretraining_tp": 1,
13
+ "use_cache": true,
14
+ "rope_theta": 20000000,
15
  "rope_scaling": null,
16
+ "attention_bias": false,
17
+ "attention_dropout": 0.0,
18
+ "mlp_bias": false,
19
+ "head_dim": 128,
20
+ "return_dict": true,
21
+ "output_hidden_states": false,
22
+ "output_attentions": false,
23
+ "torchscript": false,
24
  "torch_dtype": "bfloat16",
25
+ "use_bfloat16": false,
26
+ "tf_legacy_loss": false,
27
+ "pruned_heads": {},
28
+ "tie_word_embeddings": false,
29
+ "chunk_size_feed_forward": 0,
30
+ "is_encoder_decoder": false,
31
+ "is_decoder": false,
32
+ "cross_attention_hidden_size": null,
33
+ "add_cross_attention": false,
34
+ "tie_encoder_decoder": false,
35
+ "max_length": 20,
36
+ "min_length": 0,
37
+ "do_sample": false,
38
+ "early_stopping": false,
39
+ "num_beams": 1,
40
+ "num_beam_groups": 1,
41
+ "diversity_penalty": 0.0,
42
+ "temperature": 1.0,
43
+ "top_k": 50,
44
+ "top_p": 1.0,
45
+ "typical_p": 1.0,
46
+ "repetition_penalty": 1.0,
47
+ "length_penalty": 1.0,
48
+ "no_repeat_ngram_size": 0,
49
+ "encoder_no_repeat_ngram_size": 0,
50
+ "bad_words_ids": null,
51
+ "num_return_sequences": 1,
52
+ "output_scores": false,
53
+ "return_dict_in_generate": false,
54
+ "forced_bos_token_id": null,
55
+ "forced_eos_token_id": null,
56
+ "remove_invalid_values": false,
57
+ "exponential_decay_length_penalty": null,
58
+ "suppress_tokens": null,
59
+ "begin_suppress_tokens": null,
60
+ "architectures": [
61
+ "LlamaForCausalLM"
62
+ ],
63
+ "finetuning_task": null,
64
+ "id2label": {
65
+ "0": "LABEL_0",
66
+ "1": "LABEL_1"
67
+ },
68
+ "label2id": {
69
+ "LABEL_0": 0,
70
+ "LABEL_1": 1
71
+ },
72
+ "tokenizer_class": null,
73
+ "prefix": null,
74
+ "bos_token_id": 0,
75
+ "pad_token_id": 3,
76
+ "eos_token_id": 1,
77
+ "sep_token_id": null,
78
+ "decoder_start_token_id": null,
79
+ "task_specific_params": null,
80
+ "problem_type": null,
81
+ "_name_or_path": "",
82
+ "_attn_implementation_autoset": false,
83
+ "transformers_version": "4.47.1",
84
+ "model_type": "llama"
85
  }