Model: CatkinChen/BAAI_bge-base-en-v1.5_retrieval_finetuned_v1
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 creature does Lupin teach the students to repel in Defense Against the Dark Arts?
sentences: "And did the voice say who was there?" "No, it did not," she said. "Everything went pitch-black and the next thing I knew, I was being hurled headfirst out of the room!" "And you didn't see that coming?" said Harry, unable to help himself. "No, I did not, as I say, it was pitch -" She stopped and glared at him suspiciously. "I think you'd better tell Professor Dumbledore," said Harry. "He ought to know Malfoy's celebrating - I mean, that someone threw you out of the room." To his surprise, Professor Trelawney drew herself up at this suggestion, looking haughty. "The headmaster has intimated that he would prefer fewer visits from me," she said coldly. "I am not one to press my company upon those who do not value it. If Dumbledore chooses to ignore the warnings the cards show -" Her bony hand closed suddenly around Harry's wrist. "Again and again, no matter how I lay them out -" And she pulled a card dramatically from underneath her shawls. "- the lightning-struck tower," she whispered. "Calamity. Disaster. Coming nearer all the time ..."
"Right," said Harry again. "Well ... I still think you should tell Dumbledore about this voice, and everything going dark and being thrown out of the room., ... Still, it's not as though we haven't got anything to look forward to, eh, Barty? Eh? Plenty left to organize, eh?" Mr. Crouch raised his eyebrows at Bagman. "We agreed not to make the announcement until all the details -"
"Oh details!" said Bagman, waving the word away like a cloud of midges. "They've signed, haven't they? They've agreed, haven't they? I bet you anything these kids'll know soon enough anyway. I mean, it's happening at Hogwarts -"
"Ludo, we need to meet the Bulgarians, you know," said Mr. Crouch sharply, cutting Bagman's remarks short. "Thank you for the tea, Weatherby." He pushed his undrunk tea back at Percy and waited for Ludo to rise; Bagman struggled to his feet, swigging down the last of his tea, the gold in his pockets chinking merrily., "What's that supposed to be anyway?" asked Fred, squinting at Dobby's painting. "Looks like a gibbon with two black eyes." "It's Harry!" said George, pointing at the back of the picture. "Says so on the back!" "Good likeness," said Fred, grinning. Harry threw his new homework diary at him; it hit the wall opposite and fell to the floor where it said happily, "If you've dotted the i's and crossed the t's then you may do whatever you please!" They got up and dressed; they could hear various inhabitants of the house calling "Merry Christmas" to each other. On their way downstairs they met Hermione., "Aaah, George, look at this. They're using knives and everything. Bless them." "I'll be seventeen in two and a bit months' time," said Ron grumpily, "and then I'll be able to do it by magic!" "But meanwhile," said George, sitting down at the kitchen table and putting his feet up on it, "we can enjoy watching you demonstrate the correct use of a - whoops-a-daisy!" "You made me do that!", "I hope the others are okay," said Hermione after a while. "They'll be fine," said Ron. "Imagine if your dad catches Lucius Malfoy," said Harry, sitting down next to Ron and watching the small figure of Krum slouching over the fallen leaves. "He's always said he'd like to get something on him." "That'd wipe the smirk off old Draco's face, all right," said Ron. "Those poor Muggles, though," said Hermione nervously. "What if they can't get them down?" "They will," said Ron reassuringly. "They'll find a way." "Mad, though, to do something like that when the whole Ministry of Magic's out here tonight!" said Hermione. "I mean, how do they expect to get away with it? Do you think they've been drinking, or are they just -"
But she broke off abruptly and looked over her shoulder. Harry and Ron looked quickly around too. It sounded as though someone was staggering toward their clearing., Professor Lupin had raised his eyebrows. "I was hoping that Neville would assist me with the first stage of the operation," he said, "and I am sure he will perform it admirably." Neville's face went, if possible, even redder. Snape's lip curled, but he left, shutting the door with a snap. "Now, then," said Professor Lupin, beckoning the class toward the end of the room, where there was nothing but an old wardrobe where the teachers kept their spare robes. As Professor Lupin went to stand next to it, the wardrobe gave a sudden wobble, banging off the wall. "Nothing to worry about," said Professor Lupin calmly because a few people had jumped backward in alarm. "There's a boggart in there." Most people seemed to feel that this was something to worry about. Neville gave Professor Lupin a look of pure terror, and Seamus Finnigan eyed the now rattling doorknob apprehensively. "Boggarts like dark, enclosed spaces," said Professor Lupin. "Wardrobes, the gap beneath beds, the cupboards under sinks - I've even met one that had lodged itself in a grandfather clock. This one moved in yesterday afternoon, and I asked the headmaster if the staff would leave it to give my third years some practice. "So, the first question we must ask ourselves is, what is a boggart?" Hermione put up her hand. "It's a shape-shifter," she said., source_sentence: Who does Harry meet in the forest in the fourth book, and how does this encounter foreshadow an alliance in the seventh book?
sentences: "Thought he'd be with you. Where've you left him?" "He's dead," said Harry. "Bellatrix Lestrange killed him." The barman's face was impassive. After a few moments he said,
"I'm sorry to hear it. I liked that elf." He turned away, lighting lamps with prods of his wand, not looking at any of them. "You're Aberforth," said Harry to the man's back. He neither confirmed nor denied it, but bent to light the fire. "How did you get this?" Harry asked, walking across to Sirius's mirror, the twin of the one he had broken nearly two years before. "Bought it from Dung 'bout a year ago," said Aberforth. "Albus told me what it was. Been trying to keep an eye out for you." Ron gasped. "The silver doe!" he said excitedly. "Was that you too?" "What are you talking about?" said Aberforth. "Someone sent a doe Patronus to us!" "Brains like that, you could be a Death Eater, son., Hermione suddenly grabbed Harry's arm again. Her wide eyes were traveling around the boarded windows. "Harry," she whispered, "I think we're in the Shrieking Shack." Harry looked around. His eyes fell on a wooden chair near them. Large chunks had been torn out of it; one of the legs had been ripped off entirely. "Ghosts didn't do that," he said slowly. At that moment, there was a creak overhead. Something had moved upstairs. Both of them looked up at the ceiling. Hermione's grip on Harry's arm was so tight he was losing feeling in his fingers., He pointed at Black, whose face twitched convulsively. "I meant to," he growled, his yellow teeth bared, "but little Peter got the better of me ... not this time, though!" And Crookshanks was thrown to the floor as Black lunged at Scabbers; Ron yelled with pain as Black's weight fell on his broken leg. "Sirius, NO!" Lupin yelled, launching himself forwards and dragging Black away from Ron again, "WAIT! You can't do it just like that - they need to understand - we've got to explain -"
"We can explain afterwards!" snarled Black, trying to throw Lupin off. One hand was still clawing the air as it tried to reach Scabbers, who was squealing like a piglet, scratching Ron's face and neck as he tried to escape. "They've - got - a - right - to - know - everything!" Lupin panted, still trying to restrain Black. "Ron's kept him as a pet! There are parts of it even I don't understand! And Harry - you owe Harry the truth, Sirius!" Black stopped struggling, though his hollowed eyes were still fixed on Scabbers, who was clamped tightly under Ron's bitten, scratched, and bleeding hands. "All right, then," Black said, without taking his eyes off the rat. "Tell them whatever you like. But make it quick, Remus. I want to commit the murder I was imprisoned for. ..."
"You're nutters, both of you," said Ron shakily, looking round at Harry and Hermione for support., Hermione called commandingly along the table. "This way, please!" A group of new students walked shyly up the gap between the Gryffindor and Hufflepuff tables, all of them trying hard not to lead the group. They did indeed seem very small; Harry was sure he had not appeared that young when he had arrived here. He grinned at them. A blond boy next to Euan Abercrombie looked petrified, nudged Euan, and whispered something in his ear. Euan Abercrombie looked equally frightened and stole a horrified look at Harry, who felt the grin slide off his face like Stinksap., said Hermione desperately. "Hold yer hippogriffs, I haven' finished me story yet!" said Hagrid indignantly, who, considering he had not wanted to tell them anything in the first place, now seemed to be rather enjoying himself. "Me an' Olympe talked it over an' we agreed, jus' 'cause the Gurg looked like favorin' You-Know-Who didn' mean all of 'em would. We had ter try an' persuade some o' the others, the ones who hadn' wanted Golgomath as Gurg." "How could you tell which ones they were?" asked Ron. "Well, they were the ones bein' beaten to a pulp, weren' they?" said Hagrid patiently., "There's summat in here that shouldn' be." "A werewolf?" Harry suggested. "That wasn' no werewolf an' it wasn' no unicorn, neither," said Hagrid grimly. "Right, follow me, but careful, now." They walked more slowly, ears straining for the faintest sound. Suddenly, in a clearing ahead, something definitely moved. "Who's there?", source_sentence: Who is the founder of Gryffindor house?
sentences: He peered at Hermione as though he had never seen a student properly before. "However, the legend of which you speak is such a very sensational, even ludicrous tale -"
But the whole class was now hanging on Professor Binns's every word. He looked dimly at them all, every face turned to his. Harry could tell he was completely thrown by such an unusual show of interest. "Oh, very well," he said slowly. "Let me see ... the Chamber of Secrets ...
"You all know, of course, that Hogwarts was founded over a thousand years ago - the precise date is uncertain - by the four greatest witches and wizards of the age. The four school Houses are named after them: Godric Gryffindor, Helga Hufflepuff, Rowena Ravenclaw, and Salazar Slytherin. They built this castle together, far from prying Muggle eyes, for it was an age when magic was feared by common people, and witches and wizards suffered much persecution.", Harry glanced around. Cedric had nodded once, to show that he understood Bagman's words, and then started pacing around the tent again; he looked slightly green. Fleur Delacour and Krum hadn't reacted at all. Perhaps they thought they might be sick if they opened their mouths; that was certainly how Harry felt. But they, at least, had volunteered for this. ...
And in no time at all, hundreds upon hundreds of pairs of feet could be heard passing the tent, their owners talking excitedly, laughing, joking. ... Harry felt as separate from the crowd as though they were a different species. And then - it seemed like about a second later to Harry - Bagman was opening the neck of the purple silk sack., "Hey - hey Nick! NICK!" The ghost stuck its head back out of the wall, revealing the extravagantly plumed hat and dangerously wobbling head of Sir Nicholas de Mimsy-Porpington. "Good evening," he said, withdrawing the rest of his body from the solid stone and smiling at Harry. "I am not the only one who is late, then? Though," he sighed, "in rather different senses, of course ..."
"Nick, can I ask you something?" A most peculiar expression stole over Nearly Headless Nick's face as he inserted a finger in the stiff ruff at his neck and tugged it a little straighter, apparently to give himself thinking time., "Indeed? How do you do, Dragomir?" " 'Ow you?" said Ron, holding out his hand. Travers extended two fingers and shook Ron's hand as though frightened of dirtying himself. "So what brings you and your - ah - sympathetic friend to Diagon Alley this early?", ... Not Harry! Not Harry! Please - I'll do anything -"
"Stand aside. Stand aside, girl!" He could have forced her away from the crib, but it seemed more prudent to finish them all. ... The green light flashed around the room and she dropped like her husband., He turned to Ginny and she answered his unspoken plea for information at once. "Ron and Tonks should have been back first, but they missed their Portkey, it came back without them," she said, pointing at a rusty oil can lying on the ground nearby. "And that one," she pointed at an ancient sneaker, "should have been Dad and Fred's, they were supposed to be second. You and Hagrid were third and," she checked her watch, "if they made it, George and Lupin ought to be back in about a minute." Mrs. Weasley reappeared carrying a bottle of brandy, which she handed to Hagrid. He uncorked it and drank it straight down in one. "Mum!" shouted Ginny, pointing to a spot several feet away. A blue light had appeared in the darkness: It grew larger and brighter, and Lupin and George appeared, spinning and then falling. Harry knew immediately that there was something wrong: Lupin was supporting George, who was unconscious and whose face was covered in blood. Harry ran forward and seized George's legs., source_sentence: What is the name of the spell that causes a person to be burned?
sentences: He'd have loved to think the scratches on the stone were a coat of arms, because as far as he was concerned, having pure blood made you practically royal." "Yes ... and that's all very interesting," said Hermione cautiously, "but Harry, if you're thinking what I think you're think -"
"Well, why not? Why not?" said Harry, abandoning caution. "It was a stone, wasn't it?" He looked at Ron for support. "What if it was the Resurrection Stone?" Ron's mouth fell open. "Blimey - but would it still work if Dumbledore broke - ?" "Work? Work? Ron, it never worked! There's no such thing as a Resurrection Stone!", Underneath was a raw, bloody, green-tinged steak slightly larger than the average car tire. "You're not going to eat that, are you, Hagrid?" said Ron, leaning in for a closer look. "It looks poisonous." "It's s'posed ter look like that, it's dragon meat," Hagrid said. "An' I didn' get it ter eat." He picked up the steak and slapped it over the left side of his face. Greenish blood trickled down into his beard as he gave a soft moan of satisfaction. "Tha's better. It helps with the stingin', yeh know." "So are you going to tell us what's happened to you?" Harry asked., 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., "Well, you have to wait for somebody who gets it right," said Luna. "That way you learn, you see?" "Yeah ... Trouble is, we can't really afford to wait for anyone else, Luna." "No, I see what you mean," said Luna seriously. "Well then, I think the answer is that a circle has no beginning." "Well reasoned," said the voice, and the door swung open. The deserted Ravenclaw common room was a wide, circular room, airier than any Harry had ever seen at Hogwarts. Graceful arched windows punctuated the walls, which were hung with blue-and-bronze silks: By day, the Ravenclaws would have a spectacular view of the surrounding mountains. The ceiling was domed and painted with stars, which were echoed in the midnight-blue carpet. There were tables, chairs, and bookcases, and in a niche opposite the door stood a tall statue of white marble. Harry recognized Rowena Ravenclaw from the bust he had seen at Luna's house. The statue stood beside a door that led, he guessed, to dormitories above. He strode right up to the marble woman, and she seemed to look back at him with a quizzical half smile on her face, beautiful yet slightly intimidating. A delicate-looking circlet had been reproduced in marble on top of her head. It was not unlike the tiara Fleur had worn at her wedding. There were tiny words etched into it. Harry stepped out from under the Cloak and climbed up onto Ravenclaw's plinth to read them.
" 'Wit beyond measure is man's greatest treasure.' "
"Which makes you pretty skint, witless," said a cackling voice. Harry whirled around, slipped off the plinth, and landed on the floor. The sloping-shouldered figure of Alecto Carrow was standing before him, and even as Harry raised his wand, she pressed a stubby forefinger to the skull and snake branded on her forearm., ..." He walked once up the cave, back again, and then said, "Imagine that Voldemort's powerful now. You don't know who his supporters are, you don't know who's working for him and who isn't; you know he can control people so that they do terrible things without being able to stop themselves. You're scared for yourself, and your family, and your friends. Every week, news comes of more deaths, more disappearances, more torturing ... the Ministry of Magic's in disarray, they don't know what to do, they're trying to keep everything hidden from the Muggles, but meanwhile, Muggles are dying too. Terror everywhere ... panic ... confusion ... that's how it used to be. "Well, times like that bring out the best in some people and the worst in others., "Only way. You're too young to Apparate, they'll be watching the Floo Network, and it's more than our life's worth to set up an unauthorized Portkey." "Remus says you're a good flier," said Kingsley Shacklebolt in his deep voice. "He's excellent," said Lupin, who was checking his watch. "Anyway, you'd better go and get packed, Harry, we want to be ready to go when the signal comes." "I'll come and help you," said Tonks brightly., source_sentence: Who is the Slytherin boy who loves fame?
sentences: There was also a list of the new books he'd need for the coming year. SECOND-YEAR STUDENTS WILL REQUIRE:
The Standard Book of Spells, Grade 2
by Miranda Goshawk
Break with a Banshee by Gilderoy Lockhart
Gadding with Ghouls by Gilderoy Lockhart
Holidays with Hags by Gilderoy Lockhart
Travels with Trolls by Gilderoy Lockhart
Voyages with Vampires by Gilderoy Lockhart
Wanderings with Werewolves by Gilderoy Lockhart
Year with the Yeti by Gilderoy Lockhart
Fred, who had finished his own list, peered over at Harry's. "You've been told to get all Lockhart's books, too!" he said. "The new Defense Against the Dark Arts teacher must be a fan - bet it's a witch." At this point, Fred caught his mother's eye and quickly busied himself with the marmalade., "He asked me out, you know," she said in a quiet voice. "A couple of weeks ago. Roger. I turned him down, though." Harry, who had grabbed the sugar bowl to excuse his sudden lunging movement across the table, could not think why she was telling him this. If she wished she were sitting at the table next door being heartily kissed by Roger Davies, why had she agreed to come out with him? He said nothing., "We're not - meeting here," said Harry. "We just - met here." "Indeed?" said Snape. "You have a habit of turning up in unexpected places, Potter, and you are very rarely there for no good reason. ... I suggest the pair of you return to Gryffindor Tower, where you belong.", ..."
But Harry was already tearing away back along the corridor, and a couple of minutes later was jumping the last few stairs to join Ron, Hermione, Ginny, and Luna, who were huddled together at the end of Umbridge's corridor. "Got it," he panted. "Ready to go, then?" "All right," whispered Hermione as a gang of loud sixth years passed them. "So Ron - you go and head Umbridge off. ... Ginny, Luna, if you can start moving people out of the corridor., ... So where shall I put you?" Harry gripped the edges of the stool and thought, Not Slytherin, not Slytherin. "Not Slytherin, eh?" said the small voice., Nobody could quite believe their ears until she looked directly at Harry and Ron and said grimly, "I've become accustomed to seeing the Quidditch Cup in my study, boys, and I really don't want to have to hand it over to Professor Snape, so use the extra time to practice, won't you?" Snape was no less obviously partisan: He had booked the Quidditch pitch for Slytherin practice so often that the Gryffindors had difficulty getting on it to play. He was also turning a deaf ear to the many reports of Slytherin attempts to hex Gryffindor players in the corridors. When Alicia Spinnet turned up in the hospital wing with her eyebrows growing so thick and fast that they obscured her vision and obstructed her mouth, Snape insisted that she must have attempted a Hair-Thickening Charm on herself and refused to listen to the fourteen eyewitnesses who insisted that they had seen the Slytherin Keeper, Miles Bletchley, hit her from behind with a jinx while she worked in the library. Harry felt optimistic about Gryffindor's chances; they had, after all, never lost to Malfoy's team. Admittedly Ron was still not performing to Wood's standard, but he was working extremely hard to improve. His greatest weakness was a tendency to lose confidence when he made a blunder; if he let in one goal he became flustered and was therefore likely to miss more. On the other hand, Harry had seen Ron make some truly spectacular saves when he was on form: During one memorable practice, he had hung one-handed from his broom and kicked the Quaffle so hard away from the goal hoop that it soared the length of the pitch and through the center hoop at the other end. The rest of the team felt this save compared favorably with one made recently by Barry Ryan, the Irish International Keeper, against Poland's top Chaser, Ladislaw Zamojski.
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.2222222222222222
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.2222222222222222
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.07901234567901234
name: Cosine Precision@5
verified: no, type: cosine_precision@10
value: 0.044444444444444446
name: Cosine Precision@10
verified: no, type: cosine_recall@1
value: 0.1707818930041152
name: Cosine Recall@1
verified: no, type: cosine_recall@3
value: 0.279835390946502
name: Cosine Recall@3
verified: no, type: cosine_recall@5
value: 0.2921810699588477
name: Cosine Recall@5
verified: no, type: cosine_recall@10
value: 0.3353909465020576
name: Cosine Recall@10
verified: no, type: cosine_ndcg@10
value: 0.26916169677756213
name: Cosine Ndcg@10
verified: no, type: cosine_mrr@10
value: 0.28746325690770136
name: Cosine Mrr@10
verified: no, type: cosine_map@100
value: 0.23920038190658358
name: Cosine Map@100
verified: no
Likes: 0 | All-time downloads: 87
Created: 2025-04-03 15:26:50