Skip to content

Wenshansilvia/RefFreeEval-RAG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RefFreeEval-RAG

Highligth Features

xx

Quick Start

Setup Evaluator LLMs

  • OpenAI

xx

  • Open source LLMs

Please use vllm to setup the API server for open source LLMs. For example, use the following command to deploy a xx hosted on HuggingFace:

python -m vllm.entrypoints.openai.api_server \
  --model meta-llama/Meta-Llama-3-8B-Instruct \
  --tensor-parallel-size 8 \
  --dtype auto \
  --api-key sk-123456789 \
  --gpu-memory-utilization 0.9 \
  --port 5000

Run the Evaluation Pipeline

import os
from RefFreeEval import Results, Evaluator
from RefFreeEval.metrics import xxmetric

os.environments[]

# set-up the evaluator
evaluator = Evaluator(model = 'xx', ...)

# evaluate results
evaluator.evaluate(Results)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published