Hi ! You did right by passing the path to the directory when contains your dataset script 
And thanks for reporting the issue with the documentation, it’s indeed not clear enough, we’ll fix that.
Also regarding the error your get, I think this is because you import your dependencies in one single line, which is not parsed correctly by the dataset loader:
import datasets, logging

As a workaround you can just split the import on multiple lines
import logging
import datasets

I hope that helps !