Skip to content

Commit

Permalink
Update configs to latest model
Browse files Browse the repository at this point in the history
  • Loading branch information
lizgzil committed Sep 29, 2023
1 parent f24eb5c commit 7d6d622
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ojd_daps_skills/analysis/data_overview.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"escoe_extension/outputs/labelled_job_adverts/combined_labels_20220824.json"
)
train_details_file = (
"escoe_extension/outputs/models/ner_model/20220825/train_details.json"
"escoe_extension/outputs/models/ner_model/20230808/train_details.json"
)
sample_matches_file_name = "escoe_extension/outputs/data/extract_skills/20220901_ojo_sample_skills_extracted.json"
manually_matches_tagged_file = (
Expand Down
2 changes: 1 addition & 1 deletion ojd_daps_skills/config/extract_skills_esco.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ner_model_path: "outputs/models/ner_model/20220825/"
ner_model_path: "outputs/models/ner_model/20230808/"
taxonomy_name: "esco"
taxonomy_path: "outputs/data/skill_ner_mapping/esco_data_formatted.csv"
clean_job_ads: True
Expand Down
2 changes: 1 addition & 1 deletion ojd_daps_skills/config/extract_skills_lightcast.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ner_model_path: "outputs/models/ner_model/20220825/"
ner_model_path: "outputs/models/ner_model/20230808/"
taxonomy_name: "lightcast"
taxonomy_path: "outputs/data/skill_ner_mapping/lightcast_data_formatted.csv"
clean_job_ads: True
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ner_model_path: "outputs/models/ner_model/20220825/"
ner_model_path: "outputs/models/ner_model/20230808/"
taxonomy_name: "lightcast"
taxonomy_path: "escoe_extension/outputs/data/skill_ner_mapping/lightcast_data_formatted.csv"
clean_job_ads: True
Expand Down
2 changes: 1 addition & 1 deletion ojd_daps_skills/config/extract_skills_template.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#This is a template config file - we have added definitions to parameters that you will need to modify for your own taxonomy

#the relative path to the trained NER model
ner_model_path: "outputs/models/ner_model/20220825/"
ner_model_path: "outputs/models/ner_model/20230808/"
#the relative path to where
taxonomy_path: "path/to/formatted_taxonomy.csv"
#the name of your own taxonomy
Expand Down
2 changes: 1 addition & 1 deletion ojd_daps_skills/config/extract_skills_toy.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ner_model_path: "outputs/models/ner_model/20220825/"
ner_model_path: "outputs/models/ner_model/20230808/"
taxonomy_name: "toy"
taxonomy_path: ""
clean_job_ads: True
Expand Down
4 changes: 2 additions & 2 deletions ojd_daps_skills/pipeline/skill_ner/get_skills.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Running
python ojd_daps_skills/pipeline/skill_ner/get_skills.py
--model_path outputs/models/ner_model/20220825/
--model_path outputs/models/ner_model/20230808/
--output_file_dir escoe_extension/outputs/data/skill_ner/skill_predictions/
--job_adverts_filename escoe_extension/inputs/data/skill_ner/data_sample/20220622_sampled_job_ads.json
Expand Down Expand Up @@ -40,7 +40,7 @@ def parse_arguments(parser):
parser.add_argument(
"--model_path",
help="The path to the model you want to make predictions with",
default="outputs/models/ner_model/20220825/",
default="outputs/models/ner_model/20230808/",
)

parser.add_argument(
Expand Down

0 comments on commit 7d6d622

Please sign in to comment.