【知识图谱构建系列2】LLM4KGC项目安装运行
文章目录
- 安装依赖
- git clone
- 后续
- fine_tune.sh
参考论文:
hal.science/hal-04862214/
项目地址:
https://github.com/ChristopheCruz/LLM4KGC/
安装依赖
这部分官方给了一些指引,咱看看是不是会遇到一些bug哈。
咱先看看这个pytorch是否可以用GPU。(👆我这边是可以的)
pip install -q -U bitsandbytespip install -q -U git+https://github.com/huggingface/transformers.gitpip install -q -U git+https://github.com/huggingface/peft.git