Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Joke explanation generalization (#2899)
For the Issue #2827. I have made changes to JokeExplaniation Class. This PR implements the DatasetEntry class in the JokeExplaination class to generalize the data. The DatasetEntry class provides a consistent data structure for storing joke-explanation pairs, making it easier to work with the data. and made changes in AlpacaGpt4 to correct the annotation in one of its methods. The changes in this PR include: - Adding a new DatasetEntry class to represent joke-explanation pairs - Updating the JokeExplaination class to use DatasetEntry objects to store data - Replacing the AlpacaGpt4 class __getitem__ method with correct annotation --------- Co-authored-by: sampatkalyan <120446217+Andavarapu-Sampat-Kalyan@users.noreply.github.com>
- Loading branch information