Model: CatkinChen/sentence-transformers_all-MiniLM-L6-v2_retrieval_finetuned_2025-03-29_23-45-57
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: What creature does Hagrid introduce in his first Care of Magical Creatures lesson?
sentences: Book: 3, Chapter: 6
Passage: Everyone drew back slightly as Hagrid reached them and tethered the creatures to the fence. "Hippogriffs!" Hagrid roared happily, waving a hand at them. "Beau'iful, aren' they?" Harry could sort of see what Hagrid meant. Once you got over the first shock of seeing something that was half horse, half bird, you started to appreciate the hippogriffs' gleaming coats, changing smoothly from feather to hair, each of them a different color: stormy gray, bronze, pinkish roan, gleaming chestnut, and inky black. "So," said Hagrid, rubbing his hands together and beaming around, "if yeh wan' ter come a bit nearer -"
No one seemed to want to. Harry, Ron, and Hermione, however, approached the fence cautiously. "Now, firs' thing yeh gotta know abou' hippogriffs is, they're proud," said Hagrid. "Easily offended, hippogriffs are. Don't never insult one, 'cause it might be the last thing yeh do." Malfoy, Crabbe, and Goyle weren't listening; they were talking in an undertone and Harry had a nasty feeling they were plotting how best to disrupt the lesson. "Yeh always wait fer the hippogriff ter make the firs' move," Hagrid continued. "It's polite, see? Yeh walk toward him, and yeh bow, an' yeh wait. If he bows back, yeh're allowed ter touch him. If he doesn' bow, then get away from him sharpish, 'cause those talons hurt. "Right - who wants ter go first?" Most of the class backed farther away in answer. Even Harry, Ron, and Hermione had misgivings. The hippogriffs were tossing their fierce heads and flexing their powerful wings; they didn't seem to like being tethered like this. "No one?", Book: 7, Chapter: 36
Passage: A red-gold glow burst suddenly across the enchanted sky above them as an edge of dazzling sun appeared over the sill of the nearest window. The light hit both of their faces at the same time, so that Voldemort's was suddenly a flaming blur. Harry heard the high voice shriek as he too yelled his best hope to the heavens, pointing Draco's wand:
"Avada Kedavra!" "Expelliarmus!" The bang was like a cannon blast, and the golden flames that erupted between them, at the dead center of the circle they had been treading, marked the point where the spells collided. Harry saw Voldemort's green jet meet his own spell, saw the Elder Wand fly high, dark against the sunrise, spinning across the enchanted ceiling like the head of Nagini, spinning through the air toward the master it would not kill, who had come to take full possession of it at last. And Harry, with the unerring skill of the Seeker, caught the wand in his free hand as Voldemort fell backward, arms splayed, the slit pupils of the scarlet eyes rolling upward., Book: 3, Chapter: 17
Passage: Black stared up at him out of those sunken eyes. "I don't deny it," he said very quietly. "But if you knew the whole story." "The whole story?" Harry repeated, a furious pounding in his ears. "You sold them to Voldemort. That's all I need to know." "You've got to listen to me," Black said, and there was a note of urgency in his voice now. "You'll regret it if you don't. ... You don't understand. ..."
"I understand a lot better than you think," said Harry, and his voice shook more than ever. "You never heard her, did you? My mum ... trying to stop Voldemort killing me ... and you did that ... you did it., source_sentence: What is the name of Voldemort's snake?
sentences: Book: 4, Chapter: 20
Passage: But Harry didn't care, he wouldn't have cared if Karkaroff had given him zero; Ron's indignation on his behalf was worth about a hundred points to him. He didn't tell Ron this, of course, but his heart felt lighter than air as he turned to leave the enclosure. And it wasn't just Ron ... those weren't only Gryffindors cheering in the crowd. When it had come to it, when they had seen what he was facing, most of the school had been on his side as well as Cedric's. ... He didn't care about the Slytherins, he could stand whatever they threw at him now. "You're tied in first place, Harry! You and Krum!", 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: 5, Chapter: 33
Passage: She let out an earsplitting scream and threw her hands over her head while some of the centaurs bellowed their approval and others laughed raucously. The sound of their wild, neighing laughter echoing around the dimly lit clearing and the sight of their pawing hooves was extremely unnerving. "Whose forest is it now, human?" bellowed Bane. "Filthy half-breeds!" she screamed, her hands still tight over her head. "Beasts! Uncontrolled animals!" "Be quiet!" shouted Hermione, but it was too late - Umbridge pointed her wand at Magorian and screamed, "Incarcerous!", source_sentence: What object does Harry use to breathe underwater during the Triwizard Tournament?
sentences: Book: 1, Chapter: 12
Passage: Harry picked up the top parcel. It was wrapped in thick brown paper and scrawled across it was To Harry, from Hagrid. Inside was a roughly cut wooden flute. Hagrid had obviously whittled it himself. Harry blew it - it sounded a bit like an owl. A second, very small parcel contained a note. We received your message and enclose your Christmas present. From Uncle Vernon and Aunt Petunia. Taped to the note was a fifty-pence piece., Book: 4, Chapter: 26
Passage: "Right before you go into the lake, sir - gillyweed!" "What's it do?" said Harry, staring at the gillyweed. "It will make Harry Potter breathe underwater, sir!" "Dobby," said Harry frantically, "listen - are you sure about this?" He couldn't quite forget that the last time Dobby had tried to "help" him, he had ended up with no bones in his right arm. "Dobby is quite sure, sir!" said the elf earnestly. "Dobby hears things, sir, he is a house-elf, he goes all over the castle as he lights the fires and mops the floors. Dobby heard Professor McGonagall and Professor Moody in the staffroom, talking about the next task. ... Dobby cannot let Harry Potter lose his Wheezy!" Harry's doubts vanished. Jumping to his feet he pulled off the Invisibility Cloak, stuffed it into his bag, grabbed the gillyweed, and put it into his pocket, then tore out of the library with Dobby at his heels. "Dobby is supposed to be in the kitchens, sir!" Dobby squealed as they burst into the corridor., Book: 7, Chapter: 28
Passage: They forced their way through the hedge, and when she couldn't show them the trick, they got a bit carried away trying to stop the little freak doing it." Hermione's eyes were huge in the firelight; Ron looked slightly sick. Aberforth stood up, tall as Albus, and suddenly terrible in his anger and the intensity of his pain. "It destroyed her, what they did: She was never right again. She wouldn't use magic, but she couldn't get rid of it; it turned inward and drove her mad, it exploded out of her when she couldn't control it, and at times she was strange and dangerous. But mostly she was sweet and scared and harmless. "And my father went after the bastards that did it," said Aberforth, "and attacked them., source_sentence: What is the name of the Weasley family owl?
sentences: Book: 6, Chapter: 30
Passage: There were a few more cries of shock as a shower of arrows soared through the air, but they fell far short of the crowd. It was, Harry knew, the centaurs' tribute: He saw them turn tail and disappear back into the cool trees. Likewise, the merpeople sank slowly back into the green water and were lost from view. Harry looked at Ginny, Ron, and Hermione: Ron's face was screwed up as though the sunlight were blinding him. Hermione's face was glazed with tears, but Ginny was no longer crying. She met Harry's gaze with the same hard, blazing look that he had seen when she had hugged him after winning the Quidditch Cup in his absence, and he knew that at that moment they understood each other perfectly, and that when he told her what he was going to do now, she would not say, "Be careful," or "Don't do it," but accept his decision, because she would not have expected anything less of him. And so he steeled himself to say what he had known he must say ever since Dumbledore had died., Book: 1, Chapter: 7
Passage: "Are you sure? You could be great, you know, its all here in your head, and Slytherin will help you on the way to greatness, no doubt about that - no? Well, if you're sure - better be GRYFFINDOR!" Harry heard the hat shout the last word to the whole hall. He took off the hat and walked shakily toward the Gryffindor table. He was so relieved to have been chosen and not put in Slytherin, he hardly noticed that he was getting the loudest cheer yet., Book: 2, Chapter: 3
Passage: "I'm glad we came to get you, anyway," said Ron. "I was getting really worried when you didn't answer any of my letters. I thought it was Errol's fault at first -"
"Who's Errol?" "Our owl. He's ancient. It wouldn't be the first time he'd collapsed on a delivery. So then I tried to borrow Hermes -"
"Who?", source_sentence: What is the name of the spell that removes light?
sentences: Book: 3, Chapter: 17
Passage: He raised his eyebrows at her; she nodded again and let go. Quietly as they could, they crept out into the hall and up the crumbling staircase. Everything was covered in a thick layer of dust except the floor, where a wide shiny stripe had been made by something being dragged upstairs. They reached the dark landing. "Nox," they whispered together, and the lights at the end of their wands went out. Only one door was open. As they crept toward it, they heard movement from behind it; a low moan, and then a deep, loud purring. They exchanged a last look, a last nod. Wand held tightly before him, Harry kicked the door wide open., Book: 5, Chapter: 15
Passage: "Uh ... first year - you saved the Stone from You-Know-Who." "But that was luck," said Harry, "that wasn't skill -"
"Second year," Ron interrupted, "you killed the basilisk and destroyed Riddle." "Yeah, but if Fawkes hadn't turned up I -"
"Third year," said Ron, louder still, "you fought off about a hundred dementors at once -"
"You know that was a fluke, if the Time-Turner hadn't -"
"Last year," Ron said, almost shouting now, "you fought off You-Know-Who again -"
"Listen to me!" said Harry, almost angrily, because Ron and Hermione were both smirking now. "Just listen to me, all right? It sounds great when you say it like that, but all that stuff was luck - I didn't know what I was doing half the time, I didn't plan any of it, I just did whatever I could think of, and I nearly always had help -"
Ron and Hermione were still smirking and Harry felt his temper rise; he wasn't even sure why he was feeling so angry. "Don't sit there grinning like you know better than I do, I was there, wasn't I?" he said heatedly. "I know what went on, all right? And I didn't get through any of that because I was brilliant at Defense Against the Dark Arts, I got through it all because - because help came at the right time, or because I guessed right - but I just blundered through it all, I didn't have a clue what I was doing - STOP LAUGHING!" The bowl of murtlap essence fell to the floor and smashed. He became aware that he was on his feet, though he couldn't remember standing up. Crookshanks streaked away under a sofa; Ron and Hermione's smiles had vanished. "You don't know what it's like!, Book: 5, Chapter: 10
Passage: The Stinksap vanished. "Sorry," said Neville again, in a small voice. Ron and Hermione did not turn up for nearly an hour, by which time the food trolley had already gone by. Harry, Ginny, and Neville had finished their Pumpkin Pasties and were busy swapping Chocolate Frog cards when the compartment door slid open and they walked in, accompanied by Crookshanks and a shrilly hooting Pigwidgeon in his cage. "I'm starving," said Ron, stowing Pigwidgeon next to Hedwig, grabbing a Chocolate Frog from Harry and throwing himself into the seat next to him. He ripped open the wrapper, bit off the Frog's head, and leaned back with his eyes closed as though he had had a very exhausting morning. "Well, there are two fifth-year prefects from each House," said Hermione, looking thoroughly disgruntled as she took her seat. "Boy and girl from each." "And guess who's a Slytherin prefect?" said Ron, still with his eyes closed. "Malfoy," replied Harry at once, his worst fear confirmed.
" 'Course," said Ron bitterly, stuffing the rest of the Frog into his mouth and taking another. "And that complete cow Pansy Parkinson," said Hermione viciously. "How she got to be a prefect when she's thicker than a concussed troll ..."
"Who's Hufflepuff?" Harry asked. "Ernie Macmillan and Hannah Abbott," said Ron thickly. "And Anthony Goldstein and Padma Patil for Ravenclaw," said Hermione. "You went to the Yule Ball with Padma Patil," said a vague voice.
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.8857142925262451
name: Cosine Accuracy
verified: no
Likes: 0 | All-time downloads: 10
Created: 2025-03-29 23:47:28