-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
在微调 paddlevl 时 ,参考官方文档 https://github.com/PaddlePaddle/ERNIE/blob/develop/docs/paddleocr_vl_sft_zh.md 进行微调,
“使用以下命令行即可启动训练:
CUDA_VISIBLE_DEVICES=0
erniekit train examples/configs/PaddleOCR-VL/sft/run_ocr_vl_sft_16k.yaml
model_name_or_path=PaddlePaddle/PaddleOCR-VL
train_dataset_path=./ocr_vl_sft-train_Bengali.jsonl \”
执行之后报错 :
“Traceback (most recent call last):
File "/opt/conda/envs/python35-paddle120-env/bin/erniekit", line 7, in
sys.exit(main())
File "/home/aistudio/ERNIE/erniekit/cli.py", line 72, in main
from . import launcher
File "/home/aistudio/ERNIE/erniekit/launcher.py", line 17, in
from erniekit.eval.eval import run_eval
File "/home/aistudio/ERNIE/erniekit/eval/eval.py", line 39, in
from paddleformers.datasets.template.template import get_template_and_fix_tokenizer
ModuleNotFoundError: No module named 'paddleformers.datasets.template'”
看了一下paddleformers.datasets 下面确实没有 template 这个模块啊…… 你们能执行成功?