Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add crud ragas evaluation. #141

Merged
merged 6 commits into from
Sep 27, 2024
Merged

add crud ragas evaluation. #141

merged 6 commits into from
Sep 27, 2024

Conversation

lkk12014402
Copy link
Collaborator

Description

add ragas evaluation for crud Chinese dataset.

@lkk12014402
Copy link
Collaborator Author

lkk12014402 commented Sep 25, 2024

setup llm-as-judge on 4 cards

docker run -p 8010:80 --runtime=habana -e HABANA_VISIBLE_DEVICES=all -e PT_HPU_ENABLE_LAZY_COLLECTIVES=true -e OMPI_MCA_btl_vader_single_copy_mechanism=none --cap-add=sys_nice --ipc=host ghcr.io/huggingface/tgi-gaudi:2.0.5 --model-id Qwen/Qwen2-72B-Instruct --max-input-tokens 4096 --max-total-tokens 8192 --sharded true --num-shard 4

evaluation

python eval_crud.py --dataset_path ../data/split_merged.json --docs_path ../data/80000_docs  --contain_original_data --llm_endpoint "http://localhost:8010"  --ragas_metrics

@lvliang-intel lvliang-intel merged commit f2bff45 into main Sep 27, 2024
13 checks passed
@lvliang-intel lvliang-intel deleted the add_crud_ragas branch September 27, 2024 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants