-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add helpers and instructions on how to share datasets on the huggingf…
…ace hub (#705) * Add trajectories_to_dataset helper. * Add instructions on how to upload/download trajectories from HuggingFace Datasets Hub. * Add example on how to use a HuggingFace dataset as a Sequence of Trajectories. * Fix some issues in the expert model documentation. * Fix some issues on the example code of the trajectories documentation. * Remove unused make_dict_from_trajectory function. * Add no-cover pragmas for rare edge-cases of trajectory loading. * Add more throughout tests for HuggingFace Datasets backed trajectory sequences. * Fix bug with sliced access to a TrajectoryDatasetSequence. * Fix bug with storing the dataset of a TrajectoryDatasetSequence. * Stop using functools LRU cache because it messes up pickleability. * Add test for accessing slices of info dicts.
- Loading branch information
Showing
6 changed files
with
353 additions
and
74 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
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
Oops, something went wrong.