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

Vllm get tokenizer #1794

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AguirreNicolas
Copy link

Issue:

It is possible to change the model names served by vllm, and then have it not respond to any Huggingface repository making it impossible to obtain the tokenizer and therefore run lm-eval-harness.

Features:

This PR works in conjunction with another PR in the vllm repository to enable such features. The vllm server (optionally for whoever runs it) will send the *.json generated after using tokenizer.save_pretrained() and then the tokenizer is instantiated locally.

When running the tests, simply add the tokenizer_backend=vllm option to the model arguments.

@CLAassistant
Copy link

CLAassistant commented May 6, 2024

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

2 participants