You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I only want to use the dataset, but it crashes since I don't want to install haiku. I have to comment on the clrs.__init__.py the following lines:
# from clrs import modelsfromclrs._srcimportalgorithmsfromclrs._srcimportclrs_text# from clrs._src import decoders# from clrs._src import processorsfromclrs._srcimportspecsfromclrs._src.datasetimportchunkifyfromclrs._src.datasetimportCLRSDatasetfromclrs._src.datasetimportcreate_chunked_datasetfromclrs._src.datasetimportcreate_datasetfromclrs._src.datasetimportget_clrs_folderfromclrs._src.datasetimportget_dataset_gcp_urlfromclrs._src.evaluationimportevaluatefromclrs._src.evaluationimportevaluate_hintsfromclrs._src.modelimportModelfromclrs._src.probingimportDataPointfromclrs._src.probingimportpredecessor_to_cyclic_predecessor_and_first# from clrs._src.processors import get_processor_factory
and with that change it doesn't complain anymore when I import from clrs._src.clrs_text.huggingface_generators import clrs_generator and produces correctly the dataset. I wonder if it might be desirable for you too to make sure the code doesn't require you to install packages that are irrelevant for the dataset generation.
The text was updated successfully, but these errors were encountered:
I'm happy to leave this issue open so others can make advantage of it.
Since the scope of clrs is way more than just its text dataset, we are unlikely to actually make a change like this anytime soon. But it's good to know that there is a workaround that doesn't require the use of Haiku, for those users that do not wish to install it.
Hi,
I only want to use the dataset, but it crashes since I don't want to install haiku. I have to comment on the
clrs.__init__.py
the following lines:and with that change it doesn't complain anymore when I import
from clrs._src.clrs_text.huggingface_generators import clrs_generator
and produces correctly the dataset. I wonder if it might be desirable for you too to make sure the code doesn't require you to install packages that are irrelevant for the dataset generation.The text was updated successfully, but these errors were encountered: