Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

模型微调问题 #141

Open
CathyKitten opened this issue Nov 15, 2023 · 3 comments
Open

模型微调问题 #141

CathyKitten opened this issue Nov 15, 2023 · 3 comments
Labels
question Further information is requested

Comments

@CathyKitten
Copy link

您好!想用自己的jsonl文件,微调text2vec-base-multilingual模型,用python training_sup_text_matching_model_jsonl_data.py --model_arch cosent --do_train --do_predict --num_epochs 10 指令。会出现如下报错,OSError: ./outputs/jsonl-model does not appear to have a file named config.json. Checkout 'https://huggingface.co/./outputs/jsonl-model/None' for available files.。请问应该怎么修改指令或代码。
image

@CathyKitten CathyKitten added the question Further information is requested label Nov 15, 2023
@CathyKitten
Copy link
Author

就是模型保存后,好像没有生成config.json文件
image

@shibing624
Copy link
Owner

训练完,会生成config.json

@lili4cityu
Copy link

我也遇到了这个问题,需要手动创建你要保存的模型目录

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants