Model: CatkinChen/BAAI_bge-base-en-v1.5_retrieval_finetuned_2025-04-07_21-26-50
Author: CatkinChen
Pipeline: sentence-similarity
Library: sentence-transformers
Tags: sentence-transformers, safetensors, bert, sentence-similarity, feature-extraction, generated_from_trainer, dataset_size:464, loss:MultipleNegativesRankingLoss, arxiv:1908.10084, arxiv:1705.00652, 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:464, loss:MultipleNegativesRankingLoss
base_model: BAAI/bge-base-en-v1.5
widget: source_sentence: What animal does Harry's Patronus take the form of?
sentences: She then rapped three times on the thick black door, which was studded with iron nails and bore a knocker shaped like an eagle. Barely ten seconds passed, then the door was flung open and there stood Xenophilius Lovegood, barefoot and wearing what appeared to be a stained nightshirt. His long white candyfloss hair was dirty and unkempt. Xenophilius had been positively dapper at Bill and Fleur's wedding by comparison. "What? What is it? Who are you? What do you want?", "Stab," said Harry, holding the locket steady on the rock. Ron raised the sword in his shaking hands: The point dangled over the frantically swiveling eyes, and Harry gripped the locket tightly, bracing himself, already imagining blood pouring from the empty windows. Then a voice hissed from out of the Horcrux. "I have seen your heart, and it is mine." "Don't listen to it!" Harry said harshly. "Stab it!", "Very well, thank you," said Luna. She was clutching a magazine to her chest; large letters on the front announced that there was a pair of free Spectrespecs inside. "Quibbler still going strong, then?" asked Harry, who felt a certain fondness for the magazine, having given it an exclusive interview the previous year. "Oh yes, circulation's well up," said Luna happily. "Let's find seats," said Harry, and the three of them set off along the train through hordes of silently staring students., "I trust that you also noticed that Tom Riddle was already highly self-sufficient, secretive, and, apparently, friendless? He did not want help or companionship on his trip to Diagon Alley. He preferred to operate alone. The adult Voldemort is the same. You will hear many of his Death Eaters claiming that they are in his confidence, that they alone are close to him, even understand him. They are deluded. Lord Voldemort has never had a friend, nor do I believe that he has ever wanted one. "And lastly - I hope you are not too sleepy to pay attention to this, Harry - the young Tom Riddle liked to collect trophies. You saw the box of stolen articles he had hidden in his room. These were taken from victims of his bullying behavior, souvenirs, if you will, of particularly unpleasant bits of magic. Bear in mind this magpie-like tendency, for this, particularly, will be important later. "And now, it really is time for bed.", And we've met them, and they're happy. They think they've got the best job in the world -"
"That's because they're uneducated and brainwashed!" Hermione began hotly, but her next few words were drowned out by the sudden whooshing noise from overhead, which announced the arrival of the post owls. Harry looked up at once, and saw Hedwig soaring toward him. Hermione stopped talking abruptly; she and Ron watched Hedwig anxiously as she fluttered down onto Harry's shoulder, folded her wings, and held out her leg wearily. Harry pulled off Sirius's reply and offered Hedwig his bacon rinds, which she ate gratefully., It wasn't a horse. It wasn't a unicorn, either. It was a stag. It was shining brightly as the moon above ... it was coming back to him. ... It stopped on the bank., source_sentence: What does Harry use to destroy the diary in the second book, and how does this object reappear in the seventh book?
sentences: The basilisk!" "What the - ?" "Something to get rid of Horcruxes," said Ron simply. Harry's eyes dropped to the objects clutched in Ron and Hermione's arms: great curved fangs, torn, he now realized, from the skull of a dead basilisk. "But how did you get in there?", He crept along the corridor below, pushed aside a tapestry about halfway along, and proceeded down a narrower staircase, a shortcut that would take him down two floors. He kept glancing down at the map, wondering ... It just didn't seem in character, somehow, for correct, law-abiding Mr. Crouch to be sneaking around somebody else's office this late at night. ...
And then, halfway down the staircase, not thinking about what he was doing, not concentrating on anything but the peculiar behavior of Mr. Crouch, Harry's leg suddenly sank right through the trick step Neville always forgot to jump. He gave an ungainly wobble, and the golden egg, still damp from the bath, slipped from under his arm. He lurched forward to try and catch it, but too late; the egg fell down the long staircase with a bang as loud as a bass drum on every step - the Invisibility Cloak slipped - Harry snatched at it, and the Marauder's Map fluttered out of his hand and slid down six stairs, where, sunk in the step to above his knee, he couldn't reach it., "I want a word!" Utterly bewildered, Harry stared at the fire. A large shape had appeared in it, revolving very fast. Seconds later, Professor Lupin was clambering out of the fireplace, brushing ash off his shabby robes. "You called, Severus?" said Lupin mildly. "I certainly did," said Snape, his face contorted with fury as he strode back to his desk. "I have just asked Potter to empty his pockets. He was carrying this." Snape pointed at the parchment, on which the words of Messrs. Moony, Wormtail, Padfoot, and Prongs were still shining. An odd, closed expression appeared on Lupin's face. "Well?", And anyway ... remember Norbert? Remember Aragog? Have we ever come off better for mixing with any of Hagrid's monster mates?" "I know, it's just that - we promised," said Hermione in a small voice. Ron smoothed his hair flat again, looking preoccupied., "I'm mentioned," said Mr. Weasley, his eyes widening behind his glasses as he reached the bottom of the Daily Prophet article. "Where?" spluttered Mrs. Weasley, choking on her tea and whiskey. "If I'd seen that, I'd have known you were alive!" "Not by name," said Mr. Weasley., They haven't even got teeth!" Crabbe was sniggering, apparently very pleased with himself. "Well, I think this should put an end to the oaf's teaching career," said Malfoy, his eyes glinting. "Half-giant ... and there was me thinking he'd just swallowed a bottle of Skele-Gro when he was young. ... None of the mummies and daddies are going to like this at all. ... They'll be worried he'll eat their kids, ha, ha. ..."
"You -"
"Are you paying attention over there?", source_sentence: What does Ron sacrifice during the chess game in the first book, and how does this reflect his role in the seventh book?
sentences: "Ron, we're the only ones who can end it! Please - Ron - we need the snake, we've got to kill the snake!" said Hermione. But Harry knew how Ron felt: Pursuing another Horcrux could not bring the satisfaction of revenge; he too wanted to fight, to punish them, the people who had killed Fred, and he wanted to find the other Weasleys, and above all make sure, make quite sure, that Ginny was not - but he could not permit that idea to form in his mind -
"We will fight!" Hermione said. "We'll have to, to reach the snake! But let's not lose sight now of what we're supposed to be d-doing! We're the only ones who can end it!", I'll go and get one of our other ancient goblin-made swords and you can gift wrap it." Silence fell between them again. Harry was sure that the goblin would accept nothing but the sword, even if they had something as valuable to offer him. Yet the sword was their one, indispensable weapon against the Horcruxes. He closed his eyes for a moment or two and listened to the rush of the sea., His surly face darkened as he surveyed Harry. Cedric looked nonplussed. He looked from Bagman to Harry and back again as though sure he must have misheard what Bagman had said. Fleur Delacour, however, tossed her hair, smiling, and said, "Oh, vairy funny joke, Meester Bagman." "Joke?" Bagman repeated, bewildered. "No, no, not at all! Harry's name just came out of the Goblet of Fire!" Krum's thick eyebrows contracted slightly. Cedric was still looking politely bewildered., Indeed, whenever Harry saw the two of them together - at mealtimes, or when they passed in the corridors - he had the distinct impression that Snape was avoiding Moody's eye, whether magical or normal. "I reckon Snape's a bit scared of him, you know," Harry said thoughtfully. "Imagine if Moody turned Snape into a horned toad," said Ron, his eyes misting over, "and bounced him all around his dungeon. ..."
The Gryffindor fourth years were looking forward to Moody's first lesson so much that they arrived early on Thursday lunchtime and queued up outside his classroom before the bell had even rung. The only person missing was Hermione, who turned up just in time for the lesson. "Been in the -"
"Library." Harry finished her sentence for her. "C'mon, quick, or we won't get decent seats." They hurried into three chairs right in front of the teacher's desk, took out their copies of The Dark Forces: A Guide to Self-Protection, and waited, unusually quiet. Soon they heard Moody's distinctive clunking footsteps coming down the corridor, and he entered the room, looking as strange and frightening as ever. They could just see his clawed, wooden foot protruding from underneath his robes. "You can put those away," he growled, stumping over to his desk and sitting down, "those books. You won't need them." They returned the books to their bags, Ron looking excited., "Hagrid did well, didn't he?" said Ron, who looked more alarmed than impressed. "How come all the spells bounced off him?" "It'll be his giant blood," said Hermione shakily. "It's very hard to Stun a giant, they're like trolls, really tough. ... But poor Professor McGonagall. ... Four Stunners straight in the chest, and she's not exactly young, is she?" "Dreadful, dreadful," said Ernie, shaking his head pompously., He couldn't hear Crouch's voice anymore, but he knew where he was going; it hadn't been much past the Beauxbatons carriage ... somewhere around here. ... "Viktor?" Harry shouted. No one answered. "They were here," Harry said to Dumbledore. "They were definitely somewhere around here., source_sentence: What magical object helps Harry find the Room of Requirement?
sentences: Harry didn't have a very clear idea of how he had managed to get back into the Honeydukes cellar, through the tunnel, and into the castle once more. All he knew was that the return trip seemed to take no time at all, and that he hardly noticed what he was doing, because his head was still pounding with the conversation he had just heard. Why had nobody ever told him? Dumbledore, Hagrid, Mr. Weasley, Cornelius Fudge ... why hadn't anyone ever mentioned the fact that Harry's parents had died because their best friend had betrayed them? Ron and Hermione watched Harry nervously all through dinner, not daring to talk about what they'd overheard, because Percy was sitting close by them. When they went upstairs to the crowded common room, it was to find Fred and George had set off half a dozen Dungbombs in a fit of end-of-term high spirits. Harry, who didn't want Fred and George asking him whether he'd reached Hogsmeade or not, sneaked quietly up to the empty dormitory and headed straight for his bedside cabinet. He pushed his books aside and quickly found what he was looking for - the leather-bound photo album Hagrid had given him two years ago, which was full of wizard pictures of his mother and father. He sat down on his bed, drew the hangings around him, and started turning the pages, searching, until ... He stopped on a picture of his parents' wedding day., Everything looked so strange, somehow. "You all right, Harry? Yer very quiet," said Hagrid. Harry wasn't sure he could explain. He'd just had the best birthday of his life - and yet - he chewed his hamburger, trying to find the words. "Everyone thinks I'm special," he said at last. "All those people in the Leaky Cauldron, Professor Quirrell, Mr. Ollivander ... but I don't know anything about magic at all. How can they expect great things? I'm famous and I can't even remember what I'm famous for. I don't know what happened when Vol-, sorry - I mean, the night my parents died." Hagrid leaned across the table. Behind the wild beard and eyebrows he wore a very kind smile., ... Come on, we'd better get going. ..."
He pulled out the Marauder's Map again and checked it carefully for signs of teachers on the seventh floor. He let them all leave in threes and fours, watching their tiny dots anxiously to see that they returned safely to their dormitories: the Hufflepuffs to the basement corridor that also led to the kitchens, the Ravenclaws to a tower on the west side of the castle, and the Gryffindors along the corridor to the seventh floor and the Fat Lady's portrait. "That was really, really good, Harry," said Hermione, when finally it was just her, Harry, and Ron left. "Yeah, it was!" said Ron enthusiastically, as they slipped out of the door and watched it melt back into stone behind them. "Did you see me disarm Hermione, Harry?" "Only once," said Hermione, stung. "I got you loads more than you got me -"
"I did not only get you once, I got you at least three times -"
"Well, if you're counting the one where you tripped over your own feet and knocked the wand out of my hand -"
They argued all the way back to the common room, but Harry was not listening to them. He had one eye on the Marauder's Map, but he was also thinking of how Cho had said he made her nervous. ..., "HAGRID?" He stumbled toward the burning house as an enormous figure emerged from out of the flames carrying Fang on his back. With a cry of thankfulness, Harry sank to his knees; he was shaking in every limb, his body ached all over, and his breath came in painful stabs. "Yeh all righ', Harry? Yeh all righ'? Speak ter me, Harry. ..."
Hagrid's huge, hairy face was swimming above Harry, blocking out the stars. Harry could smell burnt wood and dog hair; he put out a hand and felt Fang's reassuringly warm and alive body quivering beside him. "I'm all right," panted Harry. "Are you?" " 'Course I am ... take more'n that ter finish me." Hagrid put his hands under Harry's arms and raised him up with such force that Harry's feet momentarily left the ground before Hagrid set him upright again. He could see blood trickling down Hagrid's cheek from a deep cut under one eye, which was swelling rapidly., And now a positively dangerous look crept over Aberforth's face. "Grindelwald. And at last, my brother had an equal to talk to, someone just as bright and talented as he was. And looking after Ariana took a backseat then, while they were hatching all their plans for a new Wizarding order, and looking for Hallows, and whatever else it was they were so interested in. Grand plans for the benefit of all Wizardkind, and if one young girl got neglected, what did that matter, when Albus was working for the greater good? "But after a few weeks of it, I'd had enough, I had. It was nearly time for me to go back to Hogwarts, so I told 'em, both of 'em, face-to-face, like I am to you, now," and Aberforth looked down at Harry, and it took little imagination to see him as a teenager, wiry and angry, confronting his elder brother. "I told him, you'd better give it up now. You can't move her, she's in no fit state, you can't take her with you, wherever it is you're planning to go, when you're making your clever speeches, trying to whip yourselves up a following., "I can, can't I?" "Professor Dumbledore says you are to be allowed to go," she said sniffily, as though in her opinion Professor Dumbledore didn't realize how risky feasts could be. "And you have another visitor." "Oh, good," said Harry. "Who is it?" Hagrid sidled through the door as he spoke. As usual when he was indoors, Hagrid looked too big to be allowed. He sat down next to Harry, took one look at him, and burst into tears. "It's - all - my - ruddy - fault!" he sobbed, his face in his hands. "I told the evil git how ter get past Fluffy! I told him! It was the only thing he didn't know, an' I told him! Yeh could've died! All fer a dragon egg! I'll never drink again! I should be chucked out an' made ter live as a Muggle!", source_sentence: Who replaces Hagrid as Care of Magical Creatures teacher?
sentences: "... I don' reckon it'd be safe fer anyone but me ter go near the colony at the mo'," Hagrid finished, blowing his nose hard on his apron and looking up. "But thanks fer offerin', Hermione. ... It means a lot. ..."
After that, the atmosphere lightened considerably, for although neither Harry nor Ron had shown any inclination to go and feed giant grubs to a murderous, gargantuan spider, Hagrid seemed to take it for granted that they would have liked to have done and became his usual self once more. "Ar, I always knew yeh'd find it hard ter squeeze me inter yer timetables," he said gruffly, pouring them more tea. "Even if yeh applied fer Time-Turners -"
"We couldn't have done," said Hermione. "We smashed the entire stock of Ministry Time-Turners when we were there last summer., Once or twice, Sirius made a noise as though about to say something, his hand still tight on Harry's shoulder, but Dumbledore raised his hand to stop him, and Harry was glad of this, because it was easier to keep going now he had started. It was even a relief; he felt almost as though something poisonous were being extracted from him. It was costing him every bit of determination he had to keep talking, yet he sensed that once he had finished, he would feel better. When Harry told of Wormtail piercing his arm with the dagger, however, Sirius let out a vehement exclamation and Dumbledore stood up so quickly that Harry started. Dumbledore walked around the desk and told Harry to stretch out his arm. Harry showed them both the place where his robes were torn and the cut beneath them., The Delacours, it soon transpired, were helpful, pleasant guests. They were pleased with everything and keen to assist with the preparations for the wedding. Monsieur Delacour pronounced everything from the seating plan to the bridesmaids' shoes "Charmant!" Madame Delacour was most accomplished at household spells and had the oven properly cleaned in a trice; Gabrielle followed her elder sister around, trying to assist in any way she could and jabbering away in rapid French. On the downside, the Burrow was not built to accommodate so many people. Mr. and Mrs. Weasley were now sleeping in the sitting room, having shouted down Monsieur and Madame Delacour's protests and insisted they take their bedroom. Gabrielle was sleeping with Fleur in Percy's old room, and Bill would be sharing with Charlie, his best man, once Charlie arrived from Romania. Opportunities to make plans together became virtually nonexistent, and it was in desperation that Harry, Ron, and Hermione took to volunteering to feed the chickens just to escape the overcrowded house. "But she still won't leave us alone!" snarled Ron, as their second attempt at a meeting in the yard was foiled by the appearance of Mrs. Weasley carrying a large basket of laundry in her arms. "Oh, good, you've fed the chickens," she called as she approached them. "We'd better shut them away again before the men arrive tomorrow ... to put up the tent for the wedding," she explained, pausing to lean against the henhouse., said Harry, staring at Krum's dark head as it bobbed out into the middle of the lake. "It must be freezing, it's January!" "It's a lot colder where he comes from," said Hermione. "I suppose it feels quite warm to him." "Yeah, but there's still the giant squid," said Ron. He didn't sound anxious - if anything, he sounded hopeful. Hermione noticed his tone of voice and frowned. "He's really nice, you know," she said. "He's not at all like you'd think, coming from Durmstrang. He likes it much better here, he told me." Ron said nothing. He hadn't mentioned Viktor Krum since the ball, but Harry had found a miniature arm under his bed on Boxing Day, which had looked very much as though it had been snapped off a small model figure wearing Bulgarian Quidditch robes. Harry kept his eyes skinned for a sign of Hagrid all the way down the slushy High Street, and suggested a visit to the Three Broomsticks once he had ascertained that Hagrid was not in any of the shops. The pub was as crowded as ever, but one quick look around at all the tables told Harry that Hagrid wasn't there., Umbridge took a different tack in this class and wandered among the students, questioning them on magical creatures. Most people were able to answer well and Harry's spirits lifted somewhat; at least the class was not letting Hagrid down. "Overall," said Professor Umbridge, returning to Professor Grubbly-Plank's side after a lengthy interrogation of Dean Thomas, "how do you, as a temporary member of staff - an objective outsider, I suppose you might say - how do you find Hogwarts? Do you feel you receive enough support from the school management?" "Oh, yes, Dumbledore's excellent," said Professor Grubbly-Plank heartily. "No, I'm very happy with the way things are run, very happy indeed." Looking politely incredulous, Umbridge made a tiny note on her clipboard and went on, "And what are you planning to cover with this class this year - assuming, of course, that Professor Hagrid does not return?" "Oh, I'll take them through the creatures that most often come up in O.W.L.," said Professor Grubbly-Plank. "Not much left to do - they've studied unicorns and nifflers, I thought we'd cover porlocks and kneazles, make sure they can recognize crups and knarls, you know. ..."
"Well, you seem to know what you're doing, at any rate," said Professor Umbridge, making a very obvious tick on her clipboard. Harry did not like the emphasis she put on "you" and liked it even less when she put her next question to Goyle: "Now, I hear there have been injuries in this class?" Goyle gave a stupid grin. Malfoy hastened to answer the question. "That was me," he said. "I was slashed by a hippogriff." "A hippogriff?" said Professor Umbridge, now scribbling frantically. "Only because he was too stupid to listen to what Hagrid told him to do," said Harry angrily. Both Ron and Hermione groaned. Professor Umbridge turned her head slowly in Harry's direction., This pair I'm talking about went and splinched themselves." Everyone around the table except Harry winced. "Er - splinched?" said Harry. "They left half of themselves behind," said Mr. Weasley, now spooning large amounts of treacle onto his porridge. "So, of course, they were stuck. Couldn't move either way. Had to wait for the Accidental Magic Reversal Squad to sort them out. Meant a fair old bit of paperwork, I can tell you, what with the Muggles who spotted the body parts they'd left behind. ..."
Harry had a sudden vision of a pair of legs and an eyeball lying abandoned on the pavement of Privet Drive.
pipeline_tag: sentence-similarity
library_name: sentence-transformers
metrics: cosine_accuracy@1, cosine_accuracy@3, cosine_accuracy@5, cosine_accuracy@10, cosine_precision@1, cosine_precision@3, cosine_precision@5, cosine_precision@10, cosine_recall@1, cosine_recall@3, cosine_recall@5, cosine_recall@10, cosine_ndcg@10, cosine_mrr@10, cosine_map@100
model-index: name: SentenceTransformer based on BAAI/bge-base-en-v1.5
results: task: type: information-retrieval
name: Information Retrieval
dataset: name: Unknown
type: unknown
metrics: type: cosine_accuracy@1
value: 0.2345679012345679
name: Cosine Accuracy@1
verified: no, type: cosine_accuracy@3
value: 0.35802469135802467
name: Cosine Accuracy@3
verified: no, type: cosine_accuracy@5
value: 0.37037037037037035
name: Cosine Accuracy@5
verified: no, type: cosine_accuracy@10
value: 0.4074074074074074
name: Cosine Accuracy@10
verified: no, type: cosine_precision@1
value: 0.2345679012345679
name: Cosine Precision@1
verified: no, type: cosine_precision@3
value: 0.12345679012345678
name: Cosine Precision@3
verified: no, type: cosine_precision@5
value: 0.07654320987654321
name: Cosine Precision@5
verified: no, type: cosine_precision@10
value: 0.04567901234567901
name: Cosine Precision@10
verified: no, type: cosine_recall@1
value: 0.18930041152263374
name: Cosine Recall@1
verified: no, type: cosine_recall@3
value: 0.2921810699588477
name: Cosine Recall@3
verified: no, type: cosine_recall@5
value: 0.29835390946502055
name: Cosine Recall@5
verified: no, type: cosine_recall@10
value: 0.3395061728395062
name: Cosine Recall@10
verified: no, type: cosine_ndcg@10
value: 0.2809797520786232
name: Cosine Ndcg@10
verified: no, type: cosine_mrr@10
value: 0.29475308641975306
name: Cosine Mrr@10
verified: no, type: cosine_map@100
value: 0.2537505806349292
name: Cosine Map@100
verified: no
Likes: 0 | All-time downloads: 8
Created: 2025-04-07 13:34:24