xuhuang87 commited on
Commit
5452337
·
1 Parent(s): 32ce52a

update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -1
README.md CHANGED
@@ -62,16 +62,31 @@ configs:
62
  ---
63
  ## Dataset Sources
64
  - **Paper**: BenchMAX: A Comprehensive Multilingual Evaluation Suite for Large Language Models
65
- - **Link**: https://arxiv.org/pdf/2502.07346
66
  - **Repository**: https://github.com/CONE-MT/BenchMAX
67
 
68
  ## Dataset Description
69
  BenchMAX_Multiple_Functions is a dataset of BenchMAX, sourcing from [Nexus](https://huggingface.co/datasets/Nexusflow/NexusRaven_API_evaluation).
 
70
 
71
  We translate the standardized queries from English to 16 non-English languages by google Translate.
72
  Some special function arguments remain English since the APIs are in English.
73
  All samples are post-edited by native speakers.
74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  ## Supported Languages
76
  Arabic, Bengali, Chinese, Czech, English, French, German, Hungarian, Japanese, Korean, Serbian, Spanish, Swahili, Telugu, Thai, Russian, Vietnamese
77
 
 
62
  ---
63
  ## Dataset Sources
64
  - **Paper**: BenchMAX: A Comprehensive Multilingual Evaluation Suite for Large Language Models
65
+ - **Link**: https://huggingface.co/papers/2502.07346
66
  - **Repository**: https://github.com/CONE-MT/BenchMAX
67
 
68
  ## Dataset Description
69
  BenchMAX_Multiple_Functions is a dataset of BenchMAX, sourcing from [Nexus](https://huggingface.co/datasets/Nexusflow/NexusRaven_API_evaluation).
70
+ This dataset evaluates the tool use capability, which requires a model to call the correct function given multiple functions.
71
 
72
  We translate the standardized queries from English to 16 non-English languages by google Translate.
73
  Some special function arguments remain English since the APIs are in English.
74
  All samples are post-edited by native speakers.
75
 
76
+ ## Usage
77
+
78
+ ```bash
79
+ git clone https://github.com/CONE-MT/BenchMAX.git
80
+ cd BenchMAX
81
+ pip install -r requirements.txt
82
+
83
+ cd tasks/nexus
84
+ languages=(en ar bn cs de es fr hu ja ko ru sr sw te th vi zh)
85
+ for lang in "${languages[@]}"; do
86
+ python evaluator.py -m ${model} --infer-backend vllm -t ${lang} --output-parser-name generic
87
+ done
88
+ ```
89
+
90
  ## Supported Languages
91
  Arabic, Bengali, Chinese, Czech, English, French, German, Hungarian, Japanese, Korean, Serbian, Spanish, Swahili, Telugu, Thai, Russian, Vietnamese
92