Model: CatkinChen/BAAI_bge-base-en-v1.5_retrieval_finetuned_2025-04-05_23-00-04
Author: CatkinChen
Pipeline: sentence-similarity
Library: sentence-transformers
Tags: sentence-transformers, safetensors, bert, sentence-similarity, feature-extraction, generated_from_trainer, dataset_size:470, loss:MultipleNegativesRankingLoss_self, 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:470, loss:MultipleNegativesRankingLoss_self
base_model: BAAI/bge-base-en-v1.5
widget: source_sentence: Represent this sentence for searching relevant passages: What does Harry discover about the Mirror of Erised in the first book, and how does this relate to a revelation in the seventh book?
sentences: The weather did not improve as the day wore on, so that at seven o'clock that evening, when Harry and Ron went down to the Quidditch pitch for practice, they were soaked through within minutes, their feet slipping and sliding on the sodden grass. The sky was a deep, thundery gray and it was a relief to gain the warmth and light of the changing rooms, even if they knew the respite was only temporary. They found Fred and George debating whether to use one of their own Skiving Snackboxes to get out of flying. "- but I bet she'd know what we'd done," Fred said out of the corner of his mouth. "If only I hadn't offered to sell her some Puking Pastilles yesterday -"
"We could try the Fever Fudge," George muttered, "no one's seen that yet -"
"Does it work?" inquired Ron hopefully, as the hammering of rain on the roof intensified and wind howled around the building. "Well, yeah," said Fred, "your temperature'll go right up -"
"- but you get these massive pus-filled boils too," said George, "and we haven't worked out how to get rid of them yet." "I can't see any boils," said Ron, staring at the twins. "No, well, you wouldn't," said Fred darkly, "they're not in a place we generally display to the public -"
"- but they make sitting on a broom a right pain in the -"
"All right, everyone, listen up," said Angelina loudly, emerging from the Captain's office., "At Borgin and Burkes," repeated Dumbledore calmly. "I think you will see what attractions the place held for him when we have entered Hokey's memory. But this was not Voldemort's first choice of job. Hardly anyone knew of it at the time - I was one of the few in whom the then headmaster confided - but Voldemort first approached Professor Dippet and asked whether he could remain at Hogwarts as a teacher." "He wanted to stay here? Why?" asked Harry, more amazed still. "I believe he had several reasons, though he confided none of them to Professor Dippet," said Dumbledore., "Outside Snape's office, yes," whispered Hermione, her eyes sparkling with tears, "with Luna. We hung around for ages outside it and nothing happened. ... We didn't know what was going on upstairs, Ron had taken the map. ... It was nearly midnight when Professor Flitwick came sprinting down into the dungeons., "They're not!" roared Ron. "Lynch is!" yelled Harry. And he was right - for the second time, Lynch hit the ground with tremendous force and was immediately stampeded by a horde of angry veela. "The Snitch, where's the Snitch?" bellowed Charlie, along the row. "He's got it - Krum's got it - it's all over!" shouted Harry., Harry released Neville, though he was unaware of doing so. He was jumping down the steps again, pulling out his wand, as Dumbledore turned to the dais too. It seemed to take Sirius an age to fall. His body curved in a graceful arc as he sank backward through the ragged veil hanging from the arch. ...
And Harry saw the look of mingled fear and surprise on his godfather's wasted, once-handsome face as he fell through the ancient doorway and disappeared behind the veil, which fluttered for a moment as though in a high wind and then fell back into place. Harry heard Bellatrix Lestrange's triumphant scream, but knew it meant nothing - Sirius had only just fallen through the archway, he would reappear from the other side any second. ... But Sirius did not reappear. "SIRIUS!" Harry yelled, "SIRIUS!" He had reached the floor, his breath coming in searing gasps. Sirius must be just behind the curtain, he, Harry, would pull him back out again. ... But as he reached the ground and sprinted toward the dais, Lupin grabbed Harry around the chest, holding him back. "There's nothing you can do, Harry -"
"Get him, save him, he's only just gone through!" "It's too late, Harry -"
"We can still reach him -"
Harry struggled hard and viciously, but Lupin would not let go. ...
"There's nothing you can do, Harry ... nothing. ... He's gone.", The Resurrection Stone slipped from between his numb fingers, and out of the corner of his eyes he saw his parents, Sirius, and Lupin vanish as he stepped forward into the firelight. At that moment he felt that nobody mattered but Voldemort. It was just the two of them. The illusion was gone as soon as it had come. The giants roared as the Death Eaters rose together, and there were many cries, gasps, even laughter. Voldemort had frozen where he stood, but his red eyes had found Harry, and he stared as Harry moved toward him, with nothing but the fire between them., source_sentence: Represent this sentence for searching relevant passages: What is the name of the spell that reveals hidden messages?
sentences: There's nothing written in his diary." But Hermione was pulling her wand out of her bag. "It might be invisible ink!" she whispered. She tapped the diary three times and said, "Aparecium!" Nothing happened. Undaunted, Hermione shoved her hand back into her bag and pulled out what appeared to be a bright red eraser., He was looking over at Harry as he spoke. Crabbe and Goyle chuckled. Harry, who was measuring out powdered spine of lion-fish, ignored them. Malfoy had been even more unpleasant than usual since the Quidditch match. Disgusted that the Slytherins had lost, he had tried to get everyone laughing at how a wide-mouthed tree frog would be replacing Harry as Seeker next. Then he'd realized that nobody found this funny, because they were all so impressed at the way Harry had managed to stay on his bucking broomstick. So Malfoy, jealous and angry, had gone back to taunting Harry about having no proper family., Their first real shock came when their other knight was taken. The white queen smashed him to the floor and dragged him off the board, where he lay quite still, facedown. "Had to let that happen," said Ron, looking shaken. "Leaves you free to take that bishop, Hermione, go on." Every time one of their men was lost, the white pieces showed no mercy. Soon there was a huddle of limp black players slumped along the wall. Twice, Ron only just noticed in time that Harry and Hermione were in danger. He himself darted around the board, taking almost as many white pieces as they had lost black ones., "So," he said, with a nasty inflection in his voice, before turning immediately to Magorian. "We agreed, I think, what we would do if this human showed his face in the forest again?" " 'This human' now, am I?" said Hagrid testily. "Jus' fer stoppin' all of yeh committin' murder?" "You ought not to have meddled, Hagrid," said Magorian. "Our ways are not yours, nor are our laws., Harry handed it over, panting, a searing pain in his chest, and waited. One by one, Snape extracted Harry's books and examined them. Finally, the only book left was the Potions book, which he looked at very carefully before speaking. "This is your copy of Advanced Potion-Making, is it, Potter?" "Yes," said Harry, still breathing hard. "You're quite sure of that, are you, Potter?" "Yes," said Harry, with a touch more defiance. "This is the copy of Advanced Potion-Making that you purchased from Flourish and Blotts?" "Yes," said Harry firmly. "Then why," asked Snape, "does it have the name 'Roonil Wazlib' written inside the front cover?" Harry's heart missed a beat. "That's my nickname," he said., howled Professor Trelawney, tears streaming down her face from behind her enormous lenses, "you c-can't sack me! I've b-been here sixteen years! H-Hogwarts is m-my h-home!" "It was your home," said Professor Umbridge, and Harry was revolted to see the enjoyment stretching her toadlike face as she watched Professor Trelawney sink, sobbing uncontrollably, onto one of her trunks, "until an hour ago, when the Minister of Magic countersigned the order for your dismissal. Now kindly remove yourself from this hall. You are embarrassing us.", source_sentence: Represent this sentence for searching relevant passages: Who is the supposed criminal believed to be after Harry?
sentences: "He looks like one good hex would finish him off, doesn't he? Anyway ..." He turned to Harry. "What were you going to tell us?" Harry explained all about Mr. and Mrs. Weasley's argument and the warning Mr. Weasley had just given him. When he'd finished, Ron looked thunderstruck, and Hermione had her hands over her mouth. She finally lowered them to say, "Sirius Black escaped to come after you? Oh, Harry ... you'll have to be really, really careful. Don't go looking for trouble, Harry -"
"I don't go looking for trouble," said Harry, nettled. "Trouble usually finds me." "How thick would Harry have to be, to go looking for a nutter who wants to kill him?", The door slammed shut and at the same moment a loud crack echoed inside the cellar. Ron clicked the Deluminator. Three balls of light flew back into the air from his pocket, revealing Dobby the house-elf, who had just Apparated into their midst. "DOB - !" Harry hit Ron on the arm to stop him shouting, and Ron looked terrified at his mistake. Footsteps crossed the ceiling overhead: Draco marching Griphook to Bellatrix. Dobby's enormous, tennis-ball-shaped eyes were wide; he was trembling from his feet to the tips of his ears., "I'm sorry you think so," said Doge, more coldly still. "I assure you I was writing from the heart." "Oh, we all know you worshipped Dumbledore; I daresay you'll still think he was a saint even if it does turn out that he did away with his Squib sister!" "Muriel!" exclaimed Doge. A chill that had nothing to do with the iced champagne was stealing through Harry's chest. "What do you mean?", Bellatrix raised her wand. "Crucio!" Neville screamed, his legs drawn up to his chest so that the Death Eater holding him was momentarily holding him off the ground. The Death Eater dropped him and he fell to the floor, twitching and screaming in agony. "That was just a taster!" said Bellatrix, raising her wand so that Neville's screams stopped and he lay sobbing at her feet. She turned and gazed up at Harry. "Now, Potter, either give us the prophecy, or watch your little friend die the hard way!" Harry did not have to think; there was no choice. The prophecy was hot with the heat from his clutching hand as he held it out., Harry said furiously. "Look at the Dursleys!" "An excellent point," said Professor Dumbledore. "My own brother, Aberforth, was prosecuted for practicing inappropriate charms on a goat. It was all over the papers, but did Aberforth hide? No, he did not! He held his head high and went about his business as usual! Of course, I'm not entirely sure he can read, so that may not have been bravery. ..."
"Come back and teach, Hagrid," said Hermione quietly, "please come back, we really miss you." Hagrid gulped. More tears leaked out down his cheeks and into his tangled beard. Dumbledore stood up. "I refuse to accept your resignation, Hagrid, and I expect you back at work on Monday," he said., The photographs took a long time. Madame Maxime cast everyone else into shadow wherever she stood, and the photographer couldn't stand far enough back to get her into the frame; eventually she had to sit while everyone else stood around her. Karkaroff kept twirling his goatee around his finger to give it an extra curl; Krum, whom Harry would have thought would have been used to this sort of thing, skulked, half-hidden, at the back of the group. The photographer seemed keenest to get Fleur at the front, but Rita Skeeter kept hurrying forward and dragging Harry into greater prominence. Then she insisted on separate shots of all the champions. At last, they were free to go. Harry went down to dinner. Hermione wasn't there - he supposed she was still in the hospital wing having her teeth fixed. He ate alone at the end of the table, then returned to Gryffindor Tower, thinking of all the extra work on Summoning Charms that he had to do., source_sentence: Represent this sentence for searching relevant passages: Who teaches Harry the Patronus Charm in the third book, and how does this person relate to Harry's father?
sentences: Hermione said such things were illegal, and thought it much more likely that Dumbledore wanted to teach Harry advanced Defensive magic. After break, she went off to Arithmancy while Harry and Ron returned to the common room, where they grudgingly started Snape's homework. This turned out to be so complex that they still had not finished when Hermione joined them for their after-lunch free period (though she considerably speeded up the process). They had only just finished when the bell rang for the afternoon's double Potions and they beat the familiar path down to the dungeon classroom that had, for so long, been Snape's. When they arrived in the corridor they saw that there were only a dozen people progressing to N.E.W.T. level. Crabbe and Goyle had evidently failed to achieve the required O.W.L. grade, but four Slytherins had made it through, including Malfoy. Four Ravenclaws were there, and one Hufflepuff, Ernie Macmillan, whom Harry liked despite his rather pompous manner. "Harry," Ernie said portentously, holding out his hand as Harry approached, "didn't get a chance to speak in Defense Against the Dark Arts this morning., Professor McGonagall gave him a curt nod and retreated into the staffroom, leaving Harry to be swept out into the courtyard with the crowd. Here he spotted Ron and Hermione already standing in a sheltered corner, their cloak collars turned up against the wind. Harry slit open the scroll as he hurried toward them and found five words in Sirius's handwriting:
Today, same time, same place. "Is Hedwig okay?" asked Hermione anxiously, the moment he was within earshot., It's the nearest we'll get to a real dementor. The boggart will turn into a dementor when he sees you, so we'll be able to practice on him. I can store him in my office when we're not using him; there's a cupboard under my desk he'll like." "Okay," said Harry, trying to sound as though he wasn't apprehensive at all and merely glad that Lupin had found such a good substitute for a real dementor. "So ..." Professor Lupin had taken out his own wand, and indicated that Harry should do the same. "The spell I am going to try and teach you is highly advanced magic, Harry - well beyond Ordinary Wizarding Level. It is called the Patronus Charm." "How does it work?" said Harry nervously. "Well, when it works correctly, it conjures up a Patronus," said Lupin, "which is a kind of anti-dementor - a guardian that acts as a shield between you and the dementor." Harry had a sudden vision of himself crouching behind a Hagrid-sized figure holding a large club. Professor Lupin continued, "The Patronus is a kind of positive force, a projection of the very things that the dementor feeds upon - hope, happiness, the desire to survive - but it cannot feel despair, as real humans can, so the dementors can't hurt it. But I must warn you, Harry, that the charm might be too advanced for you. Many qualified wizards have difficulty with it." "What does a Patronus look like?" said Harry curiously., "Dumbledore's orders. I was to keep an eye on you but not say anything, you were too young. I'm sorry I gave you such a miserable time, but the Dursleys would never have let you come if they'd thought you enjoyed it. It wasn't easy, you know. ... But oh my word," she said tragically, wringing her hands once more, "when Dumbledore hears about this - how could Mundungus have left, he was supposed to be on duty until midnight - where is he? How am I going to tell Dumbledore what's happened, I can't Apparate -"
"I've got an owl, you can borrow her," Harry groaned, wondering whether his spine was going to snap under Dudley's weight., ... It must have been the finest moment of your miserable life, telling Voldemort you could hand him the Potters." Pettigrew was muttering distractedly; Harry caught words like "far-fetched" and "lunacy," but he couldn't help paying more attention to the ashen color of Pettigrew's face and the way his eyes continued to dart toward the windows and door. "Professor Lupin?" said Hermione timidly. "Can - can I say something?" "Certainly, Hermione," said Lupin courteously., The school talked of nothing but Sirius Black for the next few days. The theories about how he had entered the castle became wilder and wilder; Hannah Abbott, from Hufflepuff, spent much of their next Herbology class telling anyone who'd listen that Black could turn into a flowering shrub. The Fat Lady's ripped canvas had been taken off the wall and replaced with the portrait of Sir Cadogan and his fat gray pony. Nobody was very happy about this. Sir Cadogan spent half his time challenging people to duels, and the rest thinking up ridiculously complicated passwords, which he changed at least twice a day. "He's a complete lunatic," said Seamus Finnigan angrily to Percy., source_sentence: Represent this sentence for searching relevant passages: Who is the head of Slytherin house?
sentences: Lots of people had come from Muggle families and, like him, hadn't had any idea that they were witches and wizards. There was so much to learn that even people like Ron didn't have much of a head start. Friday was an important day for Harry and Ron. They finally managed to find their way down to the Great Hall for breakfast without getting lost once. "What have we got today?" Harry asked Ron as he poured sugar on his porridge. "Double Potions with the Slytherins," said Ron. "Snape's Head of Slytherin House. They say he always favors them - we'll be able to see if it's true." "Wish McGonagall favored us," said Harry. Professor McGonagall was head of Gryffindor House, but it hadn't stopped her from giving them a huge pile of homework the day before. Just then, the mail arrived., "How come you're not at practice?" "It's over," said Ginny. "Ron had to take Jack Sloper up to the hospital wing." "Why?" "Well, we're not sure, but we think he knocked himself out with his own bat." She sighed heavily. "Anyway ... a package just arrived, it's only just got through Umbridge's new screening process., said Harry angrily. Would none of them understand? "I was having a dream at first about something completely different, something stupid ... and then this interrupted it. It was real, I didn't imagine it, Mr. Weasley was asleep on the floor and he was attacked by a gigantic snake, there was a load of blood, he collapsed, someone's got to find out where he is. ..."
Professor McGonagall was gazing at him through her lopsided spectacles as though horrified at what she was seeing., Tha' one was my idea." He pointed a thick finger at a purple button near the speedometer. "Please be careful, Hagrid," said Mr. Weasley, who was standing beside them, holding his broomstick. "I'm still not sure that was advisable and it's certainly only to be used in emergencies." "All right then," said Moody. "Everyone ready, please; I want us all to leave at exactly the same time or the whole point of the diversion's lost." Everybody mounted their brooms. "Hold tight now, Ron," said Tonks, and Harry saw Ron throw a furtive, guilty look at Lupin before placing his hands on either side of her waist. Hagrid kicked the motorbike into life: It roared like a dragon, and the sidecar began to vibrate. "Good luck, everyone," shouted Moody. "See you all in about an hour at the Burrow. On the count of three. One ... two ..., He brought it up to the office where Barty Crouch -"
"I told him you would not agree, Dumbledore!" Professor McGonagall fumed. "I told him you would never allow dementors to set foot inside the castle, but -"
"My dear woman!" roared Fudge, who likewise looked angrier than Harry had ever seen him, "as Minister of Magic, it is my decision whether I wish to bring protection with me when interviewing a possibly dangerous -"
But Professor McGonagall's voice drowned Fudge's. "The moment that - that thing entered the room," she screamed, pointing at Fudge, trembling all over, "it swooped down on Crouch and - and -"
Harry felt a chill in his stomach as Professor McGonagall struggled to find words to describe what had happened. He did not need her to finish her sentence. He knew what the dementor must have done. It had administered its fatal kiss to Barty Crouch. It had sucked his soul out through his mouth., It ought to reinforce the lesson I am trying to teach you." Harry felt the blood surge to his head and heard a thumping noise in his ears. So he told evil, nasty, attention-seeking stories, did he? She was watching him with her head slightly to one side, still smiling widely, as though she knew exactly what he was thinking and was waiting to see whether he would start shouting again. With a massive effort Harry looked away from her, dropped his schoolbag beside the straight-backed chair, and sat down. "There," said Umbridge sweetly, "we're getting better at controlling our temper already, aren't we? Now, you are going to be doing some lines for me, Mr. Potter. No, not with your quill," she added, as Harry bent down to open his bag. "You're going to be using a rather special one of mine. Here you are."
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.19753086419753085
name: Cosine Accuracy@1
verified: no, type: cosine_accuracy@3
value: 0.2839506172839506
name: Cosine Accuracy@3
verified: no, type: cosine_accuracy@5
value: 0.32098765432098764
name: Cosine Accuracy@5
verified: no, type: cosine_accuracy@10
value: 0.38271604938271603
name: Cosine Accuracy@10
verified: no, type: cosine_precision@1
value: 0.19753086419753085
name: Cosine Precision@1
verified: no, type: cosine_precision@3
value: 0.09465020576131687
name: Cosine Precision@3
verified: no, type: cosine_precision@5
value: 0.06419753086419755
name: Cosine Precision@5
verified: no, type: cosine_precision@10
value: 0.03950617283950617
name: Cosine Precision@10
verified: no, type: cosine_recall@1
value: 0.1625514403292181
name: Cosine Recall@1
verified: no, type: cosine_recall@3
value: 0.22016460905349794
name: Cosine Recall@3
verified: no, type: cosine_recall@5
value: 0.2510288065843621
name: Cosine Recall@5
verified: no, type: cosine_recall@10
value: 0.3004115226337448
name: Cosine Recall@10
verified: no, type: cosine_ndcg@10
value: 0.23975620444362794
name: Cosine Ndcg@10
verified: no, type: cosine_mrr@10
value: 0.25457573976092496
name: Cosine Mrr@10
verified: no, type: cosine_map@100
value: 0.2143098722685537
name: Cosine Map@100
verified: no
Likes: 0 | All-time downloads: 52
Created: 2025-04-05 15:09:19