-
Notifications
You must be signed in to change notification settings - Fork 3
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
When inferring with “infer_A_md_details.sh” provided by the project, there are a large number of errors in the inference results as shown in the following example. Can this kind of problem be solved? #9
Comments
Hello, which model are you using? Can you provide the link? |
|
I have a test, and the results are normal.
Please check whether the ckpt.pt is loaded, or, revise config.model.delta_path in config.yaml to absolute path. |
I revised config.model.delta_path in config.yaml to absolute path and tried angin.The result is still the same. If I don't load the pretrained delta checkpoin, the result is: What else do you think could be causing the problem? |
Have you ever revised some codes? And what is your environment, especially the version of torch and transformers. |
torch--1.13.1 |
Try: |
torch==1.13.1 |
If nothing is changed, the most possible reasons are the pre-trained weights. You can email to me ([email protected]) to get my WeChat account. |
After checking, our delta weights are trained on vicuna-v1.5-7b, this error is caused by wrongly downloading vicuna-v1.5-7b-16k weights. |
Thanks for your help! The problem has already been solved. |
eg:
{
"id": "st-catherines-loch-fyne-1256364_0",
"text": "The image depicts a person standing on a body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body body",
"output_id": null,
"prob": null,
"confidence": 0.28732764565010416
},
A similar situation occurred when we tested the gradio demo.
The text was updated successfully, but these errors were encountered: