JJTsao commited on
Commit
11d0325
·
verified ·
1 Parent(s): c0ea357

Upload folder using huggingface_hub

Browse files
Files changed (4) hide show
  1. config.json +20 -17
  2. model.safetensors +2 -2
  3. tokenizer.json +4 -2
  4. tokenizer_config.json +9 -4
config.json CHANGED
@@ -1,31 +1,34 @@
1
  {
 
2
  "architectures": [
3
- "BertModel"
4
  ],
5
- "attention_probs_dropout_prob": 0.1,
6
- "classifier_dropout": null,
7
- "gradient_checkpointing": false,
8
- "hidden_act": "gelu",
9
- "hidden_dropout_prob": 0.1,
10
- "hidden_size": 768,
11
  "id2label": {
12
- "0": "LABEL_0"
 
 
13
  },
14
  "initializer_range": 0.02,
15
- "intermediate_size": 3072,
16
  "label2id": {
17
- "LABEL_0": 0
 
 
18
  },
19
- "layer_norm_eps": 1e-12,
20
  "max_position_embeddings": 512,
21
- "model_type": "bert",
22
- "num_attention_heads": 12,
23
- "num_hidden_layers": 12,
24
  "pad_token_id": 0,
25
- "position_embedding_type": "absolute",
 
 
 
 
26
  "torch_dtype": "float32",
27
  "transformers_version": "4.51.3",
28
- "type_vocab_size": 2,
29
- "use_cache": true,
30
  "vocab_size": 30522
31
  }
 
1
  {
2
+ "activation": "gelu",
3
  "architectures": [
4
+ "DistilBertForSequenceClassification"
5
  ],
6
+ "attention_dropout": 0.1,
7
+ "dim": 768,
8
+ "dropout": 0.1,
9
+ "hidden_dim": 3072,
 
 
10
  "id2label": {
11
+ "0": "generic",
12
+ "1": "recommendation",
13
+ "2": "factual"
14
  },
15
  "initializer_range": 0.02,
 
16
  "label2id": {
17
+ "factual": 2,
18
+ "generic": 0,
19
+ "recommendation": 1
20
  },
 
21
  "max_position_embeddings": 512,
22
+ "model_type": "distilbert",
23
+ "n_heads": 12,
24
+ "n_layers": 6,
25
  "pad_token_id": 0,
26
+ "problem_type": "single_label_classification",
27
+ "qa_dropout": 0.1,
28
+ "seq_classif_dropout": 0.2,
29
+ "sinusoidal_pos_embds": false,
30
+ "tie_weights_": true,
31
  "torch_dtype": "float32",
32
  "transformers_version": "4.51.3",
 
 
33
  "vocab_size": 30522
34
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cf31f501d4199b81c99d16a5677e682638602d84471b402f378a74441b4afc3c
3
- size 437951328
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a71555354da0aa2b77ce6a6f1e38596f6b24c3ee15c5edda4ced6014174df75e
3
+ size 267835644
tokenizer.json CHANGED
@@ -2,12 +2,14 @@
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
- "max_length": 512,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
  "padding": {
10
- "strategy": "BatchLongest",
 
 
11
  "direction": "Right",
12
  "pad_to_multiple_of": null,
13
  "pad_id": 0,
 
2
  "version": "1.0",
3
  "truncation": {
4
  "direction": "Right",
5
+ "max_length": 128,
6
  "strategy": "LongestFirst",
7
  "stride": 0
8
  },
9
  "padding": {
10
+ "strategy": {
11
+ "Fixed": 128
12
+ },
13
  "direction": "Right",
14
  "pad_to_multiple_of": null,
15
  "pad_id": 0,
tokenizer_config.json CHANGED
@@ -41,18 +41,23 @@
41
  "special": true
42
  }
43
  },
44
- "clean_up_tokenization_spaces": true,
45
  "cls_token": "[CLS]",
46
- "do_basic_tokenize": true,
47
  "do_lower_case": true,
48
  "extra_special_tokens": {},
49
  "mask_token": "[MASK]",
 
50
  "model_max_length": 512,
51
- "never_split": null,
52
  "pad_token": "[PAD]",
 
 
53
  "sep_token": "[SEP]",
 
54
  "strip_accents": null,
55
  "tokenize_chinese_chars": true,
56
- "tokenizer_class": "BertTokenizer",
 
 
57
  "unk_token": "[UNK]"
58
  }
 
41
  "special": true
42
  }
43
  },
44
+ "clean_up_tokenization_spaces": false,
45
  "cls_token": "[CLS]",
 
46
  "do_lower_case": true,
47
  "extra_special_tokens": {},
48
  "mask_token": "[MASK]",
49
+ "max_length": 128,
50
  "model_max_length": 512,
51
+ "pad_to_multiple_of": null,
52
  "pad_token": "[PAD]",
53
+ "pad_token_type_id": 0,
54
+ "padding_side": "right",
55
  "sep_token": "[SEP]",
56
+ "stride": 0,
57
  "strip_accents": null,
58
  "tokenize_chinese_chars": true,
59
+ "tokenizer_class": "DistilBertTokenizer",
60
+ "truncation_side": "right",
61
+ "truncation_strategy": "longest_first",
62
  "unk_token": "[UNK]"
63
  }