google-deepmind / google-deepmind/xquad

Numbers as words and digits

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
214
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Hello

I was looking at some examples of the dataset, in particular in Spanish, and I noticed some numbers were written as digits in the context text, but written as words in the answers.

For example:

**Context**
````
[...] Josh Norman [...] consiguió 4 intercepciones [...]
````
**Question**
```
¿Cuántos balones interceptó Josh Norman?
```
**Answer**
```
['cuatro']
```

In the whole context text, the number of interceptions by Josh Norman is never written as "cuatro", but only as "4". Therefore, the model couldn't possibly find the span with the right answer. This isn't handled by the ```normalize_text``` function either.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.