Comments (8)
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.
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.
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.
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.
sorry,It's wandb, pip install wandb
from db-gpt-hub.
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.
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.
May be you need to get the latest version
from db-gpt-hub.
Related Issues (20)
- 网页刷新后 每个会话的模型选择恢复到默认模型 无法模型选择记忆化 HOT 1
- predict_sft.sh 推理速度好慢
- RuntimeError: expected mat1 and mat2 to have the same dtype, but got: float != c10::Half HOT 2
- codellama70B probably needs how much memory to train the spwider dataset?
- 在windows server上可以安装么? HOT 1
- 麻烦更新一下微信群的二维码,谢谢~
- 请问怎么自定义数据集 HOT 1
- 请问为什么合并模型的时候does not contain a a LORA weight HOT 2
- Can we support the sqlcoder-7b-2 HOT 1
- If the fine-tuned model could be used to DB-GPT? HOT 2
- torch.cuda.OutOfMemoryError HOT 1
- 请问支持在Mac M2机器上进行训练吗 HOT 1
- 请问如何使用中文数据集进行训练?
- Error reported when using Spark Model v3.5 to connect to DB-GPT HOT 1
- A40显卡微调Qwen1.5-7B-Chat报错:RuntimeError: mat1 and mat2 must have the same dtype, but got Float and BFloat16 HOT 2
- lora训练是不支持modules_to_save这个参数吗
- 微调之后的模型很小
- 我在加载数据集时,出现断言错误,请问如何解决?目前使用glm3模型,模型已经导入,目前排查出错在语句dataset = preprocess_dataset(dataset, tokenizer, data_args, training_args, ",sft")后续无法排查。
- 请问目前是仅支持lora和qlora微调吗,全参数微调后续会开放吗? HOT 1
- Question about template selection
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from db-gpt-hub.