Comments (6)
你好,注意到脚本中已给出output_dir参数。但是,命令行调用需要在每行的末尾增加 \ 符号,例如:
output_dir='lora/oneke_continue'
mkdir -p ${output_dir}
echo "Output directory is set to: ${output_dir}"
CUDA_VISIBLE_DEVICES="0,1,2,3" torchrun --nproc_per_node=4 --master_port=1287 src/finetune.py \
--output_dir=${output_dir} \
--do_train --do_eval \
--overwrite_output_dir \
--model_name_or_path '/home/xubo/xcx/NER/OneKE' \
...
from deepke.
你好,注意到脚本中已给出output_dir参数。但是,命令行调用需要在每行的末尾增加 \ 符号,例如:
output_dir='lora/oneke_continue' mkdir -p ${output_dir} echo "Output directory is set to: ${output_dir}" CUDA_VISIBLE_DEVICES="0,1,2,3" torchrun --nproc_per_node=4 --master_port=1287 src/finetune.py \ --output_dir=${output_dir} \ --do_train --do_eval \ --overwrite_output_dir \ --model_name_or_path '/home/xubo/xcx/NER/OneKE' \ ...
from deepke.
from deepke.
没有修改过原本的格式,仍然不行
from deepke.
![image](https://private-user-images.githubusercontent.com/53286894/333846617-07baaf6b-c735-4687-a905-c7fc7b3723b1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg1MzUzMTMsIm5iZiI6MTcxODUzNTAxMywicGF0aCI6Ii81MzI4Njg5NC8zMzM4NDY2MTctMDdiYWFmNmItYzczNS00Njg3LWE5MDUtYzdmYzdiMzcyM2IxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE2VDEwNTAxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBjZWI3MGRhOTU5YjFjNTIxMWY5NWEwNzhiZTA4MDYwMjg5ZDJkMjMwY2U2ZmM2ZTcxZTRkNWYxZjY1M2ViZTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6nYEnBn925xuUAMPJDUutr7_cc5itZ63LutjatNBKwo)
from deepke.
请问您的问题解决了吗
from deepke.
Related Issues (20)
- 显存不够 HOT 11
- LoRA微调大模型时,恢复训练 如何设置? HOT 2
- 便捷性反馈 HOT 3
- OneKE指令格式修改 HOT 5
- README_CNSCHEMA.md 关系里26 28 是一样的 HOT 1
- 总是提示显存不够用cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 2.00 MiB (GPU 2; 23.64 GiB total capacity; 23.08 GiB already allocated; 704.00 KiB free HOT 9
- RuntimeError: CUDA error: out of memory HOT 2
- 安装后测试案例报错 HOT 8
- DeepKE-cnSchema开箱即用版给出的离谱关系抽取结果 HOT 7
- 多个微调模型在信息抽取的性能比较 HOT 3
- 关于DeepKE-LLM训练时的数据转换 HOT 4
- 微调oneke HOT 9
- 关于利用LoRa微调后调用结果模型 HOT 2
- 全量微调权重保存 HOT 2
- 关于数据标注的问题 HOT 3
- DeepKE中RE模型问题咨询 HOT 14
- 关于re 文档级别抽取预测结果的问题 HOT 4
- DeepKE-cnSchema使用遇到问题 HOT 2
- 关于ie2instruction的数据转换Bug问题
- Deep-KE中cnschema问题咨询 HOT 1
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 deepke.