Skip to content

Instantly share code, notes, and snippets.

@SharathHebbar
Last active January 24, 2024 05:44
Show Gist options
  • Save SharathHebbar/d6a39b18163e931a2f1e2bdbc516548d to your computer and use it in GitHub Desktop.
Save SharathHebbar/d6a39b18163e931a2f1e2bdbc516548d to your computer and use it in GitHub Desktop.
TRL Issue resolved
! pip show datasets
Name: datasets
Version: 2.16.1
Summary: HuggingFace community-driven open-source library of datasets
Home-page: https://github.com/huggingface/datasets
Author: HuggingFace Inc.
Author-email: thomas@huggingface.co
License: Apache 2.0
Location: /opt/conda/lib/python3.10/site-packages
Requires: aiohttp, dill, filelock, fsspec, huggingface-hub, multiprocess, numpy, packaging, pandas, pyarrow, pyarrow-hotfix, pyyaml, requests, tqdm, xxhash
Required-by: trl
pip install -U datasets
pip install trl

Firstly do check if the datasets version is 2.16 if not trl throws an error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment