Some issues about loading script of datasets

Hello hf community, thanks for reading my post, I’ll appreciate if you are willing to solve my issues that listed below.

  1. As shown in Create an image dataset (huggingface.co), loading script is marked as legacy, but why? How to customize my own dataset in the latest style?
  2. How to load custom dataset by load_dataset instead of from_ methods?
  3. How to pass arguments to my own datasets to loading script?