codefuse-ai / codefuse-ai/codefuse-devops-eval

Integrate with LiteLLM - Evaluate 100+LLMs, 92% faster

未关闭
#1 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
656
派生
48
PR 合并指标
30 天内没有已合并 PR

描述

Hi @xudafeng @jglee2046
I'm the maintainer of LiteLLM. we allow you to create a proxy server to call 100+ LLMs to make it easier to run benchmark / evals

**I'm making this issue because I believe LiteLLM makes it easier for you to run benchmarks and evaluate LLMs (I'd love your feedback if it does not)**

Try it here: https://docs.litellm.ai/docs/simple_proxy
https://github.com/BerriAI/litellm

## Using LiteLLM Proxy Server
## Creating a proxy server
Ollama models
```shell
$ litellm --model ollama/llama2 --api_base http://localhost:11434
```

Hugging Face Models
```shell
$ export HUGGINGFACE_API_KEY=my-api-key #[OPTIONAL]
$ litellm --model claude-instant-1
```

Anthropic
```shell
$ export ANTHROPIC_API_KEY=my-api-key
$ litellm --model claude-instant-1
```
Palm

```shell
$ export PALM_API_KEY=my-palm-key
$ litellm --model palm/chat-bison
```

## Set api base to proxy
```
openai.api_base = "http://0.0.0.0:8000"
```

## Using to run an eval on lm harness:
```python
python3 -m lm_eval \
--model openai-completions \
--model_args engine=davinci \
--task crows_pairs_english_age

```

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 提议使用 LiteLLM 作为 benchmark 和评估运行的 proxy,但没有指定任何 repository 文件、测试、入口点或验收标准。首先查看 LiteLLM proxy 文档和 repository 的评估入口点;要完成这项工作,maintainer 需要定义集成范围以及应如何对其进行验证。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
machine-learning, testing-qa
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
15/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。