Dataset Viewer
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code: StreamingRowsError
Exception: PdfminerException
Message: 401 Client Error. (Request ID: Root=1-686c02e1-7fd2eab8734ccb35485ba705;0edde201-e91f-48f3-9a37-f473ec699f85)
Cannot access gated repo for url https://huggingface.co/datasets/di-zhang-fdu/libretexts_pdfs/resolve/d065241165fc91d71ba68bb31d16c4aafbd3d4c7/Full.pdf.
Access to dataset di-zhang-fdu/libretexts_pdfs is restricted. You must have access to it and be authenticated to access it. Please log in.
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_http.py", line 409, in hf_raise_for_status
response.raise_for_status()
File "/src/services/worker/.venv/lib/python3.9/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/datasets/di-zhang-fdu/libretexts_pdfs/resolve/d065241165fc91d71ba68bb31d16c4aafbd3d4c7/Full.pdf
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/pdfplumber/pdf.py", line 50, in __init__
self.doc = PDFDocument(PDFParser(stream), password=password or "")
File "/src/services/worker/.venv/lib/python3.9/site-packages/pdfminer/pdfdocument.py", line 707, in __init__
pos = self.find_xref(parser)
File "/src/services/worker/.venv/lib/python3.9/site-packages/pdfminer/pdfdocument.py", line 952, in find_xref
for line in parser.revreadlines():
File "/src/services/worker/.venv/lib/python3.9/site-packages/pdfminer/psparser.py", line 261, in revreadlines
s = self.fp.read(prevpos - pos)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 827, in read_with_retries
out = read(*args, **kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 1013, in read
return super().read(length)
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/spec.py", line 1846, in read
out = self.cache._fetch(self.loc, self.loc + length)
File "/src/services/worker/.venv/lib/python3.9/site-packages/fsspec/caching.py", line 189, in _fetch
self.cache = self.fetcher(start, end) # new block replaces old
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/hf_file_system.py", line 976, in _fetch_range
hf_raise_for_status(r)
File "/src/services/worker/.venv/lib/python3.9/site-packages/huggingface_hub/utils/_http.py", line 426, in hf_raise_for_status
raise _format(GatedRepoError, message, response) from e
huggingface_hub.errors.GatedRepoError: 401 Client Error. (Request ID: Root=1-686c02e1-7fd2eab8734ccb35485ba705;0edde201-e91f-48f3-9a37-f473ec699f85)
Cannot access gated repo for url https://huggingface.co/datasets/di-zhang-fdu/libretexts_pdfs/resolve/d065241165fc91d71ba68bb31d16c4aafbd3d4c7/Full.pdf.
Access to dataset di-zhang-fdu/libretexts_pdfs is restricted. You must have access to it and be authenticated to access it. Please log in.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2285, in __iter__
for key, example in ex_iterable:
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 1857, in __iter__
batch = formatter.format_batch(pa_table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/formatting/formatting.py", line 467, in format_batch
batch = self.python_features_decoder.decode_batch(batch)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/formatting/formatting.py", line 229, in decode_batch
return self.features.decode_batch(batch) if self.features else batch
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 2143, in decode_batch
[
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 2144, in <listcomp>
decode_nested_example(self[column_name], value, token_per_repo_id=token_per_repo_id)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/features.py", line 1414, in decode_nested_example
return schema.decode_example(obj, token_per_repo_id=token_per_repo_id) if obj is not None else None
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/features/pdf.py", line 162, in decode_example
return pdfplumber.open(f)
File "/src/services/worker/.venv/lib/python3.9/site-packages/pdfplumber/pdf.py", line 107, in open
return cls(
File "/src/services/worker/.venv/lib/python3.9/site-packages/pdfplumber/pdf.py", line 52, in __init__
raise PdfminerException(e)
pdfplumber.utils.exceptions.PdfminerException: 401 Client Error. (Request ID: Root=1-686c02e1-7fd2eab8734ccb35485ba705;0edde201-e91f-48f3-9a37-f473ec699f85)
Cannot access gated repo for url https://huggingface.co/datasets/di-zhang-fdu/libretexts_pdfs/resolve/d065241165fc91d71ba68bb31d16c4aafbd3d4c7/Full.pdf.
Access to dataset di-zhang-fdu/libretexts_pdfs is restricted. You must have access to it and be authenticated to access it. Please log in.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
No dataset card yet
- Downloads last month
- 2,584