-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(config): add new configuration files for absa, pipeline, task, a…
…nd workflow fix(corprep): modify verbose setting and absa_task in default.yaml of absa in corprep refactor(corprep): remove hyfi_user_config_path and hydra settings in config.yaml and hconf.yaml of corprep feat(corprep): add new pipeline configurations for absa and datasets in corprep fix(corprep): adjust pipeline setting in task/absa.yaml and task/datasets.yaml in corprep refactor(corprep): un-comment ds_task in workflow/corprep.yaml of corprep chore(files): remove obsolete dataset-test.yaml, absa.yaml, and datasets.yaml files in corprep chore(files): relocate gpt35.yaml, absa-kakao-gpt35.yaml, absa-kakao.yaml, datasets-daum.yaml, and datasets-kakao.yaml files from corprep to config directory
- Loading branch information
1 parent
174791c
commit 0883120
Showing
22 changed files
with
120 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
defaults: | ||
- default | ||
|
||
api_key: | ||
model_name: gpt-3.5-turbo | ||
rate_limit_per_minute: 3500 | ||
absa_task: QUAD | ||
prompt_name: base | ||
temperature: 0.0 | ||
verbose: true |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
defaults: | ||
- datasets | ||
- /pipe@pipe_sample: dataset_sample | ||
|
||
use_task_as_initial_object: true | ||
steps: | ||
- uses: pipe_load | ||
with: | ||
dataset_path: datasets/processed/kakao | ||
verbose: true | ||
- uses: pipe_sample | ||
with: | ||
num_samples: 100 | ||
randomize: false | ||
verbose: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
defaults: | ||
- __init__ | ||
- /pipeline@absa_pipeline: absa-kakao | ||
- /pipeline@absa_pipeline_gpt35: absa-kakao-gpt35 | ||
|
||
_config_name_: absa | ||
task_name: absa | ||
verbose: true | ||
pipelines: | ||
# - absa_pipeline | ||
- absa_pipeline_gpt35 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
defaults: | ||
- __init__ | ||
- /pipeline@test_pipeline: datasets-test | ||
|
||
_config_name_: datasets-test | ||
task_name: datasets | ||
verbose: true | ||
pipelines: | ||
# - ds_pipeline | ||
- test_pipeline |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# @package _global_ | ||
defaults: | ||
- corprep | ||
- override /task@absa_task: absa-test | ||
|
||
tasks: | ||
# - ds_task | ||
- absa_task |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# @package _global_ | ||
defaults: | ||
- corprep | ||
- override /task@ds_task: datasets-test | ||
|
||
tasks: | ||
- ds_task | ||
# - absa_task |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
defaults: | ||
- __init__ | ||
- /pipe@pipe_load: dataset_load | ||
- /pipe@pipe_predict: absa_agent_predict | ||
- /pipe@pipe_sample: dataset_sample | ||
- /pipe@pipe_save: dataset_save | ||
|
||
use_task_as_initial_object: true | ||
steps: | ||
- uses: pipe_load | ||
with: | ||
dataset_path: datasets/processed/kakao | ||
verbose: true | ||
- uses: pipe_sample | ||
with: | ||
num_samples: 100 | ||
randomize: false | ||
verbose: true | ||
verbose: true | ||
- uses: pipe_predict | ||
with: | ||
tasks: [QUAD] | ||
absa_config_name: default | ||
text_col: bodyText | ||
batch_size: 5 | ||
num_workers: 5 | ||
remove_columns: [lastModifiedDt, bodyText, writers, serviceUrl] | ||
load_from_cache_file: false | ||
verbose: true | ||
- uses: pipe_save | ||
with: | ||
dataset_path: outputs/preds/kakao_quad_100 | ||
verbose: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
defaults: | ||
- __init__ | ||
- /pipe@pipe_load_raw: dataset_load_raw | ||
- /pipe@pipe_load: dataset_load | ||
- /pipe@pipe_save: dataset_save | ||
|
||
use_task_as_initial_object: true | ||
steps: | ||
- uses: pipe_load_raw | ||
with: | ||
raw_dataset_dir: workspace/datasets/raw/kakao_news | ||
path: parquet | ||
file_pattern: "*.parquet" | ||
verbose: true | ||
verbose: true | ||
- uses: pipe_save | ||
with: | ||
dataset_path: datasets/processed/kakao | ||
verbose: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
defaults: | ||
- __init__ | ||
- /pipeline@absa_pipeline: absa-kakao | ||
- /pipeline@absa_pipeline_gpt35: absa-kakao-gpt35 | ||
- /pipeline@absa_pipeline: absa | ||
|
||
_config_name_: absa | ||
task_name: absa | ||
verbose: true | ||
pipelines: | ||
# - absa_pipeline | ||
- absa_pipeline_gpt35 | ||
- absa_pipeline |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,5 @@ defaults: | |
name: corprep | ||
verbose: true | ||
tasks: | ||
# - ds_task | ||
- ds_task | ||
- absa_task |
This file was deleted.
Oops, something went wrong.