Upload TFDistilBertForSequenceClassification
Browse files- README.md +59 -0
- config.json +77 -0
- tf_model.h5 +3 -0
README.md
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
tags:
|
4 |
+
- generated_from_keras_callback
|
5 |
+
model-index:
|
6 |
+
- name: resume_sorter
|
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 |
+
# resume_sorter
|
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: 1.6000
|
18 |
+
- Train Accuracy: 0.9309
|
19 |
+
- Epoch: 6
|
20 |
+
|
21 |
+
## Model description
|
22 |
+
|
23 |
+
More information needed
|
24 |
+
|
25 |
+
## Intended uses & limitations
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Training and evaluation data
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training procedure
|
34 |
+
|
35 |
+
### Training hyperparameters
|
36 |
+
|
37 |
+
The following hyperparameters were used during training:
|
38 |
+
- optimizer: {'name': 'Adam', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 2e-05, 'decay_steps': 225, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False}
|
39 |
+
- training_precision: float32
|
40 |
+
|
41 |
+
### Training results
|
42 |
+
|
43 |
+
| Train Loss | Train Accuracy | Epoch |
|
44 |
+
|:----------:|:--------------:|:-----:|
|
45 |
+
| 3.0338 | 0.3025 | 0 |
|
46 |
+
| 2.5856 | 0.6257 | 1 |
|
47 |
+
| 2.1253 | 0.8646 | 2 |
|
48 |
+
| 1.7760 | 0.9144 | 3 |
|
49 |
+
| 1.6245 | 0.9309 | 4 |
|
50 |
+
| 1.5916 | 0.9309 | 5 |
|
51 |
+
| 1.6000 | 0.9309 | 6 |
|
52 |
+
|
53 |
+
|
54 |
+
### Framework versions
|
55 |
+
|
56 |
+
- Transformers 4.25.1
|
57 |
+
- TensorFlow 2.9.2
|
58 |
+
- Datasets 2.7.1
|
59 |
+
- Tokenizers 0.13.2
|
config.json
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Data Science",
|
13 |
+
"1": "HR",
|
14 |
+
"2": "Advocate",
|
15 |
+
"3": "Arts",
|
16 |
+
"4": "Web Designing",
|
17 |
+
"5": "Mechanical Engineer",
|
18 |
+
"6": "Sales",
|
19 |
+
"7": "Health and fitness",
|
20 |
+
"8": "Civil Engineer",
|
21 |
+
"9": "Java Developer",
|
22 |
+
"10": "Business Analyst",
|
23 |
+
"11": "SAP Developer",
|
24 |
+
"12": "Automation Testing",
|
25 |
+
"13": "Electrical Engineering",
|
26 |
+
"14": "Operations Manager",
|
27 |
+
"15": "Python Developer",
|
28 |
+
"16": "DevOps Engineer",
|
29 |
+
"17": "Network Security Engineer",
|
30 |
+
"18": "PMO",
|
31 |
+
"19": "Database",
|
32 |
+
"20": "Hadoop",
|
33 |
+
"21": "ETL Developer",
|
34 |
+
"22": "DotNet Developer",
|
35 |
+
"23": "Blockchain",
|
36 |
+
"24": "Testing"
|
37 |
+
},
|
38 |
+
"initializer_range": 0.02,
|
39 |
+
"label2id": {
|
40 |
+
"Advocate": 2,
|
41 |
+
"Arts": 3,
|
42 |
+
"Automation Testing": 12,
|
43 |
+
"Blockchain": 23,
|
44 |
+
"Business Analyst": 10,
|
45 |
+
"Civil Engineer": 8,
|
46 |
+
"Data Science": 0,
|
47 |
+
"Database": 19,
|
48 |
+
"DevOps Engineer": 16,
|
49 |
+
"DotNet Developer": 22,
|
50 |
+
"ETL Developer": 21,
|
51 |
+
"Electrical Engineering": 13,
|
52 |
+
"HR": 1,
|
53 |
+
"Hadoop": 20,
|
54 |
+
"Health and fitness": 7,
|
55 |
+
"Java Developer": 9,
|
56 |
+
"Mechanical Engineer": 5,
|
57 |
+
"Network Security Engineer": 17,
|
58 |
+
"Operations Manager": 14,
|
59 |
+
"PMO": 18,
|
60 |
+
"Python Developer": 15,
|
61 |
+
"SAP Developer": 11,
|
62 |
+
"Sales": 6,
|
63 |
+
"Testing": 24,
|
64 |
+
"Web Designing": 4
|
65 |
+
},
|
66 |
+
"max_position_embeddings": 512,
|
67 |
+
"model_type": "distilbert",
|
68 |
+
"n_heads": 12,
|
69 |
+
"n_layers": 6,
|
70 |
+
"pad_token_id": 0,
|
71 |
+
"qa_dropout": 0.1,
|
72 |
+
"seq_classif_dropout": 0.2,
|
73 |
+
"sinusoidal_pos_embds": false,
|
74 |
+
"tie_weights_": true,
|
75 |
+
"transformers_version": "4.25.1",
|
76 |
+
"vocab_size": 30522
|
77 |
+
}
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c4d0044d7e4a681d9028da1c5577c9779227fc0d1ef676c0abf34fdb588dcf31
|
3 |
+
size 268022552
|