Practical overview
When it fits
Use Xlingeval when a research project needs a cross-lingual healthcare benchmark and a framework for examining answer correctness, consistency and verifiability.
Who it is for
- Researchers studying multilingual language-model performance in healthcare.
- Teams comparing model responses across languages using benchmark data and evaluation criteria.
Documented uses
- Assess whether generated healthcare answers match expert ground truth.
- Compare response consistency across repeated sampling.
- Evaluate the verifiability of medical claims.
- Use XLingHealth data to study responses across four languages and three health Q&A datasets.
Requirements & limits
The public repository is open source under Apache-2.0. The project identifies Python 3.9; GPT model access is through the OpenAI API, while MedAlpaca is identified as open source and available through Hugging Face.
- Evaluation covers correctness, consistency and verifiability rather than a single score.
- The benchmark includes three health Q&A datasets and four languages; Spanish, Chinese and Hindi translations are described as machine-translated with human verification.
- The documented model coverage includes GPT-3.5, GPT-4 and MedAlpaca 7B, 13B and 30B.
- The repository includes benchmark spreadsheets, with a separate Hugging Face dataset listing.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Install XLingEval’s Python environment
Create the documented Conda environment and install the repository’s dependencies.
Before you start
- Conda
- Python 3.9
Steps
Create an environment with Python 3.9:
conda create -n xlingeval python=3.9.Activate it:
conda activate xlingeval.From the repository, install dependencies: the command below.
pip install -r requirements.txt
Expected outcome
The `xlingeval` Conda environment is set up with the project dependencies installed.
Guide limitations
- This covers environment setup only; it does not run an evaluation.
Evaluate answer correctness with GPT-3.5
Retrieve GPT-3.5 answers for a dataset and evaluate them against ground-truth answers.
Before you start
- The XLingEval repository and its dependencies are available.
- A dataset path is available.
Steps
Retrieve answers by running the command below.
python correctness/correctness_get_gpt_answer.py --dataset_path --model gpt-3.5-turboEvaluate answer quality by running the command below.
python correctness/correctness_answer_evaluation.py --dataset_path --model gpt-3.5-turbo
Expected outcome
The repository’s correctness evaluation workflow is invoked for GPT-3.5 answers and the supplied dataset.
Guide limitations
- The instructions do not specify credential setup, dataset preparation, or result locations for this workflow.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 8 October 2026
- Original website title
- claws-lab/XLingEval · Official homepage title · retained in its source language

