Laksh-Mendpara commited on
Commit
2343c11
·
verified ·
1 Parent(s): f7f8fc5

Fine-tuned DistilBERT for book genre classification

Browse files
Files changed (2) hide show
  1. config.json +49 -0
  2. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "RobertaForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 2,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "children",
16
+ "1": "comics_graphic",
17
+ "2": "fantasy_paranormal",
18
+ "3": "history_biography",
19
+ "4": "mystery_thriller_crime",
20
+ "5": "poetry",
21
+ "6": "romance",
22
+ "7": "young_adult"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "is_decoder": false,
27
+ "label2id": {
28
+ "children": 0,
29
+ "comics_graphic": 1,
30
+ "fantasy_paranormal": 2,
31
+ "history_biography": 3,
32
+ "mystery_thriller_crime": 4,
33
+ "poetry": 5,
34
+ "romance": 6,
35
+ "young_adult": 7
36
+ },
37
+ "layer_norm_eps": 1e-05,
38
+ "max_position_embeddings": 514,
39
+ "model_type": "roberta",
40
+ "num_attention_heads": 12,
41
+ "num_hidden_layers": 12,
42
+ "pad_token_id": 1,
43
+ "problem_type": "single_label_classification",
44
+ "tie_word_embeddings": true,
45
+ "transformers_version": "5.2.0",
46
+ "type_vocab_size": 1,
47
+ "use_cache": false,
48
+ "vocab_size": 50265
49
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b48ba4f709f96596323ab7da8e94864f02929752da7e6258af7d2492923d7fcd
3
+ size 498631256