tensorflow / tensorflow/datasets
Cannot access definite_pronoun_resolution dataset
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 1.6k
- Avg merge
- 3h 54m
- Merged PRs (30d)
- 1
Description
I am trying to download the definite_pronoun_resolution dataset but I receive an error while trying to do so.
Here is the line of code I run to access the dataset.
ds = tfds.load("definite_pronoun_resolution",data_dir=DATA_DIR)
It returns this error:
/usr/local/lib/python3.7/dist-packages/tensorflow/python/lib/io/file_io.py in _preread_check(self)
77 "File isn't open for reading")
78 self._read_buf = _pywrap_file_io.BufferedInputStream(
---> 79 self.__name, 1024 * 512)
80
81 def _prewrite_check(self):
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. tensorflow.python._pywrap_file_io.BufferedInputStream(arg0: str, arg1: int)
Invoked with: PosixGPath('gs://t5-model-data/data/downloads/s3_datas.huggi.co_defin_prono_resol_test.czxzwJeHVmls2Pm3PvVoTquipgwgxrBb9f4ZaynoVWdg.txt'), 524288
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the tfds.load("definite_pronoun_resolution", data_dir=DATA_DIR) call and inspect the reported PosixGPath to BufferedInputStream failure. Trace the dataset download and file-reading path to identify why this dataset cannot be opened, then verify that the dataset loads successfully without the reported TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data, machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100