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

[Usage]: can I use it with classification model (e.g. GemmaForSequenceClassification) ? #6789

Closed
dodler opened this issue Jul 25, 2024 · 3 comments
Labels
stale usage How to use vllm

Comments

@dodler
Copy link

dodler commented Jul 25, 2024

Your current environment

The output of `python collect_env.py`

How would you like to use vllm

can I use it with classification model (e.g. GemmaForSequenceClassification) ?

@dodler dodler added the usage How to use vllm label Jul 25, 2024
@DarkLight1337
Copy link
Member

There is a WIP PR (#6260) to enable this.

Copy link

This issue has been automatically marked as stale because it has not had any activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. Leave a comment if you feel this issue should remain open. Thank you!

@github-actions github-actions bot added the stale label Oct 24, 2024
@DarkLight1337
Copy link
Member

DarkLight1337 commented Oct 24, 2024

You can now create a version of Gemma2EmbeddingModel, change the pooling type to CLS (or whatever your model uses for classification), then register it to vLLM as an OOT model

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale usage How to use vllm
Projects
None yet
2 participants