# Loading nested dataset for training

**URL:** <https://discuss.huggingface.co/t/loading-nested-dataset-for-training/139133>\
**Category:** 🤗Datasets\
**Created:** [February 5, 2025, 1:00pm UTC](https://discuss.huggingface.co/t/loading-nested-dataset-for-training/139133 "2025-02-05T13:00:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [February 5, 2025, 2:42pm UTC](https://discuss.huggingface.co/t/loading-nested-dataset-for-training/139133/4 "2025-02-05T14:42:17Z")

</div>

There are actually errors that only occur in Colab, but the most common one is when the library version is different and the error content changes. Let’s try raising and lowering the library version in Colab. accelerate, transformers, datasets, and huggingface\_hub have a significant impact.

> [@TrainingArgument does not work on colab](https://discuss.huggingface.co/t/trainingargument-does-not-work-on-colab/43372):
>
> I was following chapter 3 of the NLP course on Fine-tuning a model with the Trainer API and when executing the command in colab training\_args = TrainingArguments(“test-trainer”) I get: ImportError Traceback (most recent call last) in \<cell line: 1\>() ----\> 1 training\_args = TrainingArguments(output\_dir=“test-trainer”) 4 frames /usr/local/lib/python3.10/dist-packages/transformers/training\_args.py in \_setup\_devices(self) 1670 if not is\_sagemaker\_mp…

---

_[View the full topic](https://discuss.huggingface.co/t/loading-nested-dataset-for-training/139133)._
