Skip to content

Add lang model size cap - #520

Open
mike-ferguson wants to merge 1 commit into
masterfrom
limit_lang_model_sizes
Open

mike-ferguson wants to merge 1 commit into
masterfrom
limit_lang_model_sizes

Conversation

@mike-ferguson

Copy link
Copy Markdown
Member

Summary

  • Language model submissions are now restricted to medium-sized models (<13B params) and below
  • Selecting "Large" or "XLarge" from the model size dropdown triggers a modal explaining the limitation, with links to contact Kartik and Mike directly. See attached screenshot
  • Server-side validation also blocks oversized submissions in case the UI is bypassed

Changes

  • benchmarks/templates/benchmarks/upload.html — added client-side modal popup for large/xlarge model size selections (language domain only)
  • benchmarks/views/user.py — added server-side guard that rejects POST requests with model_size=large or model_size=xlarge for language submissions
Screenshot 2026-05-27 at 1 25 55 PM

@mike-ferguson
mike-ferguson requested a review from KartikP May 27, 2026 17:28
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.

1 participant