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

Unable to run Gemma-2-2b-it model using local TransformersModel #224

Open
NSTiwari opened this issue Jan 16, 2025 · 1 comment
Open

Unable to run Gemma-2-2b-it model using local TransformersModel #224

NSTiwari opened this issue Jan 16, 2025 · 1 comment

Comments

@NSTiwari
Copy link

I'm trying to use Gemma 2 2b-it model using TransformersModel via a local pipeline, but getting the following error:

Error in generating model output:
System role not supported

Image

@Knight7561
Copy link

@aymeric-roucher Do you want me a utility function to covert system messages to user messages in util file? and pass a parameter to support these models? or if there is any other good approach let me know, I can patch it up

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