Giter Site home page Giter Site logo

llm_long_context_bench202405's Introduction

llm_long_context_bench202405

简介

本项目包括两部分:

  • 各家LLM API SDK 的简单统一包装,未来会随着其他测试项目的需求而不断扩展。
  • 包括一个Long context能力和速度的测试方案。

使用方式:

  • 在环境变量中配置各家的API key,具体变量名请参考client_impl中的具体实现
  • 修改并运行 gen_test_cases.py 生成测试用例
  • 修改test_main.py中的测试任务设定,然后运行它来生成测试结果

由于目前各家LLM API的兼容性和请求速率限制问题都较多,所以目前本项目的任务配置和统计都需要人工进行。

测试结果数据

  • 每个测试的数据在独立分支上,注意查看本项目的分支。

未来测试可改进点:

  • SiliconFlow 带有session之间的缓存,每个请求首次请求时间较长,后续会快。目前的统计中会自动剔除最长的一次,导致第一次的较高延迟没有被纳入。 需要考虑设计能评估带有缓存方案的性能。

llm_long_context_bench202405's People

Contributors

someonekong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.