-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation with agent with finetuned model #240
base: main
Are you sure you want to change the base?
Conversation with agent with finetuned model #240
Commits on Apr 19, 2024
-
added features to download models from the hugging face model hub/loa…
…d local hugging face model and finetune loaded model with hugging face dataset Added features to download models from hugging face model hub/load local hugging face model and finetune loaded model with hugging face dataset. Model loading and fine-tuning can happen both at the initialization stage and after the agent has been initialized (see README in `agentscope/examples/load_finetune_huggingface_model` for details). Major changes to the repo include creating the example script `load_finetune_huggingface_model`, adding a new model wrapper `HuggingFaceWrapper`, and creating a new agent type Finetune_DialogAgent. All changes are done in a new example directory `agentscope/examples/load_finetune_huggingface_model`.
Configuration menu - View commit details
-
Copy full SHA for 7b754a9 - Browse repository at this point
Copy the full SHA 7b754a9View commit details
Commits on Apr 23, 2024
-
added customized hyperparameters specification
made customized hyperparameters specification available from `model_configs` for fine-tuning at initialization, or through `fine_tune_config` in `Finetune_DialogAgent`'s `fine_tune` method after initialization
Configuration menu - View commit details
-
Copy full SHA for ea00db0 - Browse repository at this point
Copy the full SHA ea00db0View commit details
Commits on Apr 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3e8c468 - Browse repository at this point
Copy the full SHA 3e8c468View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10a9870 - Browse repository at this point
Copy the full SHA 10a9870View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5237356 - Browse repository at this point
Copy the full SHA 5237356View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6918eb - Browse repository at this point
Copy the full SHA a6918ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4f4f40 - Browse repository at this point
Copy the full SHA b4f4f40View commit details
Commits on Apr 26, 2024
-
fixed issue related to `format` method
Configuration menu - View commit details
-
Copy full SHA for e33b3de - Browse repository at this point
Copy the full SHA e33b3deView commit details
Commits on May 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8023820 - Browse repository at this point
Copy the full SHA 8023820View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a079b9 - Browse repository at this point
Copy the full SHA 0a079b9View commit details
Commits on May 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a4d1f1b - Browse repository at this point
Copy the full SHA a4d1f1bView commit details
Commits on May 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6b5410e - Browse repository at this point
Copy the full SHA 6b5410eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d10051 - Browse repository at this point
Copy the full SHA 6d10051View commit details -
Configuration menu - View commit details
-
Copy full SHA for db27edd - Browse repository at this point
Copy the full SHA db27eddView commit details -
Configuration menu - View commit details
-
Copy full SHA for b371226 - Browse repository at this point
Copy the full SHA b371226View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f3a012 - Browse repository at this point
Copy the full SHA 7f3a012View commit details
Commits on May 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 15bf79a - Browse repository at this point
Copy the full SHA 15bf79aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9998e66 - Browse repository at this point
Copy the full SHA 9998e66View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6b46ed - Browse repository at this point
Copy the full SHA f6b46edView commit details
Commits on May 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6bf09f1 - Browse repository at this point
Copy the full SHA 6bf09f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d7e880 - Browse repository at this point
Copy the full SHA 8d7e880View commit details
Commits on May 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 195ac69 - Browse repository at this point
Copy the full SHA 195ac69View commit details
Commits on May 20, 2024
-
Updated the way to read token from .env file, so that it can work in any example directory.
Configuration menu - View commit details
-
Copy full SHA for 98b471e - Browse repository at this point
Copy the full SHA 98b471eView commit details
Commits on May 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ee062fd - Browse repository at this point
Copy the full SHA ee062fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6203f51 - Browse repository at this point
Copy the full SHA 6203f51View commit details -
Configuration menu - View commit details
-
Copy full SHA for ce0671f - Browse repository at this point
Copy the full SHA ce0671fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 456f1ae - Browse repository at this point
Copy the full SHA 456f1aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbca61f - Browse repository at this point
Copy the full SHA fbca61fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0882fa - Browse repository at this point
Copy the full SHA a0882faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e9dca6 - Browse repository at this point
Copy the full SHA 6e9dca6View commit details
Commits on May 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 46233ff - Browse repository at this point
Copy the full SHA 46233ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d3c249 - Browse repository at this point
Copy the full SHA 2d3c249View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b6cf2c - Browse repository at this point
Copy the full SHA 5b6cf2cView commit details
Commits on May 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 28037bc - Browse repository at this point
Copy the full SHA 28037bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fcc03b - Browse repository at this point
Copy the full SHA 3fcc03bView commit details
Commits on May 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3fb3540 - Browse repository at this point
Copy the full SHA 3fb3540View commit details
Commits on May 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ce1373b - Browse repository at this point
Copy the full SHA ce1373bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b2f2b09 - Browse repository at this point
Copy the full SHA b2f2b09View commit details -
optimized the behavior of
device_map
when loading a huggingface model.optimized the behavior of `device_map` when loading a huggingface model. Now if `device` is not given by the user, `device_map="auto"` by default; otherwise `device_map` is set to the user-specified `device`.
Configuration menu - View commit details
-
Copy full SHA for 1d0704d - Browse repository at this point
Copy the full SHA 1d0704dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8685213 - Browse repository at this point
Copy the full SHA 8685213View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3da24f4 - Browse repository at this point
Copy the full SHA 3da24f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ea8703 - Browse repository at this point
Copy the full SHA 2ea8703View commit details
Commits on Jun 6, 2024
-
now the user can choose to do full-parameter finetuning by not passing `lora_config`
Configuration menu - View commit details
-
Copy full SHA for e0ba282 - Browse repository at this point
Copy the full SHA e0ba282View commit details -
now the user can choose to do full-parameter finetuning by not passing `lora_config` and `bnb_config`
Configuration menu - View commit details
-
Copy full SHA for 7f2f565 - Browse repository at this point
Copy the full SHA 7f2f565View commit details -
Configuration menu - View commit details
-
Copy full SHA for 427f9f5 - Browse repository at this point
Copy the full SHA 427f9f5View commit details -
Merge remote-tracking branch 'origin/conversation_with_agent_with_fin…
…etuned_model' into conversation_with_agent_with_finetuned_model
Configuration menu - View commit details
-
Copy full SHA for e2f1cf6 - Browse repository at this point
Copy the full SHA e2f1cf6View commit details
Commits on Jun 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 432bb21 - Browse repository at this point
Copy the full SHA 432bb21View commit details -
Configuration menu - View commit details
-
Copy full SHA for a27c3a8 - Browse repository at this point
Copy the full SHA a27c3a8View commit details
Commits on Jun 24, 2024
-
updated according to the latest comments
Configuration menu - View commit details
-
Copy full SHA for b532346 - Browse repository at this point
Copy the full SHA b532346View commit details -
updated example
conversation_with_agent_with_finetuned_model
accord……ing to comments
Configuration menu - View commit details
-
Copy full SHA for d0bcc34 - Browse repository at this point
Copy the full SHA d0bcc34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21a9f21 - Browse repository at this point
Copy the full SHA 21a9f21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97e6330 - Browse repository at this point
Copy the full SHA 97e6330View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a3849 - Browse repository at this point
Copy the full SHA b4a3849View commit details
Commits on Jul 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e05e606 - Browse repository at this point
Copy the full SHA e05e606View commit details
Commits on Jul 17, 2024
-
changed to using
chat_template
format for finetuning. Resolve the b……ug for continual finetuning.
Configuration menu - View commit details
-
Copy full SHA for 799cac5 - Browse repository at this point
Copy the full SHA 799cac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a13b219 - Browse repository at this point
Copy the full SHA a13b219View commit details -
when
continue_lora_finetuning
isTrue
, check if model is already…… `PeftModel` before convert it to `PeftModel`
Configuration menu - View commit details
-
Copy full SHA for 06d3ae1 - Browse repository at this point
Copy the full SHA 06d3ae1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50f7ae7 - Browse repository at this point
Copy the full SHA 50f7ae7View commit details
Commits on Aug 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 19ed176 - Browse repository at this point
Copy the full SHA 19ed176View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99cecb6 - Browse repository at this point
Copy the full SHA 99cecb6View commit details