Skip to content
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

[WIP] small_llms example #265

Draft
wants to merge 32 commits into
base: main
Choose a base branch
from
Draft

Commits on Apr 19, 2024

  1. 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`.
    zyzhang1130 committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    7b754a9 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. 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
    zyzhang1130 committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    ea00db0 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Configuration menu
    Copy the full SHA
    3e8c468 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10a9870 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5237356 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a6918eb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b4f4f40 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Update huggingface_model.py

    fixed issue related to `format` method
    zyzhang1130 committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    e33b3de View commit details
    Browse the repository at this point in the history

Commits on May 2, 2024

  1. Configuration menu
    Copy the full SHA
    8023820 View commit details
    Browse the repository at this point in the history
  2. added updated README

    zyzhang1130 committed May 2, 2024
    Configuration menu
    Copy the full SHA
    0a079b9 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2024

  1. Configuration menu
    Copy the full SHA
    a4d1f1b View commit details
    Browse the repository at this point in the history

Commits on May 6, 2024

  1. Configuration menu
    Copy the full SHA
    6b5410e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d10051 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db27edd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b371226 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7f3a012 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. resolve issues mentioned

    zyzhang1130 committed May 8, 2024
    Configuration menu
    Copy the full SHA
    15bf79a View commit details
    Browse the repository at this point in the history
  2. resolve issues raised

    zyzhang1130 committed May 8, 2024
    Configuration menu
    Copy the full SHA
    9998e66 View commit details
    Browse the repository at this point in the history
  3. resolve issues raised

    zyzhang1130 committed May 8, 2024
    Configuration menu
    Copy the full SHA
    f6b46ed View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. Update README.md

    updated the dependencies needed
    zyzhang1130 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    6bf09f1 View commit details
    Browse the repository at this point in the history
  2. Update README.md

    zyzhang1130 committed May 10, 2024
    Configuration menu
    Copy the full SHA
    8d7e880 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    195ac69 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. Update huggingface_model.py

    Updated the way to read token from .env file, so that it can work in any example directory.
    zyzhang1130 committed May 20, 2024
    Configuration menu
    Copy the full SHA
    98b471e View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. delete conversation_with_agent_with_finetuned_model from main to keep…

    … it consistent with the official repo
    zyzhang1130 committed May 21, 2024
    Configuration menu
    Copy the full SHA
    a3d8bdf View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    2c597e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2fef9bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c4e1448 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Configuration menu
    Copy the full SHA
    bcc8cf7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    688413f View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Configuration menu
    Copy the full SHA
    bf613ea View commit details
    Browse the repository at this point in the history
  2. Update README.md

    zyzhang1130 committed May 28, 2024
    Configuration menu
    Copy the full SHA
    83ccb65 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Configuration menu
    Copy the full SHA
    0aec777 View commit details
    Browse the repository at this point in the history