GithubHelp home page GithubHelp logo

fine tuning about db-gpt-hub HOT 8 CLOSED

eosphoros-ai avatar eosphoros-ai commented on May 19, 2024
fine tuning

from db-gpt-hub.

Comments (8)

wangzaistone avatar wangzaistone commented on May 19, 2024

The first error is because you don't have install pkg wandb , try pip install -r ./requirements.txt . In the requirements.txt ,it has listed wanded include
The scconde error is because path error ,in the lated code version ,in dbgpt_hub/train/sft_train.py ,we have add the code "
import os
import sys
ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(file))))
sys.path.append(ROOT_PATH)
"

from db-gpt-hub.

sangdhua avatar sangdhua commented on May 19, 2024

I added the code below to dbgpt_hub/train/sft_train.py and I still get the error message.
import os
import sys
ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(file))))
sys.path.append(ROOT_PATH)

from db-gpt-hub.

wangzaistone avatar wangzaistone commented on May 19, 2024

I added the code below to dbgpt_hub/train/sft_train.py and I still get the error message. import os import sys ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(file)))) sys.path.append(ROOT_PATH)

wandp package has installed ?(wandp ->wandb)

from db-gpt-hub.

sangdhua avatar sangdhua commented on May 19, 2024

What version should I install?
pip install wandp

ERROR: Could not find a version that satisfies the requirement wandp (from versions: none)

ERROR: No matching distribution found for wandp

from db-gpt-hub.

wangzaistone avatar wangzaistone commented on May 19, 2024

sorry,It's wandb, pip install wandb

from db-gpt-hub.

sangdhua avatar sangdhua commented on May 19, 2024

I still have the same message. Do you have the dbgpt_hub module that I can put in the right folder? That might fix the problem.
File "/opt/app/mpidatasci/Sang.Hua/DB-GPT-Hub/dbgpt_hub/train/sft_train.py", line 6, in

from dbgpt_hub.llm_base.loggings import LogCallback,get_logger

ModuleNotFoundError: No module named 'dbgpt_hub'

from db-gpt-hub.

wangzaistone avatar wangzaistone commented on May 19, 2024

I still have the same message. Do you have the dbgpt_hub module that I can put in the right folder? That might fix the problem. File "/opt/app/mpidatasci/Sang.Hua/DB-GPT-Hub/dbgpt_hub/train/sft_train.py", line 6, in

from dbgpt_hub.llm_base.loggings import LogCallback,get_logger

ModuleNotFoundError: No module named 'dbgpt_hub'

what's your command when it reported this error ?
as our instruciton in README , in DB-GPT-Hub dir , run sh dbgpt_hub/scripts/train_sft.sh , I haved tested again ,that's passed

from db-gpt-hub.

wangzaistone avatar wangzaistone commented on May 19, 2024

May be you need to get the latest version

from db-gpt-hub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.