sample_dataset module not found
COLLABORATOR
Hi! Can you describe what the actual error is?
2023-01-17T19:10:21Z
https://github.com/huggingface/datasets/issues/5434#issuecomment-1385919691
https://api.github.com/repos/huggingface/datasets/issues/5434
IC_kwDODunzps5Sm3TL
https://api.github.com/repos/huggingface/datasets/issues/comments/1385919691/reactions
2023-01-17T19:10:21Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1385919691
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public
NONE
working on the setfit example script

   from setfit import SetFitModel, SetFitTrainer, sample_dataset

ImportError: cannot import name 'sample_dataset' from 'setfit' (C:\Python\Python38\lib\site-packages\setfit\__init__.py)

 apart from that, I also had to hack these loads to import thses modules:
    from datasets.load import load_dataset                        
    from datasets.arrow_dataset import Dataset
    from datasets.dataset_dict import DatasetDict
2023-01-19T11:03:43Z
https://github.com/huggingface/datasets/issues/5434#issuecomment-1396797200
https://api.github.com/repos/huggingface/datasets/issues/5434
IC_kwDODunzps5TQW8Q
https://api.github.com/repos/huggingface/datasets/issues/comments/1396797200/reactions
2023-01-19T11:03:43Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1396797200
https://avatars.githubusercontent.com/u/15816213?v=4
https://api.github.com/users/nickums/events{/privacy}
https://api.github.com/users/nickums/followers
https://api.github.com/users/nickums/following{/other_user}
https://api.github.com/users/nickums/gists{/gist_id}
https://github.com/nickums
nickums
MDQ6VXNlcjE1ODE2MjEz
https://api.github.com/users/nickums/orgs
https://api.github.com/users/nickums/received_events
https://api.github.com/users/nickums/repos
https://api.github.com/users/nickums/starred{/owner}{/repo}
https://api.github.com/users/nickums/subscriptions
User
https://api.github.com/users/nickums
public
COLLABORATOR
Hi! This issue is related to the [SetFit](https://github.com/huggingface/setfit) project, so can you please open it there?
2023-01-19T13:52:12Z
https://github.com/huggingface/datasets/issues/5434#issuecomment-1397013171
https://api.github.com/repos/huggingface/datasets/issues/5434
IC_kwDODunzps5TRLqz
https://api.github.com/repos/huggingface/datasets/issues/comments/1397013171/reactions
2023-01-19T13:52:12Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1397013171
https://avatars.githubusercontent.com/u/47462742?v=4
https://api.github.com/users/mariosasko/events{/privacy}
https://api.github.com/users/mariosasko/followers
https://api.github.com/users/mariosasko/following{/other_user}
https://api.github.com/users/mariosasko/gists{/gist_id}
https://github.com/mariosasko
mariosasko
MDQ6VXNlcjQ3NDYyNzQy
https://api.github.com/users/mariosasko/orgs
https://api.github.com/users/mariosasko/received_events
https://api.github.com/users/mariosasko/repos
https://api.github.com/users/mariosasko/starred{/owner}{/repo}
https://api.github.com/users/mariosasko/subscriptions
User
https://api.github.com/users/mariosasko
public