jungiebeen commited on
Commit
20962a3
1 Parent(s): 73a99f3

Upload RobertaForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +17 -17
  2. generation_config.json +2 -1
  3. model.safetensors +2 -2
config.json CHANGED
@@ -1,27 +1,27 @@
1
  {
2
- "_name_or_path": "/workspace/new/pretraining/local-models/training//2024-02-10_22-40-13",
3
  "architectures": [
4
- "LlamaForCausalLM"
5
  ],
6
- "attention_bias": false,
7
- "bos_token_id": 1,
8
- "eos_token_id": 2,
9
- "hidden_act": "silu",
 
 
10
  "hidden_size": 768,
11
  "initializer_range": 0.02,
12
  "intermediate_size": 3072,
13
- "max_position_embeddings": 1024,
14
- "model_type": "llama",
15
- "num_attention_heads": 8,
 
16
  "num_hidden_layers": 12,
17
- "num_key_value_heads": 4,
18
- "pretraining_tp": 1,
19
- "rms_norm_eps": 1e-05,
20
- "rope_scaling": null,
21
- "rope_theta": 10000.0,
22
- "tie_word_embeddings": false,
23
  "torch_dtype": "float32",
24
  "transformers_version": "4.34.1",
25
- "use_cache": true,
26
- "vocab_size": 50257
 
27
  }
 
1
  {
2
+ "_name_or_path": "/workspace/new/pretraining/local-models/training/2024-02-11_05-09-18",
3
  "architectures": [
4
+ "RobertaForCausalLM"
5
  ],
6
+ "attention_probs_dropout_prob": 0,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 50256,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0,
12
  "hidden_size": 768,
13
  "initializer_range": 0.02,
14
  "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 1026,
17
+ "model_type": "roberta",
18
+ "num_attention_heads": 12,
19
  "num_hidden_layers": 12,
20
+ "pad_token_id": 1,
21
+ "position_embedding_type": "absolute",
 
 
 
 
22
  "torch_dtype": "float32",
23
  "transformers_version": "4.34.1",
24
+ "type_vocab_size": 1,
25
+ "use_cache": false,
26
+ "vocab_size": 50265
27
  }
generation_config.json CHANGED
@@ -1,6 +1,7 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 1,
4
  "eos_token_id": 2,
 
5
  "transformers_version": "4.34.1"
6
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 0,
4
  "eos_token_id": 2,
5
+ "pad_token_id": 1,
6
  "transformers_version": "4.34.1"
7
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f5a8eede09cdf2a7b61b532e0ad1381d2a9469bc868455b3b2b050d11cf0228f
3
- size 733541408
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c6cf33bce3ccb7b13daa654965c384c5c9208b117325d15ba8253b7268cb71b
3
+ size 500386812