Informalone commited on
Commit
9f5ccea
1 Parent(s): d267d90

Upload BertForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +17 -22
  2. pytorch_model.bin +3 -0
config.json CHANGED
@@ -1,31 +1,26 @@
1
  {
2
- "_name_or_path": "h2oai/h2ogpt-gm-oasst1-en-2048-open-llama-7b-preview-700bt",
3
  "architectures": [
4
- "LlamaForCausalLM"
5
  ],
6
- "attention_probs_dropout_prob": 0.0,
7
- "bos_token_id": 1,
8
- "custom_pipelines": {
9
- "text-generation": {
10
- "impl": "h2oai_pipeline.H2OTextGenerationPipeline",
11
- "pt": "AutoModelForCausalLM"
12
- }
13
- },
14
- "eos_token_id": 2,
15
- "hidden_act": "silu",
16
- "hidden_dropout_prob": 0.0,
17
- "hidden_size": 4096,
18
  "initializer_range": 0.02,
19
- "intermediate_size": 11008,
20
- "max_position_embeddings": 2048,
21
- "model_type": "llama",
22
- "num_attention_heads": 32,
23
- "num_hidden_layers": 32,
 
24
  "pad_token_id": 0,
25
- "rms_norm_eps": 1e-06,
26
- "tie_word_embeddings": false,
27
  "torch_dtype": "float32",
28
  "transformers_version": "4.30.0.dev0",
 
29
  "use_cache": true,
30
- "vocab_size": 32000
31
  }
 
1
  {
2
+ "_name_or_path": "bert-base-uncased",
3
  "architectures": [
4
+ "BertForSequenceClassification"
5
  ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
 
 
 
 
 
 
12
  "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
  "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
 
21
  "torch_dtype": "float32",
22
  "transformers_version": "4.30.0.dev0",
23
+ "type_vocab_size": 2,
24
  "use_cache": true,
25
+ "vocab_size": 30522
26
  }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac501c1d0fd8b4ec8d5b6e4f498e30801bc3382bd2985fbe12c5dcfed8619d35
3
+ size 438005109