Model: CatkinChen/sentence-transformers_all-MiniLM-L6-v2_retrieval_finetuned_2025-03-29_23-44-08
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:sentence-transformers/all-MiniLM-L6-v2, base_model:finetune:sentence-transformers/all-MiniLM-L6-v2, model-index, text-embeddings-inference, endpoints_compatible, region:us
Base models (finetune): id: sentence-transformers/all-MiniLM-L6-v2
Card metadata: tags: sentence-transformers, sentence-similarity, feature-extraction, generated_from_trainer, dataset_size:309, loss:TripletLoss
base_model: sentence-transformers/all-MiniLM-L6-v2
widget: source_sentence: Who kills Dumbledore on the Astronomy Tower?
sentences: Book: 6, Chapter: 27
Passage: For the first time, Dumbledore was pleading. Snape said nothing, but walked forward and pushed Malfoy roughly out of the way. The three Death Eaters fell back without a word. Even the werewolf seemed cowed. Snape gazed for a moment at Dumbledore, and there was revulsion and hatred etched in the harsh lines of his face. "Severus ... please ..."
Snape raised his wand and pointed it directly at Dumbledore. "Avada Kedavra!" A jet of green light shot from the end of Snape's wand and hit Dumbledore squarely in the chest. Harry's scream of horror never left him; silent and unmoving, he was forced to watch as Dumbledore was blasted into the air. For a split second, he seemed to hang suspended beneath the shining skull, and then he fell slowly backward, like a great rag doll, over the battlements and out of sight., Book: 5, Chapter: 10
Passage: "No you're not," said Ginny sharply. "Neville Longbottom - Luna Lovegood. Luna's in my year, but in Ravenclaw." "Wit beyond measure is man's greatest treasure," said Luna in a singsong voice. She raised her upside-down magazine high enough to hide her face and fell silent. Harry and Neville looked at each other with their eyebrows raised. Ginny suppressed a giggle. The train rattled onward, speeding them out into open country. It was an odd, unsettled sort of day; one moment the carriage was full of sunlight and the next they were passing beneath ominously gray clouds. "Guess what I got for my birthday?" said Neville., Book: 6, Chapter: 25
Passage: If, say, her father was a wizard whose surname was Prince, and her mother was a Muggle, then that would make her a 'half-blood Prince'!" "Yeah, very ingenious, Hermione ..."
"But it would! Maybe she was proud of being half a Prince!" "Listen, Hermione, I can tell it's not a girl. I can just tell." "The truth is that you don't think a girl would have been clever enough," said Hermione angrily. "How can I have hung round with you for five years and not think girls are clever?" said Harry, stung by this. "It's the way he writes, I just know the Prince was a bloke, I can tell. This girl hasn't got anything to do with it. Where did you get this anyway?", source_sentence: What is the name of Voldemort's snake?
sentences: Book: 6, Chapter: 17
Passage: The Gaunts' house was now more indescribably filthy than anywhere Harry had ever seen. The ceiling was thick with cobwebs, the floor coated in grime; moldy and rotting food lay upon the table amidst a mass of crusted pots. The only light came from a single guttering candle placed at the feet of a man with hair and beard so overgrown Harry could see neither eyes nor mouth. He was slumped in an armchair by the fire, and Harry wondered for a moment whether he was dead. But then there came a loud knock on the door and the man jerked awake, raising a wand in his right hand and a short knife in his left. The door creaked open. There on the threshold, holding an old-fashioned lamp, stood a boy Harry recognized at once: tall, pale, dark-haired, and handsome - the teenage Voldemort. Voldemort's eyes moved slowly around the hovel and then found the man in the armchair. For a few seconds they looked at each other, then the man staggered upright, the many empty bottles at his feet clattering and tinkling across the floor., Book: 4, Chapter: 1
Passage: But quiet ... I think I hear Nagini. ..."
And the second man's voice changed. He started making noises such as Frank had never heard before; he was hissing and spitting without drawing breath. Frank thought he must be having some sort of fit or seizure. And then Frank heard movement behind him in the dark passageway., Book: 1, Chapter: 7
Passage: He swooped suddenly at them. They all ducked. "Go away, Peeves, or the Baron'll hear about this, I mean it!" barked Percy. Peeves stuck out his tongue and vanished, dropping the walking sticks on Neville's head. They heard him zooming away, rattling coats of armor as he passed. "You want to watch out for Peeves," said Percy, as they set off again. "The Bloody Baron's the only one who can control him, he won't even listen to us prefects. Here we are." At the very end of the corridor hung a portrait of a very fat woman in a pink silk dress. "Password?" she said. "Caput Draconis," said Percy, and the portrait swung forward to reveal a round hole in the wall. They all scrambled through it - Neville needed a leg up - and found themselves in the Gryffindor common room, a cozy, round room full of squashy armchairs. Percy directed the girls through one door to their dormitory and the boys through another., source_sentence: Who is the original owner of the Invisibility Cloak passed to Harry?
sentences: Book: 4, Chapter: 18
Passage: Bagman suddenly spotted Harry, got up quickly, and bounded forward. "Ah, here he is! Champion number four! In you come, Harry, in you come ... nothing to worry about, it's just the wand weighing ceremony, the rest of the judges will be here in a moment -"
"Wand weighing?" Harry repeated nervously., Book: 7, Chapter: 22
Passage: "Harry?" But he scarcely heard Hermione: He had pulled out his Invisibility Cloak and was running it through his fingers, the cloth supple as water, light as air. He had never seen anything to equal it in his nearly seven years in the Wizarding world. The Cloak was exactly what Xenophilius had described: 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. ...
And then, with a gasp, he remembered -
"Dumbledore had my Cloak the night my parents died!" His voice shook and he could feel the color in his face, but he did not care. "My mum told Sirius that Dumbledore borrowed the Cloak! This is why! He wanted to examine it, because he thought it was the third Hallow! Ignotus Peverell is buried in Godric's Hollow. ..." Harry was walking blindly around the tent, feeling as though great new vistas of truth were opening all around him. "He's my ancestor! I'm descended from the third brother! It all makes sense!", Book: 4, Chapter: 14
Passage: You've got to appreciate what the worst is. You don't want to find yourself in a situation where you're facing it. CONSTANT VIGILANCE!" he roared, and the whole class jumped again. "Now ... those three curses - Avada Kedavra, Imperius, and Cruciatus - are known as the Unforgivable Curses. The use of any one of them on a fellow human being is enough to earn a life sentence in Azkaban., source_sentence: What is the name of Hagrid's giant brother?
sentences: Book: 5, Chapter: 34
Passage: Harry wound his hand tightly into the mane of the nearest thestral, placed a foot on a stump nearby, and scrambled clumsily onto the horse's silken back. It did not object, but twisted its head around, fangs bared, and attempted to continue its eager licking of his robes. He found there was a way of lodging his knees behind the wing joints that made him feel more secure and looked around at the others. Neville had heaved himself over the back of the next thestral and was now attempting to swing one short leg over the creature's back. Luna was already in place, sitting sidesaddle and adjusting her robes as though she did this every day. Ron, Hermione, and Ginny, however, were still standing motionless on the spot, openmouthed and staring., Book: 1, Chapter: 10
Passage: Harry ripped open the letter first, which was lucky, because it said:
DO NOT OPEN THE PARCEL AT THE TABLE. It contains your new Nimbus Two Thousand, but I don't want everybody knowing you've got a broomstick or they'll all want one. Oliver Wood will meet you tonight on the Quidditch field at seven o'clock for your first training session. Professor M. McGonagall
Harry had difficulty hiding his glee as he handed the note to Ron to read. "A Nimbus Two Thousand!" Ron moaned enviously. "I've never even touched one.", Book: 5, Chapter: 30
Passage: "He don' know his own strength!" said Hagrid earnestly. "An' he's gettin' better, he's not fightin' so much anymore -"
"So this is why it took you two months to get home!" said Hermione distractedly. "Oh Hagrid, why did you bring him back if he didn't want to come, wouldn't he have been happier with his own people?" "They were all bullyin' him, Hermione, 'cause he's so small!" said Hagrid. "Small?" said Hermione. "Small?" "Hermione, I couldn' leave him," said Hagrid, tears now trickling down his bruised face into his beard. "See - he's my brother!" Hermione simply stared at him, her mouth open. "Hagrid, when you say 'brother,' " said Harry slowly, "do you mean - ?" "Well - half-brother," amended Hagrid. "Turns out me mother took up with another giant when she left me dad, an' she went an' had Grawp here -"
"Grawp?" said Harry. "Yeah ... well, tha's what it sounds like when he says his name," said Hagrid anxiously. "He don' speak a lot of English. ... I've bin tryin' ter teach him. ... Anyway, she don' seem ter have liked him much more'n she liked me., source_sentence: What is the name of the magical candy that explodes?
sentences: Book: 3, Chapter: 10
Passage: Harry reached the door at the top of the stairs, slipped through it, and found himself behind the counter of Honeydukes - he ducked, crept sideways, and then straightened up. Honeydukes was so crowded with Hogwarts students that no one looked twice at Harry. He edged among them, looking around, and suppressed a laugh as he imagined the look that would spread over Dudley's piggy face if he could see where Harry was now. There were shelves upon shelves of the most succulent-looking sweets imaginable. Creamy chunks of nougat, shimmering pink squares of coconut ice, fat, honey-colored toffees; hundreds of different kinds of chocolate in neat rows; there was a large barrel of Every Flavor Beans, and another of Fizzing Whizbees, the levitating sherbert balls that Ron had mentioned; along yet another wall were "Special Effects" sweets: Drooble's Best Blowing Gum (which filled a room with bluebell-colored bubbles that refused to pop for days), the strange, splintery Toothflossing Stringmints, tiny black Pepper Imps ("breathe fire for your friends! "), Ice Mice ("hear your teeth chatter and squeak! "), peppermint creams shaped like toads ("hop realistically in the stomach! "), fragile sugar-spun quills, and exploding bonbons. Harry squeezed himself through a crowd of sixth years and saw a sign hanging in the farthest corner of the shop (UNUSUAL TASTES)., Book: 2, Chapter: 8
Passage: But I mean to say - look at the fellow -"
"I think," said Harry hurriedly, at a meaningful look from Nick, "Nick's very - frightening and - er -"
"Ha!" yelled Sir Patrick's head. "Bet he asked you to say that!" "If I could have everyone's attention, it's time for my speech!" said Nearly Headless Nick loudly, striding toward the podium and climbing into an icy blue spotlight. "My late lamented lords, ladies, and gentlemen, it is my great sorrow ..."
But nobody heard much more. Sir Patrick and the rest of the Headless Hunt had just started a game of Head Hockey and the crowd were turning to watch. Nearly Headless Nick tried vainly to recapture his audience, but gave up as Sir Patrick's head went sailing past him to loud cheers. Harry was very cold by now, not to mention hungry., Book: 4, Chapter: 4
Passage: They glanced around as they entered and spotted Dudley. Their faces cracked into identical evil grins. "Ah, right," said Mr. Weasley. "Better get cracking then." He pushed up the sleeves of his robes and took out his wand. Harry saw the Dursleys draw back against the wall as one. "Incendio!" said Mr. Weasley, pointing his wand at the hole in the wall behind him. Flames rose at once in the fireplace, crackling merrily as though they had been burning for hours. Mr. Weasley took a small drawstring bag from his pocket, untied it, took a pinch of the powder inside, and threw it onto the flames, which turned emerald green and roared higher than ever. "Off you go then, Fred," said Mr. Weasley. "Coming," said Fred. "Oh no - hang on -"
A bag of sweets had spilled out of Fred's pocket and the contents were now rolling in every direction - big, fat toffees in brightly colored wrappers. Fred scrambled around, cramming them back into his pocket, then gave the Dursleys a cheery wave, stepped forward, and walked right into the fire, saying "the Burrow!" Aunt Petunia gave a little shuddering gasp.
pipeline_tag: sentence-similarity
library_name: sentence-transformers
metrics: cosine_accuracy
model-index: name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
results: task: type: triplet
name: Triplet
dataset: name: test eval
type: test-eval
metrics: type: cosine_accuracy
value: 0.800000011920929
name: Cosine Accuracy
verified: no
Likes: 0 | All-time downloads: 55
Created: 2025-03-29 23:44:31