The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
description: string
queries: list<item: struct<id: string, question: string, answers: list<item: string>, source: string>>
child 0, item: struct<id: string, question: string, answers: list<item: string>, source: string>
child 0, id: string
child 1, question: string
child 2, answers: list<item: string>
child 0, item: string
child 3, source: string
to
{'doc': Value('string'), 'start': Value('int64'), 'end': Value('int64'), 'text': Value('string')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
num_examples, num_bytes = writer.finalize()
~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 781, in finalize
self.write_rows_on_file()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 663, in write_rows_on_file
self._write_table(table)
~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
description: string
queries: list<item: struct<id: string, question: string, answers: list<item: string>, source: string>>
child 0, item: struct<id: string, question: string, answers: list<item: string>, source: string>
child 0, id: string
child 1, question: string
child 2, answers: list<item: string>
child 0, item: string
child 3, source: string
to
{'doc': Value('string'), 'start': Value('int64'), 'end': Value('int64'), 'text': Value('string')}
because column names don't match
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
doc string | start int64 | end int64 | text string |
|---|---|---|---|
a_study_in_scarlet.txt | 0 | 727 | A STUDY IN SCARLET
By A. Conan Doyle
CONTENTS
A STUDY IN SCARLET.
PART I.
CHAPTER I. MR. SHERLOCK HOLMES.
CHAPTER II. THE SCIENCE OF DEDUCTION.
CHAPTER III. THE LAURISTON GARDENS MYSTERY
CHAPTER IV. WHAT JOHN RANCE HAD TO TELL.
CHAPTER V. OUR ADVERTISEMENT BRINGS A VISITOR.
CHAPTER VI. TOBIAS GREGSON SHOWS ... |
a_study_in_scarlet.txt | 729 | 1,394 | (_Being a reprint from the Reminiscences of_ JOHN H. WATSON, M.D.,
_Late of the Army Medical Department._)
CHAPTER I.
MR. SHERLOCK HOLMES.
In the year 1878 I took my degree of Doctor of Medicine of the
University of London, and proceeded to Netley to go through the course
prescribed for surgeons in the army. Having c... |
a_study_in_scarlet.txt | 1,395 | 1,930 | I followed, however, with many
other officers who were in the same situation as myself, and succeeded
in reaching Candahar in safety, where I found my regiment, and at once
entered upon my new duties.
The campaign brought honours and promotion to many, but for me it had
nothing but misfortune and disaster. I was remov... |
a_study_in_scarlet.txt | 1,931 | 2,535 | I should have
fallen into the hands of the murderous Ghazis had it not been for the
devotion and courage shown by Murray, my orderly, who threw me across a
pack-horse, and succeeded in bringing me safely to the British lines.
Worn with pain, and weak from the prolonged hardships which I had
undergone, I was removed, w... |
a_study_in_scarlet.txt | 2,536 | 3,161 | For months my life was despaired of, and
when at last I came to myself and became convalescent, I was so weak
and emaciated that a medical board determined that not a day should be
lost in sending me back to England. I was dispatched, accordingly, in
the troopship “Orontes,” and landed a month later on Portsmouth jetty... |
a_study_in_scarlet.txt | 3,162 | 3,880 | Under such circumstances, I naturally gravitated to
London, that great cesspool into which all the loungers and idlers of
the Empire are irresistibly drained. There I stayed for some time at a
private hotel in the Strand, leading a comfortless, meaningless
existence, and spending such money as I had, considerably more ... |
a_study_in_scarlet.txt | 3,882 | 4,481 | On the very day that I had come to this conclusion, I was standing at
the Criterion Bar, when some one tapped me on the shoulder, and turning
round I recognized young Stamford, who had been a dresser under me at
Barts. The sight of a friendly face in the great wilderness of London
is a pleasant thing indeed to a lonely... |
a_study_in_scarlet.txt | 4,483 | 5,193 | “Whatever have you been doing with yourself, Watson?” he asked in
undisguised wonder, as we rattled through the crowded London streets.
“You are as thin as a lath and as brown as a nut.”
I gave him a short sketch of my adventures, and had hardly concluded it
by the time that we reached our destination.
“Poor devil!” ... |
a_study_in_scarlet.txt | 5,195 | 5,862 | “A fellow who is working at the chemical laboratory up at the hospital.
He was bemoaning himself this morning because he could not get someone
to go halves with him in some nice rooms which he had found, and which
were too much for his purse.”
“By Jove!” I cried, “if he really wants someone to share the rooms and
the ... |
a_study_in_scarlet.txt | 5,863 | 6,422 | He is a little queer
in his ideas—an enthusiast in some branches of science. As far as I
know he is a decent fellow enough.”
“A medical student, I suppose?” said I.
“No—I have no idea what he intends to go in for. I believe he is
well up in anatomy, and he is a first-class chemist; but, as far as
I know, he has never... |
a_study_in_scarlet.txt | 6,424 | 6,999 | “No; he is not a man that it is easy to draw out, though he can be
communicative enough when the fancy seizes him.”
“I should like to meet him,” I said. “If I am to lodge with anyone, I
should prefer a man of studious and quiet habits. I am not strong
enough yet to stand much noise or excitement. I had enough of both ... |
a_study_in_scarlet.txt | 7,000 | 7,603 | If you like, we shall drive round together after luncheon.”
“Certainly,” I answered, and the conversation drifted away into other
channels.
As we made our way to the hospital after leaving the Holborn, Stamford
gave me a few more particulars about the gentleman whom I proposed to
take as a fellow-lodger.
“You mustn’... |
a_study_in_scarlet.txt | 7,604 | 8,276 | “It
seems to me, Stamford,” I added, looking hard at my companion, “that
you have some reason for washing your hands of the matter. Is this
fellow’s temper so formidable, or what is it? Don’t be mealy-mouthed
about it.”
“It is not easy to express the inexpressible,” he answered with a
laugh. “Holmes is a little too sc... |
a_study_in_scarlet.txt | 8,277 | 8,944 | He appears to have a passion
for definite and exact knowledge.”
“Very right too.”
“Yes, but it may be pushed to excess. When it comes to beating the
subjects in the dissecting-rooms with a stick, it is certainly taking
rather a bizarre shape.”
“Beating the subjects!”
“Yes, to verify how far bruises may be produced ... |
a_study_in_scarlet.txt | 8,945 | 9,654 | It was familiar ground to me,
and I needed no guiding as we ascended the bleak stone staircase and
made our way down the long corridor with its vista of whitewashed wall
and dun-coloured doors. Near the further end a low arched passage
branched away from it and led to the chemical laboratory.
This was a lofty chamber,... |
a_study_in_scarlet.txt | 9,655 | 10,291 | I’ve
found it,” he shouted to my companion, running towards us with a
test-tube in his hand. “I have found a re-agent which is precipitated
by hæmoglobin, and by nothing else.” Had he discovered a gold mine,
greater delight could not have shone upon his features.
“Dr. Watson, Mr. Sherlock Holmes,” said Stamford, intro... |
a_study_in_scarlet.txt | 10,292 | 10,982 | No doubt you see the significance of this discovery of
mine?”
“It is interesting, chemically, no doubt,” I answered, “but
practically——”
“Why, man, it is the most practical medico-legal discovery for years.
Don’t you see that it gives us an infallible test for blood stains.
Come over here now!” He seized me by the co... |
a_study_in_scarlet.txt | 10,983 | 11,676 | The proportion of blood cannot be more than one in a million. I have no
doubt, however, that we shall be able to obtain the characteristic
reaction.” As he spoke, he threw into the vessel a few white crystals,
and then added some drops of a transparent fluid. In an instant the
contents assumed a dull mahogany colour, a... |
a_study_in_scarlet.txt | 11,677 | 12,360 | The
latter is valueless if the stains are a few hours old. Now, this
appears to act as well whether the blood is old or new. Had this test
been invented, there are hundreds of men now walking the earth who
would long ago have paid the penalty of their crimes.”
“Indeed!” I murmured.
“Criminal cases are continually hin... |
a_study_in_scarlet.txt | 12,361 | 13,065 | Now we have the
Sherlock Holmes’ test, and there will no longer be any difficulty.”
His eyes fairly glittered as he spoke, and he put his hand over his
heart and bowed as if to some applauding crowd conjured up by his
imagination.
“You are to be congratulated,” I remarked, considerably surprised at
his enthusiasm.
“... |
a_study_in_scarlet.txt | 13,066 | 13,680 | “You might start a paper on those lines. Call it the ‘Police
News of the Past.’”
“Very interesting reading it might be made, too,” remarked Sherlock
Holmes, sticking a small piece of plaster over the prick on his finger.
“I have to be careful,” he continued, turning to me with a smile, “for
I dabble with poisons a goo... |
a_study_in_scarlet.txt | 13,681 | 14,359 | “My friend here wants to take diggings, and as you were
complaining that you could get no one to go halves with you, I thought
that I had better bring you together.”
Sherlock Holmes seemed delighted at the idea of sharing his rooms with
me. “I have my eye on a suite in Baker Street,” he said, “which would
suit us down... |
a_study_in_scarlet.txt | 14,360 | 14,980 | You must not think I am
sulky when I do that. Just let me alone, and I’ll soon be right. What
have you to confess now? It’s just as well for two fellows to know the
worst of one another before they begin to live together.”
I laughed at this cross-examination. “I keep a bull pup,” I said, “and
I object to rows because ... |
a_study_in_scarlet.txt | 14,981 | 15,675 | “A well-played violin is a
treat for the gods—a badly-played one——”
“Oh, that’s all right,” he cried, with a merry laugh. “I think we may
consider the thing as settled—that is, if the rooms are agreeable to
you.”
“When shall we see them?”
“Call for me here at noon to-morrow, and we’ll go together and settle
everythi... |
a_study_in_scarlet.txt | 15,676 | 16,361 | “A good many people have wanted to know how he
finds things out.”
“Oh! a mystery is it?” I cried, rubbing my hands. “This is very
piquant. I am much obliged to you for bringing us together. ‘The proper
study of mankind is man,’ you know.”
“You must study him, then,” Stamford said, as he bade me good-bye.
“You’ll find... |
a_study_in_scarlet.txt | 16,362 | 17,116 | They
consisted of a couple of comfortable bed-rooms and a single large airy
sitting-room, cheerfully furnished, and illuminated by two broad
windows. So desirable in every way were the apartments, and so moderate
did the terms seem when divided between us, that the bargain was
concluded upon the spot, and we at once en... |
a_study_in_scarlet.txt | 17,117 | 17,730 | He was quiet in
his ways, and his habits were regular. It was rare for him to be up
after ten at night, and he had invariably breakfasted and gone out
before I rose in the morning. Sometimes he spent his day at the
chemical laboratory, sometimes in the dissecting-rooms, and
occasionally in long walks, which appeared to... |
a_study_in_scarlet.txt | 17,731 | 18,290 | On these
occasions I have noticed such a dreamy, vacant expression in his eyes,
that I might have suspected him of being addicted to the use of some
narcotic, had not the temperance and cleanliness of his whole life
forbidden such a notion.
As the weeks went by, my interest in him and my curiosity as to his
aims in li... |
a_study_in_scarlet.txt | 18,291 | 19,017 | His eyes were sharp and
piercing, save during those intervals of torpor to which I have
alluded; and his thin, hawk-like nose gave his whole expression an air
of alertness and decision. His chin, too, had the prominence and
squareness which mark the man of determination. His hands were
invariably blotted with ink and s... |
a_study_in_scarlet.txt | 19,018 | 19,594 | Before pronouncing judgment, however, be it remembered, how
objectless was my life, and how little there was to engage my
attention. My health forbade me from venturing out unless the weather
was exceptionally genial, and I had no friends who would call upon me
and break the monotony of my daily existence. Under these
... |
a_study_in_scarlet.txt | 19,595 | 20,295 | Neither did he appear to
have pursued any course of reading which might fit him for a degree in
science or any other recognized portal which would give him an entrance
into the learned world. Yet his zeal for certain studies was
remarkable, and within eccentric limits his knowledge was so
extraordinarily ample and minu... |
a_study_in_scarlet.txt | 20,296 | 20,916 | Of contemporary
literature, philosophy and politics he appeared to know next to
nothing. Upon my quoting Thomas Carlyle, he inquired in the naivest way
who he might be and what he had done. My surprise reached a climax,
however, when I found incidentally that he was ignorant of the
Copernican Theory and of the composit... |
a_study_in_scarlet.txt | 20,917 | 21,482 | “Now that I do know it I shall do my best to forget it.”
“To forget it!”
“You see,” he explained, “I consider that a man’s brain originally is
like a little empty attic, and you have to stock it with such furniture
as you choose. A fool takes in all the lumber of every sort that he
comes across, so that the knowledge... |
a_study_in_scarlet.txt | 21,483 | 22,073 | He will have nothing but the tools which may help him in
doing his work, but of these he has a large assortment, and all in the
most perfect order. It is a mistake to think that that little room has
elastic walls and can distend to any extent. Depend upon it there comes
a time when for every addition of knowledge you f... |
a_study_in_scarlet.txt | 22,074 | 22,728 | If we went round the moon it would not make a
pennyworth of difference to me or to my work.”
I was on the point of asking him what that work might be, but something
in his manner showed me that the question would be an unwelcome one. I
pondered over our short conversation, however, and endeavoured to draw
my deduction... |
a_study_in_scarlet.txt | 22,729 | 23,544 | I could not help smiling at the document when I had completed it. It
ran in this way—
SHERLOCK HOLMES—his limits.
1. Knowledge of Literature.—Nil.
2. Philosophy.—Nil.
3. Astronomy.—Nil.
4. Politics.—Feeble.
5. Botany.—Variable. Well up in belladonna, opium, and poisons
generally. Knows nothing of practical gardening.... |
a_study_in_scarlet.txt | 23,545 | 24,162 | Has a good practical knowledge of British law.
When I had got so far in my list I threw it into the fire in despair.
“If I can only find what the fellow is driving at by reconciling all
these accomplishments, and discovering a calling which needs them all,”
I said to myself, “I may as well give up the attempt at once.... |
a_study_in_scarlet.txt | 24,163 | 24,920 | When left to himself, however, he would
seldom produce any music or attempt any recognized air. Leaning back in
his arm-chair of an evening, he would close his eyes and scrape
carelessly at the fiddle which was thrown across his knee. Sometimes
the chords were sonorous and melancholy. Occasionally they were
fantastic a... |
a_study_in_scarlet.txt | 24,922 | 25,586 | During the first week or so we had no callers, and I had begun to think
that my companion was as friendless a man as I was myself. Presently,
however, I found that he had many acquaintances, and those in the most
different classes of society. There was one little sallow rat-faced,
dark-eyed fellow who was introduced to... |
a_study_in_scarlet.txt | 25,587 | 26,192 | On another occasion an old
white-haired gentleman had an interview with my companion; and on
another a railway porter in his velveteen uniform. When any of these
nondescript individuals put in an appearance, Sherlock Holmes used to
beg for the use of the sitting-room, and I would retire to my bed-room.
He always apolog... |
a_study_in_scarlet.txt | 26,193 | 26,741 | I imagined at the time that he had some
strong reason for not alluding to it, but he soon dispelled the idea by
coming round to the subject of his own accord.
It was upon the 4th of March, as I have good reason to remember, that I
rose somewhat earlier than usual, and found that Sherlock Holmes had
not yet finished hi... |
a_study_in_scarlet.txt | 26,742 | 27,351 | Then I picked up a
magazine from the table and attempted to while away the time with it,
while my companion munched silently at his toast. One of the articles
had a pencil mark at the heading, and I naturally began to run my eye
through it.
Its somewhat ambitious title was “The Book of Life,” and it attempted
to show ... |
a_study_in_scarlet.txt | 27,352 | 27,983 | The writer claimed by a momentary
expression, a twitch of a muscle or a glance of an eye, to fathom a
man’s inmost thoughts. Deceit, according to him, was an impossibility
in the case of one trained to observation and analysis. His conclusions
were as infallible as so many propositions of Euclid. So startling
would his... |
a_study_in_scarlet.txt | 27,984 | 28,607 | So all life is a great chain, the nature of which is
known whenever we are shown a single link of it. Like all other arts,
the Science of Deduction and Analysis is one which can only be acquired
by long and patient study nor, is life long enough to allow any mortal
to attain the highest possible perfection in it. Befor... |
a_study_in_scarlet.txt | 28,608 | 29,317 | Puerile as such an exercise may seem, it sharpens the
faculties of observation, and teaches one where to look and what to
look for. By a man’s finger nails, by his coat-sleeve, by his boot, by
his trouser knees, by the callosities of his forefinger and thumb, by
his expression, by his shirt cuffs—by each of these thing... |
a_study_in_scarlet.txt | 29,318 | 29,950 | “I see that you have read it since you have
marked it. I don’t deny that it is smartly written. It irritates me
though. It is evidently the theory of some arm-chair lounger who
evolves all these neat little paradoxes in the seclusion of his own
study. It is not practical. I should like to see him clapped down in a
thir... |
a_study_in_scarlet.txt | 29,951 | 30,616 | The
theories which I have expressed there, and which appear to you to be so
chimerical are really extremely practical—so practical that I depend
upon them for my bread and cheese.”
“And how?” I asked involuntarily.
“Well, I have a trade of my own. I suppose I am the only one in the
world. I’m a consulting detective, ... |
a_study_in_scarlet.txt | 30,617 | 31,090 | There is a strong family resemblance
about misdeeds, and if you have all the details of a thousand at your
finger ends, it is odd if you can’t unravel the thousand and first.
Lestrade is a well-known detective. He got himself into a fog recently
over a forgery case, and that was what brought him here.”
“And these othe... |
a_study_in_scarlet.txt | 31,091 | 31,758 | I listen to their story, they listen to my comments, and
then I pocket my fee.”
“But do you mean to say,” I said, “that without leaving your room you
can unravel some knot which other men can make nothing of, although
they have seen every detail for themselves?”
“Quite so. I have a kind of intuition that way. Now and... |
a_study_in_scarlet.txt | 31,759 | 32,432 | Observation
with me is second nature. You appeared to be surprised when I told you,
on our first meeting, that you had come from Afghanistan.”
“You were told, no doubt.”
“Nothing of the sort. I _knew_ you came from Afghanistan. From long
habit the train of thoughts ran so swiftly through my mind, that I
arrived at th... |
a_study_in_scarlet.txt | 32,433 | 33,131 | He has undergone hardship and sickness, as his
haggard face says clearly. His left arm has been injured. He holds it
in a stiff and unnatural manner. Where in the tropics could an English
army doctor have seen much hardship and got his arm wounded? Clearly in
Afghanistan.’ The whole train of thought did not occupy a se... |
a_study_in_scarlet.txt | 33,132 | 33,844 | “Now, in my
opinion, Dupin was a very inferior fellow. That trick of his of
breaking in on his friends’ thoughts with an apropos remark after a
quarter of an hour’s silence is really very showy and superficial. He
had some analytical genius, no doubt; but he was by no means such a
phenomenon as Poe appeared to imagine.... |
a_study_in_scarlet.txt | 33,845 | 34,398 | Lecoq took six months or so. It might be made a
text-book for detectives to teach them what to avoid.”
I felt rather indignant at having two characters whom I had admired
treated in this cavalier style. I walked over to the window, and stood
looking out into the busy street. “This fellow may be very clever,” I
said to... |
a_study_in_scarlet.txt | 34,399 | 35,093 | No man lives or
has ever lived who has brought the same amount of study and of natural
talent to the detection of crime which I have done. And what is the
result? There is no crime to detect, or, at most, some bungling
villainy with a motive so transparent that even a Scotland Yard
official can see through it.”
I was ... |
a_study_in_scarlet.txt | 35,095 | 35,812 | “You mean the retired sergeant of Marines,” said Sherlock Holmes.
“Brag and bounce!” thought I to myself. “He knows that I cannot verify
his guess.”
The thought had hardly passed through my mind when the man whom we were
watching caught sight of the number on our door, and ran rapidly across
the roadway. We heard a l... |
a_study_in_scarlet.txt | 35,813 | 36,509 | “Uniform away for repairs.”
“And you were?” I asked, with a slightly malicious glance at my
companion.
“A sergeant, sir, Royal Marine Light Infantry, sir. No answer? Right,
sir.”
He clicked his heels together, raised his hand in a salute, and was
gone.
CHAPTER III.
THE LAURISTON GARDENS MYSTERY
I confess that I wa... |
a_study_in_scarlet.txt | 36,510 | 37,106 | When I looked at him he
had finished reading the note, and his eyes had assumed the vacant,
lack-lustre expression which showed mental abstraction.
“How in the world did you deduce that?” I asked.
“Deduce what?” said he, petulantly.
“Why, that he was a retired sergeant of Marines.”
“I have no time for trifles,” he ... |
a_study_in_scarlet.txt | 37,107 | 37,761 | If you were
asked to prove that two and two made four, you might find some
difficulty, and yet you are quite sure of the fact. Even across the
street I could see a great blue anchor tattooed on the back of the
fellow’s hand. That smacked of the sea. He had a military carriage,
however, and regulation side whiskers. The... |
a_study_in_scarlet.txt | 37,763 | 38,383 | “Commonplace,” said Holmes, though I thought from his expression that
he was pleased at my evident surprise and admiration. “I said just now
that there were no criminals. It appears that I am wrong—look at this!”
He threw me over the note which the commissionaire had brought.
“Why,” I cried, as I cast my eye over it, ... |
a_study_in_scarlet.txt | 38,384 | 38,997 | Our man on the beat saw a light there
about two in the morning, and as the house was an empty one, suspected
that something was amiss. He found the door open, and in the front
room, which is bare of furniture, discovered the body of a gentleman,
well dressed, and having cards in his pocket bearing the name of ‘Enoch
J.... |
null | null | null | null |
tiny-rag-with-reranking
A tiny retrieval / question-answering evaluation set plus a sample of a chunked public-domain corpus, used by the tiny-rag-with-reranking RAG pipeline (bi-encoder retrieval + cross-encoder reranking, with a chunk-size sweep).
Task
Question answering / passage retrieval. Each query carries one or more short answer substrings; a retrieved passage is judged relevant if it contains any answer substring (case- and whitespace-insensitive). This substring labeling keeps relevance valid regardless of how the corpus is chunked.
Files
qa.json— the evaluation set: 12 queries, each with aquestion, one or moreanswers(relevant-passage substrings), and thesourcedocument.chunks_sample.json— a 60-chunk sample (of 902 total in the full build) of the chunked corpus, each withdoc, character offsetsstart/end, andtext. Produced by the adaptive chunker at target size 128.
Generation method
The corpus is public-domain plaintext from Project Gutenberg (Alice's Adventures
in Wonderland, The Time Machine, A Study in Scarlet), with license headers and
footers stripped, then chunked with an adaptive sentence-merging strategy. The
query/relevant-passage labels in qa.json are hand-written: canonical phrases
drawn verbatim from the corpus so they stay stable across chunkings.
Measured results (small-scale benchmark, single RTX 5090)
Bi-encoder all-MiniLM-L6-v2 retrieval vs adding cross-encoder
ms-marco-MiniLM-L-6-v2 reranking, retrieve top-20, metric @k=5:
| stage | precision@5 | recall@5 |
|---|---|---|
| bi-encoder only | 0.1333 | 0.0650 |
| + cross-encoder rerank | 0.2000 | 0.1394 |
Chunk-size sweep best size by precision@5: 512.
License
MIT. Underlying source texts are public domain (Project Gutenberg).
- Downloads last month
- 13