Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M metaseq
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 95
    • Issues 95
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 41
    • Merge requests 41
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • metaseq
  • Merge requests
  • !240

Add script to measure generation benchmarks for different models sizes

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge kchakrabarty/generationbenchmarks into main Jul 21, 2022
  • Overview 17
  • Commits 6
  • Pipelines 0
  • Changes 1

Created by: KUNAL1612

Patch Description Added a script that takes in one/many model sizes as input and outputs generation statistics. Addresses #220 (closed). Also allows for custom data to be passed as input.

Testing steps Run this with multiple model sizes to observe WPS counts. Can take multiple models as input and report output for each.

Usage :

python generation_benchmarks.py --model_name 2.7b 13b --padding_size 32

NB: model checkpoint sizes for 66b are huge and the script will require sufficient storage and time tor run.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: kchakrabarty/generationbenchmarks