Upload TFDistilBertForSequenceClassification
Browse files- README.md +46 -3
- config.json +58 -15
- tf_model.h5 +3 -0
README.md
CHANGED
@@ -1,3 +1,46 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_keras_callback
|
4 |
+
model-index:
|
5 |
+
- name: industry-classification
|
6 |
+
results: []
|
7 |
+
---
|
8 |
+
|
9 |
+
<!-- This model card has been generated automatically according to the information Keras had access to. You should
|
10 |
+
probably proofread and complete it, then remove this comment. -->
|
11 |
+
|
12 |
+
# industry-classification
|
13 |
+
|
14 |
+
This model was trained from scratch on an unknown dataset.
|
15 |
+
It achieves the following results on the evaluation set:
|
16 |
+
|
17 |
+
|
18 |
+
## Model description
|
19 |
+
|
20 |
+
More information needed
|
21 |
+
|
22 |
+
## Intended uses & limitations
|
23 |
+
|
24 |
+
More information needed
|
25 |
+
|
26 |
+
## Training and evaluation data
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Training procedure
|
31 |
+
|
32 |
+
### Training hyperparameters
|
33 |
+
|
34 |
+
The following hyperparameters were used during training:
|
35 |
+
- optimizer: None
|
36 |
+
- training_precision: float32
|
37 |
+
|
38 |
+
### Training results
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
### Framework versions
|
43 |
+
|
44 |
+
- Transformers 4.31.0
|
45 |
+
- TensorFlow 2.13.0
|
46 |
+
- Tokenizers 0.13.3
|
config.json
CHANGED
@@ -1,24 +1,67 @@
|
|
1 |
{
|
|
|
|
|
2 |
"architectures": [
|
3 |
-
"
|
4 |
],
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"initializer_range": 0.02,
|
11 |
-
"
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
"max_position_embeddings": 512,
|
14 |
-
"model_type": "
|
15 |
-
"
|
16 |
-
"
|
17 |
"pad_token_id": 0,
|
18 |
-
"
|
19 |
-
"
|
|
|
|
|
20 |
"transformers_version": "4.31.0",
|
21 |
-
"type_vocab_size": 2,
|
22 |
-
"use_cache": true,
|
23 |
"vocab_size": 30522
|
24 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "models/model_industry",
|
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": "Accomodation Services",
|
13 |
+
"1": "Administrative and Support Services",
|
14 |
+
"2": "Construction",
|
15 |
+
"3": "Consumer Services",
|
16 |
+
"4": "Education",
|
17 |
+
"5": "Entertainment Providers",
|
18 |
+
"6": "Farming, Ranching, Forestry",
|
19 |
+
"7": "Financial Services",
|
20 |
+
"8": "Government Administration",
|
21 |
+
"9": "Holding Companies",
|
22 |
+
"10": "Hospitals and Health Care",
|
23 |
+
"11": "Manufacturing",
|
24 |
+
"12": "Oil, Gas, and Mining",
|
25 |
+
"13": "Professional Services",
|
26 |
+
"14": "Real Estate and Equipment Rental Services",
|
27 |
+
"15": "Retail",
|
28 |
+
"16": "Technology, Information and Media",
|
29 |
+
"17": "Transportation, Logistics and Storage",
|
30 |
+
"18": "Utilities",
|
31 |
+
"19": "Wholesale"
|
32 |
+
},
|
33 |
"initializer_range": 0.02,
|
34 |
+
"label2id": {
|
35 |
+
"Accomodation Services": 0,
|
36 |
+
"Administrative and Support Services": 1,
|
37 |
+
"Construction": 2,
|
38 |
+
"Consumer Services": 3,
|
39 |
+
"Education": 4,
|
40 |
+
"Entertainment Providers": 5,
|
41 |
+
"Farming, Ranching, Forestry": 6,
|
42 |
+
"Financial Services": 7,
|
43 |
+
"Government Administration": 8,
|
44 |
+
"Holding Companies": 9,
|
45 |
+
"Hospitals and Health Care": 10,
|
46 |
+
"Manufacturing": 11,
|
47 |
+
"Oil, Gas, and Mining": 12,
|
48 |
+
"Professional Services": 13,
|
49 |
+
"Real Estate and Equipment Rental Services": 14,
|
50 |
+
"Retail": 15,
|
51 |
+
"Technology, Information and Media": 16,
|
52 |
+
"Transportation, Logistics and Storage": 17,
|
53 |
+
"Utilities": 18,
|
54 |
+
"Wholesale": 19
|
55 |
+
},
|
56 |
"max_position_embeddings": 512,
|
57 |
+
"model_type": "distilbert",
|
58 |
+
"n_heads": 12,
|
59 |
+
"n_layers": 6,
|
60 |
"pad_token_id": 0,
|
61 |
+
"qa_dropout": 0.1,
|
62 |
+
"seq_classif_dropout": 0.2,
|
63 |
+
"sinusoidal_pos_embds": false,
|
64 |
+
"tie_weights_": true,
|
65 |
"transformers_version": "4.31.0",
|
|
|
|
|
66 |
"vocab_size": 30522
|
67 |
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:de2d0bee594dd31c6792b4cdf230c173845e8119381ab6952af3015a2d723f05
|
3 |
+
size 268010440
|