HKUDS / GraphGPT

[SIGIR'2024] "GraphGPT: Graph Instruction Tuning for Large Language Models"
https://arxiv.org/abs/2310.13023
Apache License 2.0
576 stars 53 forks source link

No module named 'fastchat' #11

Closed wangjade54241 closed 11 months ago

wangjade54241 commented 11 months ago

I encountered an error No module named 'fastchat' while running the train_mem.py some details: (from fastchat.conversation) in model_adapter.py

Is the fastchat the folder name of a project ?

guspan-tanadi commented 11 months ago

As of Environment Preparation section. Did the fastchat has been installed? The part of command related as follow. pip3 install "fschat[model_worker,webui]"

tjb-tech commented 11 months ago

I encountered an error No module named 'fastchat' while running the train_mem.py some details: (from fastchat.conversation) in model_adapter.py

Is the fastchat the folder name of a project ?

You can also install fastchat from source using the following script:

git clone https://github.com/lm-sys/FastChat.git
cd FastChat
pip3 install --upgrade pip  # enable PEP 660 support
pip3 install -e ".[model_worker,webui]"

Hope that my answer is helpful for you