-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Ready] Basic Service Implementation (#468)
* inital implementation * support params checking and dataset converting * support filtered and tags * allow partial execution of op.run * Service/match api (#428) * temp * Regress model preloading (#426) * fix param definition (#424) * fix param def * add param check * use pydantic types (#422) * use pydantic types * change config unittest * fix GenerateInstructionMapper * update * Fix (#427) Fix some words * Add new OP: image_tagging_mapper (#423) * * init image tagging mapper * + Add unittest for image_tagging_mapper * support specified tag field names for all tagging OPs * * fix problems of unittest * + add docs * * update docs * * skip two unittests which require ram * * minor fix for gece's comments * * merge main into this branch * + add type hint * match api call * match api call * pre-commit * decouple API args & add type hints --------- Co-authored-by: Ce Ge (戈策) <[email protected]> Co-authored-by: Cathy0908 <[email protected]> Co-authored-by: co63oc <[email protected]> Co-authored-by: Yilun Huang <[email protected]> Co-authored-by: null <[email protected]> * Service/match api (#431) * temp * match api call * match api call * pre-commit * decouple API args & add type hints * agentscope demo * update demos * update pre-commt * add yaml * update notebooks * add py * refine --------- Co-authored-by: null <[email protected]> Co-authored-by: gece.gc <[email protected]> * update reqs --------- Co-authored-by: BeachWang <[email protected]> Co-authored-by: Cathy0908 <[email protected]> Co-authored-by: co63oc <[email protected]> Co-authored-by: Yilun Huang <[email protected]>
- Loading branch information
1 parent
d2e92f9
commit 528b8a9
Showing
18 changed files
with
1,778 additions
and
44 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
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
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,13 @@ | ||
# data-juicer config template | ||
|
||
# global parameters | ||
project_name: 'dj_agent' | ||
dataset_path: '' # path to your dataset directory or file, specified in the agent | ||
np: 4 # number of subprocess to process your dataset | ||
|
||
export_path: '' # path to the output path, specified in the agent | ||
export_original_dataset: true | ||
|
||
# process schedule | ||
# a list of several process operators with their arguments, specified in the agent | ||
process: [] |
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,21 @@ | ||
[ | ||
{ | ||
"config_name": "gpt-4", | ||
"model_type": "openai-chat", | ||
"model_name": "gpt-4", | ||
"api_key": "your API key", | ||
"organization": "your organization name", | ||
"generate_args": { | ||
"temperature": 0.5 | ||
} | ||
}, | ||
{ | ||
"config_name": "dashscope_chat-qwen-max", | ||
"model_type": "dashscope_chat", | ||
"model_name": "qwen-max", | ||
"api_key": "your API key", | ||
"generate_args": { | ||
"temperature": 0.0 | ||
} | ||
} | ||
] |
Oops, something went wrong.