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

Inference Problem #9

Open
HenryHe0123 opened this issue Oct 19, 2024 · 3 comments
Open

Inference Problem #9

HenryHe0123 opened this issue Oct 19, 2024 · 3 comments

Comments

@HenryHe0123
Copy link

Hi, I'd like to express my sincere gratitude to the project. Your efforts are greatly appreciated.

However, after completing the model training, I encountered a problem: I am unable to load it using either the transformers or vllm for inference.

Can you provide a sample inference code for reference? Thank you in advance for your time and support.

@2U1
Copy link
Owner

2U1 commented Oct 21, 2024

I'm not saving the preprocessor config and other things, so I think you should load it download from the huggingface hub and put it into the folder.
Or you could just load the preprocessor from the hub.

@HenryHe0123
Copy link
Author

I see. I tried adding the preprocessor config and other things to the fine-tuned model folder, but still encountered issues. However, it's now resolved. Thank you for your response.

@2U1
Copy link
Owner

2U1 commented Oct 31, 2024

@HenryHe0123 May I ask you what was the problem? And How did you solve it?

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

No branches or pull requests

2 participants