GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - RS2002/Customized-OpenCompass-API: This repository provides an example of how to use a customized API model within OpenCompass.

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
mymodel
mymodel
 
 
README.md
README.md
 
 
example_gsm8k.py
example_gsm8k.py
 
 
my_api.py
my_api.py
 
 

Repository files navigation

Customized OpenCompass API

This repository provides an example of how to use a customized API model within OpenCompass.

Setup Instructions

  1. Configure API Settings Set your API_BASE and KEY in the following files:

    • my_api.py
    • ./mymode/default.py
  2. Integrate Your API Model

    • Copy my_api.py to <your_package_path>/opencompass/models.

    • Add the following import statement to <your_package_path>/opencompass/models/__init__.py

      from .my_api import MyModelAPI
  3. Copy Configuration Files Copy the ./mymode directory to <your_package_path>/opencompass/configs/models.

  4. Run Your Process Execute your process with a command like:

    opencompass example_gsm8k.py

References

  • OpenCompass GitHub Repository: OpenCompass is an LLM evaluation platform supporting a wide range of models (Llama3, Mistral, InternLM2, GPT-4, LLaMa2, Qwen, GLM, Claude, etc.) across 100+ datasets.
  • OpenCompass Documentation: Comprehensive documentation for OpenCompass 0.5.0.

About

This repository provides an example of how to use a customized API model within OpenCompass.

Topics

apibenchmarkllmopencompass

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.