-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement
Dataset.from_documents
(#136)
* implement Dataset.from_documents * Implemented test for dataset creation through from_documents() method * Enhanced test for from_documents() method to cover ValueError * Implemented from_documents() method for IterableDataset * Improved test-from-documents method * parametrized * include testing of dataset creation with converters * compare full document dicts instead of just id * IterableDataset.from_documents requires a generator as input * add documentation * fix documentation --------- Co-authored-by: Kai Carhuallanqui <[email protected]>
- Loading branch information
1 parent
b5f08f4
commit 8605432
Showing
2 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters