inpreet commited on
Commit
cc4d665
·
1 Parent(s): 70d56a7

Training in progress epoch 0

Browse files
Files changed (7) hide show
  1. README.md +54 -0
  2. config.json +99 -0
  3. special_tokens_map.json +7 -0
  4. tf_model.h5 +3 -0
  5. tokenizer.json +0 -0
  6. tokenizer_config.json +13 -0
  7. vocab.txt +0 -0
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: inpreet/text_categorization
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
+ probably proofread and complete it, then remove this comment. -->
12
+
13
+ # inpreet/text_categorization
14
+
15
+ This model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Train Loss: 2.1159
18
+ - Validation Loss: 1.8381
19
+ - Train Accuracy: 0.4997
20
+ - Epoch: 0
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - optimizer: {'name': 'Adam', 'weight_decay': None, 'clipnorm': None, 'global_clipnorm': None, 'clipvalue': None, 'use_ema': False, 'ema_momentum': 0.99, 'ema_overwrite_frequency': None, 'jit_compile': True, 'is_legacy_optimizer': False, 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 28560, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
40
+ - training_precision: float32
41
+
42
+ ### Training results
43
+
44
+ | Train Loss | Validation Loss | Train Accuracy | Epoch |
45
+ |:----------:|:---------------:|:--------------:|:-----:|
46
+ | 2.1159 | 1.8381 | 0.4997 | 0 |
47
+
48
+
49
+ ### Framework versions
50
+
51
+ - Transformers 4.30.1
52
+ - TensorFlow 2.12.0
53
+ - Datasets 2.12.0
54
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "distilbert-base-uncased",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForSequenceClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.1,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "Agriculture & Allied Sectors",
13
+ "1": "Animation",
14
+ "2": "Arts & Craft",
15
+ "3": "Astrology",
16
+ "4": "Autos & Vehicles",
17
+ "5": "Beauty",
18
+ "6": "Blogs and Travel",
19
+ "7": "Book",
20
+ "8": "Comedy",
21
+ "9": "DIY",
22
+ "10": "Education",
23
+ "11": "Entertainment",
24
+ "12": "Events",
25
+ "13": "Family & Parenting",
26
+ "14": "Fashion & Style",
27
+ "15": "Films",
28
+ "16": "Finance",
29
+ "17": "Food & Drinks",
30
+ "18": "Gaming",
31
+ "19": "Health & Fitness",
32
+ "20": "Infotainment",
33
+ "21": "Kids & Animation",
34
+ "22": "Miscellaneous",
35
+ "23": "Motivational",
36
+ "24": "Movie & Shows",
37
+ "25": "Music",
38
+ "26": "News & Politics",
39
+ "27": "Non profits",
40
+ "28": "People & Culture",
41
+ "29": "Pets & Animals",
42
+ "30": "Photography & Editing",
43
+ "31": "Religious Content",
44
+ "32": "Science & Technology",
45
+ "33": "Sports",
46
+ "34": "Travel & Leisure",
47
+ "35": "Vloging"
48
+ },
49
+ "initializer_range": 0.02,
50
+ "label2id": {
51
+ "Agriculture & Allied Sectors": 0,
52
+ "Animation": 1,
53
+ "Arts & Craft": 2,
54
+ "Astrology": 3,
55
+ "Autos & Vehicles": 4,
56
+ "Beauty": 5,
57
+ "Blogs and Travel": 6,
58
+ "Book": 7,
59
+ "Comedy": 8,
60
+ "DIY": 9,
61
+ "Education": 10,
62
+ "Entertainment": 11,
63
+ "Events": 12,
64
+ "Family & Parenting": 13,
65
+ "Fashion & Style": 14,
66
+ "Films": 15,
67
+ "Finance": 16,
68
+ "Food & Drinks": 17,
69
+ "Gaming": 18,
70
+ "Health & Fitness": 19,
71
+ "Infotainment": 20,
72
+ "Kids & Animation": 21,
73
+ "Miscellaneous": 22,
74
+ "Motivational": 23,
75
+ "Movie & Shows": 24,
76
+ "Music": 25,
77
+ "News & Politics": 26,
78
+ "Non profits": 27,
79
+ "People & Culture": 28,
80
+ "Pets & Animals": 29,
81
+ "Photography & Editing": 30,
82
+ "Religious Content": 31,
83
+ "Science & Technology": 32,
84
+ "Sports": 33,
85
+ "Travel & Leisure": 34,
86
+ "Vloging": 35
87
+ },
88
+ "max_position_embeddings": 512,
89
+ "model_type": "distilbert",
90
+ "n_heads": 12,
91
+ "n_layers": 6,
92
+ "pad_token_id": 0,
93
+ "qa_dropout": 0.1,
94
+ "seq_classif_dropout": 0.2,
95
+ "sinusoidal_pos_embds": false,
96
+ "tie_weights_": true,
97
+ "transformers_version": "4.30.1",
98
+ "vocab_size": 30522
99
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f93e76a07ffc49fd9fd207f392d7a18ef4ab78bbbabefca3e62bd0b7ae6c6d6
3
+ size 268056256
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "DistilBertTokenizer",
12
+ "unk_token": "[UNK]"
13
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff