raise exception instead of using assertions.
@mariosasko - Thanks for the review & suggestions. Updated as per the suggestions.  @mariosasko - Hello, Are there any additional changes required from my end??. Wondering if this PR can be merged or still pending on additional steps.
fix for the remaining files https://github.com/huggingface/datasets/issues/3171