Spaces:
Sleeping
Sleeping
title: Lingo Judge Metric | |
emoji: 🐨 | |
colorFrom: blue | |
colorTo: red | |
sdk: gradio | |
sdk_version: 3.19.1 | |
app_file: app.py | |
pinned: false | |
tags: | |
- evaluate | |
- metric | |
## Metric Description | |
Lingo-Judge is an evaluation metric that aligns closely with human judgement on the LingoQA evaluation suite. | |
See the project's README at [LingoQA](https://github.com/wayveai/LingoQA) for more information. | |
## How to use | |
This metric requires questions, predictions and references as inputs. | |
```python | |
>>> metric = evaluate.load("maysonma/lingo_judge_metric") | |
>>> questions = ["Are there any traffic lights present? If yes, what is their color?"] | |
>>> references = [["Yes, green."]] | |
>>> predictions = ["No."] | |
>>> results = metric.compute(questions=questions, predictions=predictions, references=references) | |
>>> print(results) | |
[-3.38348388671875] | |
``` | |
### Inputs | |
- **questions** (`list` of `str`): Input questions. | |
- **predictions** (`list` of `str`): Model predictions. | |
- **references** (`list` of `list` of `str`): Multiple references per question. | |
### Output Values | |
- **scores** (`list` of `float`): Score indicating truthfulness. | |
## Citation | |
```bibtex | |
@article{marcu2023lingoqa, | |
title={LingoQA: Video Question Answering for Autonomous Driving}, | |
author={Ana-Maria Marcu and Long Chen and Jan Hünermann and Alice Karnsund and Benoit Hanotte and Prajwal Chidananda and Saurabh Nair and Vijay Badrinarayanan and Alex Kendall and Jamie Shotton and Oleg Sinavski}, | |
journal={arXiv preprint arXiv:2312.14115}, | |
year={2023}, | |
} | |
``` | |