More control over test and validation set creation.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39
- Forks
- 7
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 5
Description
We're often only interested in the scores for drafting from a specific source text.
When we have a mixed_scr configuration with data from several texts on the source side validation and test sets are created for all of them. This reduces the data for training, and may also means that the model trains is more general since the validation tests against multiple pairs.
It's possible to create multiple corpus pairs and include the test and val sets only for the drafting source of interest, however in order to do that we have to manually split the corpus books between the two corpus_pairs.
corpus_pairs:
- corpus_books: NT;GEN;EXO;RUT;JON
mapping: mixed_src
src:
- eng-NIV11R
- swhonen
- es-RVC64
trg: trg-trgtext
type: train,test, val
It would be helpful if we could indicate test_set_src: and val_set_src: These would be lists of the sources we want to use for the test and validation sets.
corpus_pairs:
- corpus_books: NT;GEN;EXO;RUT;JON
mapping: mixed_src
src:
- eng-NIV11R
- swhonen
- es-RVC64
test_set_src:
- eng-NIV11R
trg: trg-trgtext
val_set_src:
- eng-NIV11R
type: train,test, val
When training multilingual models this would allow much more data to be used for training.
We could consider whether it should be possible to suggest sources for these that are not part of the training data.
For example, I could imagine a case where a team want to draft from the NIV84, but training with the NIV11R produces a better model. In that case a config such as this would be useful.
corpus_pairs:
- corpus_books: NT;GEN;EXO;RUT;JON
mapping: mixed_src
src:
- eng-NIV11R
- swhonen
- es-RVC64
test_set_src:
- eng-NIV84
trg: trg-trgtext
val_set_src:
- eng-NIV84
type: train,test, val
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the corpus_pairs configuration and the train,test,val type are parsed and used to create datasets. Define how test_set_src and val_set_src should select sources, including whether sources outside training data are supported. Done means the examples in the issue produce the intended training, validation, and test splits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100