Model: CatkinChen/BAAI_bge-base-en-v1.5_retrieval_finetuned_2025-03-29_23-29-50
Author: CatkinChen
Pipeline: sentence-similarity
Library: sentence-transformers
Tags: sentence-transformers, safetensors, bert, sentence-similarity, feature-extraction, generated_from_trainer, dataset_size:309, loss:TripletLoss, arxiv:1908.10084, arxiv:1703.07737, base_model:BAAI/bge-base-en-v1.5, base_model:finetune:BAAI/bge-base-en-v1.5, model-index, text-embeddings-inference, endpoints_compatible, region:us
Base models (finetune): id: BAAI/bge-base-en-v1.5
Card metadata: tags: sentence-transformers, sentence-similarity, feature-extraction, generated_from_trainer, dataset_size:309, loss:TripletLoss
base_model: BAAI/bge-base-en-v1.5
widget: source_sentence: Who does Harry take to the Yule Ball?
sentences: Book: 4, Chapter: 22
Passage: he demanded. But Harry had just seen Parvati and Lavender come in through the portrait hole. The time had come for drastic action. "Wait here," he said to Ron, and he stood up, walked straight up to Parvati, and said, "Parvati? Will you go to the ball with me?" Parvati went into a fit of giggles. Harry waited for them to subside, his fingers crossed in the pocket of his robes. "Yes, all right then," she said finally, blushing furiously. "Thanks," said Harry, in relief., Book: 5, Chapter: 35
Passage: Harry saw Sirius duck Bellatrix's jet of red light: He was laughing at her. "Come on, you can do better than that!" he yelled, his voice echoing around the cavernous room. The second jet of light hit him squarely on the chest. The laughter had not quite died from his face, but his eyes widened in shock., Book: 6, Chapter: 5
Passage: "Harry, oh, Harry ..."
She sat down on the edge of his bed again. "We wondered, after we got back from the Ministry ... Obviously, we didn't want to say anything to you, but from what Lucius Malfoy said about the prophecy, how it was about you and Voldemort, well, we thought it might be something like this. ... Oh, Harry ..." She stared at him, then whispered, "Are you scared?" "Not as much as I was," said Harry. "When I first heard it, I was ... but now, it seems as though I always knew I'd have to face him in the end. ..."
"When we heard Dumbledore was collecting you in person, we thought he might be telling you something or showing you something to do with the prophecy," said Ron eagerly. "And we were kind of right, weren't we? He wouldn't be giving you lessons if he thought you were a goner, wouldn't waste his time - he must think you've got a chance!" "That's true," said Hermione. "I wonder what he'll teach you, Harry?, source_sentence: Who is the first student to be Sorted into Slytherin in Harry’s year?
sentences: Book: 5, Chapter: 37
Passage: Harry snarled. "He threw me out of his office!" "I am aware of it," said Dumbledore heavily. "I have already said that it was a mistake for me not to teach you myself, though I was sure, at the time, that nothing could have been more dangerous than to open your mind even further to Voldemort while in my presence -"
"Snape made it worse, my scar always hurt worse after lessons with him -" Harry remembered Ron's thoughts on the subject and plunged on. "How do you know he wasn't trying to soften me up for Voldemort, make it easier for him to get inside my -"
"I trust Severus Snape," said Dumbledore simply. "But I forgot - another old man's mistake - that some wounds run too deep for the healing., Book: 1, Chapter: 7
Passage: When Neville Longbottom, the boy who kept losing his toad, was called, he fell over on his way to the stool. The hat took a long time to decide with Neville. When it finally shouted, "GRYFFINDOR," Neville ran off still wearing it, and had to jog back amid gales of laughter to give it to "MacDougal, Morag." Malfoy swaggered forward when his name was called and got his wish at once: the hat had barely touched his head when it screamed, "SLYTHERIN!" Malfoy went to join his friends Crabbe and Goyle, looking pleased with himself. There weren't many people left now. "Moon" ... , "Nott" ... , "Parkinson" ... , then a pair of twin girls, "Patil" and "Patil" ... , then "Perks, Sally-Anne" ... , and then, at last -
"Potter, Harry!" As Harry stepped forward, whispers suddenly broke out like little hissing fires all over the hall., Book: 7, Chapter: 19
Passage: A great silver cross ...
His heart skipped into his mouth: He dropped to his knees at the pool's edge and angled the wand so as to flood the bottom of the pool with as much light as possible. A glint of deep red ... It was a sword with glittering rubies in its hilt. ... The sword of Gryffindor was lying at the bottom of the forest pool., source_sentence: Who is Harry's first Defense Against the Dark Arts teacher?
sentences: Book: 3, Chapter: 1
Passage: Harry picked up the clipping, smoothed it out, and read:
MINISTRY OF MAGIC EMPLOYEE
SCOOPS GRAND PRIZE
Arthur Weasley, Head of the Misuse of Muggle Artifacts Office at the Ministry of Magic, has won the annual Daily Prophet Grand Prize Galleon Draw. A delighted Mr. Weasley told the Daily Prophet, "We will be spending the gold on a summer holiday in Egypt, where our eldest son, Bill, works as a curse breaker for Gringotts Wizarding Bank." The Weasley family will be spending a month in Egypt, returning for the start of the new school year at Hogwarts, which five of the Weasley children currently attend. Harry scanned the moving photograph, and a grin spread across his face as he saw all nine of the Weasleys waving furiously at him, standing in front of a large pyramid. Plump little Mrs. Weasley; tall, balding Mr. Weasley; six sons; and one daughter, all (though the black-and-white picture didn't show it) with flaming-red hair., Book: 1, Chapter: 5
Passage: "Professor Quirrell!" said Hagrid. "Harry, Professor Quirrell will be one of your teachers at Hogwarts." "P-P-Potter," stammered Professor Quirrell, grasping Harry's hand, "c-can't t-tell you how p-pleased I am to meet you." "What sort of magic do you teach, Professor Quirrell?" "D-Defense Against the D-D-Dark Arts," muttered Professor Quirrell, as though he'd rather not think about it. "N-not that you n-need it, eh, P-P-Potter?" He laughed nervously. "You'll be g-getting all your equipment, I suppose? I've g-got to p-pick up a new b-book on vampires, m-myself." He looked terrified at the very thought. But the others wouldn't let Professor Quirrell keep Harry to himself. It took almost ten minutes to get away from them all. At last, Hagrid managed to make himself heard over the babble., Book: 3, Chapter: 17
Passage: But Harry had just seen - slinking toward them, his body low to the ground, wide yellow eyes glinting eerily in the darkness - Crookshanks. Whether he could see them or was following the sound of Scabbers's squeaks, Harry couldn't tell. "Crookshanks!" Hermione moaned. "No, go away, Crookshanks! Go away!" But the cat was getting nearer -
"Scabbers - NO!" Too late - the rat had slipped between Ron's clutching fingers, hit the ground, and scampered away. In one bound, Crookshanks sprang after him, and before Harry or Hermione could stop him, Ron had thrown the Invisibility Cloak off himself and pelted away into the darkness. "Ron!" Hermione moaned. She and Harry looked at each other, then followed at a sprint; it was impossible to run full out under the cloak; they pulled it off and it streamed behind them like a banner as they hurtled after Ron; they could hear his feet thundering along ahead and his shouts at Crookshanks. "Get away from him - get away - Scabbers, come here -"
There was a loud thud. "Gotcha!, source_sentence: What is the name of the spell that causes the front teeth to elongate at an alarming rate?
sentences: Book: 5, Chapter: 8
Passage: Harry glanced sideways at Dumbledore, seeking reassurance; he was not at all sure that Dumbledore was right in telling the Wizengamot, in effect, that it was about time they made a decision. Again, however, Dumbledore seemed oblivious to Harry's attempt to catch his eye. He continued to look up at the benches where the entire Wizengamot had fallen into urgent, whispered conversations. Harry looked at his feet. His heart, which seemed to have swollen to an unnatural size, was thumping loudly under his ribs. He had expected the hearing to last longer than this. He was not at all sure that he had made a good impression. He had not really said very much. He ought to have explained more fully about the dementors, about how he had fallen over, about how both he and Dudley had nearly been kissed. ...
Twice he looked up at Fudge and opened his mouth to speak, but his swollen heart was now constricting his air passages and both times he merely took a deep breath and looked back at his shoes. Then the whispering stopped., Book: 7, Chapter: 21
Passage: "We all know that there are such things as Invisibility Cloaks. They are rare, but they exist. But -"
"Ah, but the Third Hallow is a true Cloak of Invisibility, Miss Granger! I mean to say, it is not a traveling cloak imbued with a Disillusionment Charm, or carrying a Bedazzling Hex, or else woven from Demiguise hair, which will hide one initially but fade with the years until it turns opaque. We are talking about a cloak that really and truly renders the wearer completely invisible, and endures eternally, giving constant and impenetrable concealment, no matter what spells are cast at it. How many cloaks have you ever seen like that, Miss Granger?" Hermione opened her mouth to answer, then closed it again, looking more confused than ever., Book: 4, Chapter: 18
Passage: People all around them scrambled out of the way, backing down the corridor. "Harry!" Hermione said warningly. "Go on, then, Potter," Malfoy said quietly, drawing out his own wand. "Moody's not here to look after you now - do it, if you've got the guts -"
For a split second, they looked into each other's eyes, then, at exactly the same time, both acted. "Furnunculus!" Harry yelled. "Densaugeo!" screamed Malfoy. Jets of light shot from both wands, hit each other in midair, and ricocheted off at angles - Harry's hit Goyle in the face, and Malfoy's hit Hermione. Goyle bellowed and put his hands to his nose, where great ugly boils were springing up - Hermione, whimpering in panic, was clutching her mouth. "Hermione!", source_sentence: Who is the leader of the Order of the Phoenix?
sentences: Book: 7, Chapter: 2
Passage: The only things left out of place were today's Daily Prophet, still lying on the bed, and on top of it, the piece of broken mirror. Harry moved across the room, slid the mirror fragment off today's Prophet, and unfolded the newspaper. He had merely glanced at the headline when he had taken the rolled-up paper from the delivery owl early that morning and thrown it aside, after noting that it said nothing about Voldemort. Harry was sure that the Ministry was leaning on the Prophet to suppress news about Voldemort. It was only now, therefore, that he saw what he had missed. Across the bottom half of the front page a smaller headline was set over a picture of Dumbledore striding along looking harried:
DUMBLEDORE - THE TRUTH AT LAST? Coming next week, the shocking story of the flawed genius considered by many to be the greatest wizard of his generation. Stripping away the popular image of serene, silver-bearded wisdom, Rita Skeeter reveals the disturbed childhood, the lawless youth, the lifelong feuds, and the guilty secrets that Dumbledore carried to his grave. WHY was the man tipped to be Minister of Magic content to remain a mere headmaster? WHAT was the real purpose of the secret organization known as the Order of the Phoenix? HOW did Dumbledore really meet his end? The answers to these and many more questions are explored in the explosive new biography, The Life and Lies of Albus Dumbledore, by Rita Skeeter, exclusively interviewed by Betty Braithwaite, page 13, inside., Book: 6, Chapter: 8
Passage: "Really?" said Harry, taking care not to catch Ron's eye; the last time he had met Hagrid's half-brother, a vicious giant with a talent for ripping up trees by the roots, his vocabulary had comprised five words, two of which he was unable to pronounce properly. "Oh yeah, he's really come on," said Hagrid proudly. "Yeh'll be amazed. I'm thinkin' o' trainin' him up as me assistant." Ron snorted loudly, but managed to pass it off as a violent sneeze., Book: 4, Chapter: 6
Passage: "Don't you lie to me!" Mrs. Weasley pointed her wand at George's pocket and said, "Accio!" Several small, brightly colored objects zoomed out of George's pocket; he made a grab for them but missed, and they sped right into Mrs. Weasley's outstretched hand. "We told you to destroy them!" said Mrs. Weasley furiously, holding up what were unmistakably more Ton-Tongue Toffees. "We told you to get rid of the lot! Empty your pockets, go on, both of you!" It was an unpleasant scene; the twins had evidently been trying to smuggle as many toffees out of the house as possible, and it was only by using her Summoning Charm that Mrs. Weasley managed to find them all. "Accio! Accio!
pipeline_tag: sentence-similarity
library_name: sentence-transformers
metrics: cosine_accuracy
model-index: name: SentenceTransformer based on BAAI/bge-base-en-v1.5
results: task: type: triplet
name: Triplet
dataset: name: test eval
type: test-eval
metrics: type: cosine_accuracy
value: 0.8571428656578064
name: Cosine Accuracy
verified: no
Likes: 0 | All-time downloads: 47
Created: 2025-03-29 23:31:28