Skip to content

Conversation

anupam-dewan
Copy link

Added concurrent_requests parameter to control when using litellm as backend with lighteval

@@ -83,6 +87,8 @@ class ModelConfig(BaseModel, extra="forbid"):
generation_parameters: GenerationParameters = GenerationParameters()
system_prompt: str | None = None
cache_dir: str = "~/.cache/huggingface/lighteval"
concurrent_requests: int = 10
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you put it in the litellm model config instead of the abstract model ? this is really specific to litellm

@HuggingFaceDocBuilderDev
Copy link
Collaborator

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

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.

3 participants