Comments (2)
@blazejdolicki The *.idx files actually record the original sentence index in the download/udpos/dev-xx.tsv
files. The reason to create this index file is that most pre-trained models have their own tokenizers which tokenize an original sentence to a longer one. The length of the tokenized sentences might exceed a pre-defined value such as 128, 256, or 512.
Current models can only make tag predictions for sequences with a maximum length such as 512. In our paper, we used 128 as the maximum length. So to make tag predictions for a longer tokenized sentence, we break it into two for separate predictions, and record their original index in order to merge the two predicted tag sequences as the final output.
In your above example, you can check Line 13067 of the original file in download/udpos/dev-nl.tsv
to see that the two tokenized sentences with the same index actually come from one sentence. During evaluation, we actually check the tag predictions line by line with the ground-truth labels in the original files download/udpos/dev-xx.tsv
.
Let me know if the above explanation is clean to you.
from xtreme.
Thank you for clarification! So I used the file download/udpos/udpos_processed_maxlen128/nl/dev.xlm-roberta-large
(where the sentences exceeding the limit are split) instead of download/udpos/dev-nl.tsv
and that caused to the problem. After changing the file, the alignment is correct. I'm closing the issue.
from xtreme.
Related Issues (20)
- explainaboard doesn't work
- There is no AmazonPhotos.zip in the link to download the dataset. How to download the dataset?
- WikiExtractor git cloning error HOT 2
- New tasks in xtreme-r HOT 5
- XLMR results on POS tagging (ja, zh and yo) HOT 2
- Unclear which transformers version should be used when testing Tatoeba HOT 6
- 2513 Segmentation fault: 11 when running Tatoeba HOT 1
- Cannot achieve the XNLI performance in the paper
- TypeError: compute_predictions_logits() takes 12 positional arguments but 13 were given
- XCopa scripts?
- Metrics for sequence tagging tasks dependant on the max_seq_length parameter HOT 1
- Old Russian in Russian UDpos dataset
- Training data for XCOPA
- Evaluation results of PANX task HOT 3
- How to get LAReQA results across different question languages HOT 5
- How is the test data for TyDiQA generated? HOT 3
- Adding a new language
- Tatoeba baseline from XTREME-R
- Missing de translation data in MLQA HOT 1
- [bugs] All results 0 in test with the NER(PANX) task HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xtreme.