Retrain from scratch on dataset 4 (notebook pipeline)
Browse files- README.md +33 -0
- model.safetensors +1 -1
- special_tokens_map.json +42 -6
README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language: en
|
| 4 |
+
pipeline_tag: token-classification
|
| 5 |
+
tags:
|
| 6 |
+
- ner
|
| 7 |
+
- resume-parsing
|
| 8 |
+
- cv-parser
|
| 9 |
+
base_model: roberta-base
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# CV Parser NER — roberta-base (v2)
|
| 13 |
+
|
| 14 |
+
Token-classification model that extracts **Job Titles**, **Skills**, and
|
| 15 |
+
**Education** from resumes/CVs using a BIO tag scheme.
|
| 16 |
+
|
| 17 |
+
## Provenance
|
| 18 |
+
- **Trained from scratch on dataset 4** (`resume_bio_annotated_full.csv`,
|
| 19 |
+
2,483 resumes — 1,739 train / 372 val / 372 test), the team's finalized
|
| 20 |
+
AI-Studio/Vertex-relabelled dataset.
|
| 21 |
+
- Reproduced end-to-end with the project notebooks/scripts
|
| 22 |
+
(`retokenize.py` + `train_bert_run.py`).
|
| 23 |
+
- Base model: `roberta-base` · epochs: 5 · learning rate: 3e-5 ·
|
| 24 |
+
max_length 512 · stride 128 · seed 42.
|
| 25 |
+
|
| 26 |
+
## Resume-level performance (dataset-4 splits)
|
| 27 |
+
| split | precision | recall | F1 |
|
| 28 |
+
|-------|-----------|--------|----|
|
| 29 |
+
| validation | — | — | 0.6397 |
|
| 30 |
+
| test | — | — | 0.6563 |
|
| 31 |
+
|
| 32 |
+
## Labels
|
| 33 |
+
`O, B-JOB_TITLE, I-JOB_TITLE, B-SKILL, I-SKILL, B-EDUCATION, I-EDUCATION`
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 496265620
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15966e2ea940bd56fbaa92d2935d2c102cafd4706e75afc990bfcad8163d2ae1
|
| 3 |
size 496265620
|
special_tokens_map.json
CHANGED
|
@@ -1,7 +1,25 @@
|
|
| 1 |
{
|
| 2 |
-
"bos_token":
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"mask_token": {
|
| 6 |
"content": "<mask>",
|
| 7 |
"lstrip": true,
|
|
@@ -9,7 +27,25 @@
|
|
| 9 |
"rstrip": false,
|
| 10 |
"single_word": false
|
| 11 |
},
|
| 12 |
-
"pad_token":
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": true,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"cls_token": {
|
| 10 |
+
"content": "<s>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": true,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"eos_token": {
|
| 17 |
+
"content": "</s>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": true,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
"mask_token": {
|
| 24 |
"content": "<mask>",
|
| 25 |
"lstrip": true,
|
|
|
|
| 27 |
"rstrip": false,
|
| 28 |
"single_word": false
|
| 29 |
},
|
| 30 |
+
"pad_token": {
|
| 31 |
+
"content": "<pad>",
|
| 32 |
+
"lstrip": false,
|
| 33 |
+
"normalized": true,
|
| 34 |
+
"rstrip": false,
|
| 35 |
+
"single_word": false
|
| 36 |
+
},
|
| 37 |
+
"sep_token": {
|
| 38 |
+
"content": "</s>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": true,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false
|
| 43 |
+
},
|
| 44 |
+
"unk_token": {
|
| 45 |
+
"content": "<unk>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": true,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false
|
| 50 |
+
}
|
| 51 |
}
|