IR-fr-en-gemma / README.md
ahmedHamdi's picture
Fine-tuned Gemma for FR-EN plot ir
5ea2a4a verified
|
Raw
History Blame Contribute Delete
74.5 kB
metadata
tags:
  - sentence-transformers
  - sentence-similarity
  - feature-extraction
  - dense
  - generated_from_trainer
  - dataset_size:16276
  - loss:MultipleNegativesRankingLoss
base_model: google/embeddinggemma-300m
widget:
  - source_sentence: >-
      In late Victorian England, young Jude Fawley (Christopher Eccleston)
      dreams of attending university. Following an unhappy first marriage to a
      country girl, Arabella (Rachel Griffiths), who abruptly leaves him with a
      note, he becomes a bricklayer and moves to Christminster to pursue his
      dream. There he meets his beautiful cousin, Sue Bridehead (Kate Winslet),
      who is as intelligent and unconventional as he is. They quickly fall in
      love, but will have to face the great difficulties and scandal caused by
      their extramarital affair…
    sentences:
      - >-
        In 63 BC, Pompey conquered Jerusalem and the city was sacked. He entered
        the Temple to seize the treasure of Solomon and massacred the priests
        there. He discovered that the treasure is only a collection of scrolls
        of the Torah. These Pompey held over a fire until an old priest reached
        for them imploringly. Pompey relented and handed them to the old man and
        left to carry out massacres of enemy villages and towns. Many years
        later, a series of rebellions break out against the authority of Rome,
        so the Romans crucify many of the leaders and place Herod the Great on
        Judea's throne. A carpenter named Joseph and his wife Mary, who is about
        to give birth, arrive in Bethlehem for the census. Not having found
        accommodation for the night, they take refuge in a stable, where the
        child, Jesus, is born. The shepherds, who have followed the Magi from
        the East, gather to worship him. However, Herod, informed of the birth
        of a child-king, orders the centurion Lucius to take his men to
        Bethlehem and kill all the newborn male children. Mary and Joseph flee
        to Egypt with the child. The Massacre of the Innocents occurs, Herod
        dies, killed in his death throes by his son Herod Antipas, who then
        takes power. In Nazareth, Jesus, who is now twelve years old, is working
        with Joseph when soldiers arrive under the command of Lucius, who knows
        now that Jesus escaped the massacre of the infants. But Lucius does
        nothing and only asks that Mary and Joseph register their son's birth
        before the year's end. Years pass and Jewish rebels led by Barabbas and
        Judas Iscariot prepare to attack a caravan carrying the next governor of
        Judea, Pontius Pilate and his wife Claudia. The ambush fails, partly due
        to the diligence of Lucius, and Barabbas and Judas flee for their lives.
        Pilate and Herod Antipas meet on the banks of the River Jordan, where
        John the Baptist preaches to the crowds. Jesus arrives here, now 30
        years of age. He is baptized by John, who recognizes that he is the
        Messiah. Jesus goes into the desert, where he is tempted by Satan. After
        forty days, Jesus travels to Galilee, where he recruits his Apostles. In
        Jerusalem, Herod Antipas arrests John the Baptist, who is visited by
        Jesus in prison. Judas leaves the rebel Barabbas and joins the Apostles.
        Jesus begins to preach and gather crowds, among which are Claudia,
        Pilate's wife, and Lucius. Herod reluctantly beheads John on a whim of
        his stepdaughter, Salome, who despises him. Herod, Pilate and the High
        Priest Caiaphas are terrorized by the works and miracles of Jesus.
        Barabbas plots a revolt in Jerusalem during Passover, during which time
        Jesus enters the holy city in triumph and goes to the Temple to preach.
        The rebels storm the Antonia Fortress, but the legions of Pilate, having
        learned of the plot, ambush and crush the revolt, massacring the
        rebels,  leaving Barabbas as the sole survivor who ends up getting
        arrested. Jesus meets the disciples on the evening of Thursday, having
        supper one last time with them and afterwards goes to pray at
        Gethsemane. In the meantime, Judas wants Jesus to free Judea from the
        Romans, and, to force his hand, Judas delivers him to the Jewish
        authorities. Jesus is brought before Caiaphas and then brought before
        Pilate. Pilate starts the trial, but sensing that the issue is one of
        Jewish sensibilities, sends him to Herod Antipas, who, in turn, sends
        him back. Pilate is infuriated by Antipas' returning of Jesus and
        commands his soldiers to scourge Jesus. The people demand the release of
        Barabbas, and Pilate bows to their pressure and sentences Jesus to be
        crucified. Jesus, wearing a crown of thorns on his head, carries his
        cross to Golgotha where he is crucified with two thieves, one of them
        being the penitent thief Dismas and the other, the Impenitent thief,
        Gestas. Desperate because he has betrayed Jesus to his death, Judas
        hangs himself and his body is found by Barabbas. Jesus dies in front of
        his mother, the apostle John, a few soldiers, Claudia (Pilate's wife),
        and Lucius (who utters the fateful words: He is truly the Christ). His
        body is taken down from the cross and is carried to a rock tomb. Two
        days later, Mary Magdalene finds the tomb empty, and encounters the
        Risen Jesus.
      - >-
        In the Victorian period, Jude Fawley is a bright young lower-class man
        who dreams of a university education. Circumstances conspire against
        him, and he is forced into a job as a stonemason and an unhappy marriage
        to a country girl, Arabella. He remains true to his dream and, months
        later, after his wife's sudden departure, he heads for the city. He
        thinks education is available for any man who is willing to work hard.
        However, he is rejected by the university based primarily on his
        lower-class status. During this period, he encounters his cousin, Sue
        Bridehead, who is beautiful and intelligent, and shares his disdain for
        convention. Whilst Jude is enraptured by Sue, and vice versa, she
        marries Jude's former school teacher, Phillotson, after Jude tells her
        he is married to Arabella. The marriage of Sue and Phillotson is not a
        success, as she refuses to give herself sexually or romantically to her
        husband. She leaves Phillotson to join Jude in what turns out to be a
        rough life, moving from place to place as Jude picks up occasional work
        as a stonemason. Jude learns that Arabella bore a son, whom she named
        Jude (Juey) soon after she left Jude. The boy comes to live with his
        father Jude, and Sue. Sue gives birth to two children. Agnostic and
        independent, she refuses to legalise their arrangement by marriage. Sue
        and Jude are forbidden a permanent rental lodging because their living
        arrangement without marriage is considered scandalous. Sue tells Juey
        that the family cannot stay long at their present lodging because there
        are too many of them. The next day Sue and Jude return to their lodging
        to find that Juey has killed his half-siblings and committed suicide,
        hanging himself. His suicide note says the reason: Becos we were to
        menny. Each of the couple falls into a deep depression after the deaths
        of their children. Turning to the religion she previously rejected, Sue
        comes to believe that God has judged and punished the couple for not
        having married. She decides to return to Phillotson, although she finds
        him sexually repugnant, as he is her true husband in the eyes of God. A
        year after the death of their children, Jude and Sue happen to meet when
        separately visiting the tombstones of their children. They both look
        worse for wear. Jude demands that Sue tell him whether she still loves
        him, to which she replies, You've always known. After a passionate kiss,
        she walks away from Jude to return to Phillotson. As Sue walks away,
        Jude shouts to her, We are man and wife, if ever two people were on this
        earth!
      - >-
        Wealthy socialite Lois Frazer, divorcing her fortune-hunter husband,
        Howard, finds a gun he had bought. She kills him with it in front of the
        new man in her life, Lt. Ed Cullen, a homicide detective with the San
        Francisco police. Cullen takes control, discarding the weapon and moving
        the body. Cullen ends up assigned to investigate the case, assisted by
        kid brother Andy, who is new to the homicide division and delays his
        honeymoon to keep working on his first big case. The gun is found and
        used in another killing by a young punk, Nito Capa, and Cullen—with few
        options to save himself and his paramour Lois—tries to pin both crimes
        on him. However, Andy keeps connecting Ed to the first murder, catching
        him in a number of evasions and lies. In desperation, Ed knocks Andy
        out, ties and gags him, and calls Lois and tells her they need to flee.
        Police roadblocks seal off the city, but Andy has a hunch where Ed took
        Lois to hide, at the abandoned ruins of Fort Point under the Golden Gate
        Bridge where Andy and his brother played together when they were
        children. Their escape plan almost works, but they are ultimately
        arrested. Outside the courtroom, Ed sees Lois affectionately offering to
        do anything for her lawyer if he can keep her from being convicted.
        Defeated, Ed offers her a cigarette and they share a final goodbye gaze.
  - source_sentence: >-
      A young girl travels to Chicago to fulfill her dream of becoming a dancer
      by joining the prestigious Chicago School of Music and Dance. But the
      audition goes badly, and after a series of setbacks, she ends up dancing
      in a bar...
    sentences:
      - >-
        Lauryn Kirk is an aspiring dancer. As there are no dance schools in her
        hometown of Glenwood, Indiana, Lauryn says goodbye to her brother Joel
        and departs for Chicago to audition for a famous dance school. Joel
        works as a mechanic in the family garage, and is wary of Lauryn's
        decision to leave but eventually gives her his blessing. When Lauryn
        dances at the audition, her mostly a hip hop dance routine, is rejected
        by the judge, who says that they need to see something more sensual and
        feminine. Dejected, Lauryn goes to a diner to down her sorrows, but soon
        finds her car towed off. Upon seeing her misfortunes, Dana, a friendly
        waitress from the diner invites Lauryn to her apartment and out of the
        pouring rain. Dana subsequently offers Lauryn a place to stay,
        considering Lauryn could not go back home and face her brother. The next
        day, Dana brings Lauryn to a club called Ruby's (whose dances are rooted
        in burlesque), where she meets with Russ, the slick-talking disc jockey,
        and Brenda, the club owner. Brenda hires Lauryn as a bookkeeper, in
        light of her skills with numbers. Lauryn watches as a dancer, Carmen,
        performs impressively on the stage. Before locking up late one night,
        Lauryn goes on the stage and silently and elegantly dances, while
        unbeknownest to her, Russ watches from a distance. The next night,
        Brenda finds herself short of dancers. Russ asks Lauryn to dance, after
        having seen her graceful performance the previous night. Lauryn
        reluctantly agrees, and goes on stage. At first, new to the sexy
        routine, Lauryn looks foolish, but when Russ starts playing hip-hop
        music, Lauryn does a sexy hip-hop routine, and finds herself to be
        Ruby's new star. As Lauryn and Russ' relationship progresses, Lauryn
        continues performing stunningly on stage, much to Carmen and Brooke's
        chagrin, who try to sabotage and intimidate the newcomer. One night,
        Joel catches Lauryn at the club during a dance; After an argument, in
        which Lauryn realizes that Joel is losing the family garage due to
        stacking mortgages and bills, she decides to ditch the stage and return
        to Indiana to save the garage. Soon after though, Joel catches a peek of
        Lauryn joyfully dancing in the garage one day, and asks Lauryn to give
        the audition another shot. Lauryn returns to Chicago for a second
        audition. She nails it, and happily embraces Russ, who has come to
        encourage her. Lauryn goes back to Ruby's to apologize to Brenda, but
        finds a surprise congratulatory party awaiting for her, and the party
        breaks into dance.
      - >-
        In the Great Depression, Dove Linkhorn and Kitty Tristram meet on the
        road in Texas as each travels separately to New Orleans. They decide to
        travel together, hitchhiking and hopping freight trains. Dove is hoping
        to find his lost love Hallie Gerard, and he is uninterested when Kitty
        comes on to him. After Kitty steals from the New Orleans-area café where
        she and Dove stop for a meal, he leaves her and makes things right with
        the owner Teresina Vidaverri. She gives Dove a job at the café and a
        place to stay while he searches for Hallie. He finds her working at the
        Doll House, an upscale French Quarter bordello, where Jo Courtney is the
        madam. Later it is revealed that, after Jo's husband lost his legs in an
        accident, she lost interest in him. A lesbian relationship is suggested
        between Jo and Hallie, who is supported by the owner in pursuing her
        interest in sculpting on the side. However, Hallie still works for Jo as
        a prostitute like the other women. Hallie is unhappy with her life at
        Jo's, but she does not want to give up her comforts to risk married life
        when Dove proposes. Meanwhile, Kitty starts working at the bordello
        after Jo bails her out of jail, where she had been confined for
        vagrancy. Because Kitty and Dove appear to know each other, Jo questions
        Kitty about her past and learns that she traveled with Dove from Texas
        to Louisiana. Jo threatens Dove with arrest for transporting the
        underage Kitty across state lines for immoral purposes and for statutory
        rape unless he leaves New Orleans without Hallie. As Dove leaves the
        bordello, the bouncer, another employee, and Jo's husband beat him
        viciously. Kitty watches from upstairs. Kitty helps Dove return to the
        café, where Teresina cares for him. Kitty returns to the bordello to get
        Hallie, helping her reach the café. When Hallie can't be found at the
        bordello, Kitty is suspected and put under pressure; frightened, she
        brings Jo and her three henchmen to the café. During the ensuing
        struggle among the men, Hallie is shot and killed by a stray bullet. On
        the front-page of a newspaper about Kitty's testimony, Jo and several
        others are arrested.
      - >-
        In 1990s England, a witch leaves her child, Earwig, at St. Morwald's
        Home for Children. The matron head of the home thinks that the name is
        unfit for a child and changes it to Erica Wigg. Years later, Earwig is a
        rambunctious 10-year-old who is very comfortable in an orphanage where
        everyone does what she wants. She likes living there with her friend
        Custard and does not want to get adopted. One day, a strange couple,
        Bella Yaga and Mandrake, adopt Earwig against her wishes. When they get
        home, Bella Yaga tells Earwig that she is a witch, and that she only
        adopted Earwig for an extra pair of hands to help around the house.
        Earwig agrees to help, only if Bella Yaga teaches her magic in return.
        Earwig prepares ingredients for spells and cleans the workroom. Tired of
        working, she attempts to leave of the house, only to find that all the
        exits have been magically sealed by Mandrake. She becomes further
        frustrated because Bella Yaga never teaches her any magic. Earwig begins
        to listen to tapes from an old band called Earwig and discovers that
        Bella Yaga's cat familiar Thomas can talk. The two of them enter the
        workroom at night to create a spell that will make them resistant to
        magic, becoming immune to Bella Yaga's punishments. They also work on a
        spell to give Bella Yaga a literal extra pair of hands on her body so
        Earwig would be dismissed from her work. The spell is a success and
        Bella Yaga is furious at her extra pair of hands, and casts magical
        worms that appear in Earwig's room. Because of Earwig's magical
        resistance, the worms are harmless. Earwig sends the worms through a
        hole in the wall, which angers Mandrake. In the ensuing chaos, Earwig
        breaks into Mandrake's room and discovers he and Bella Yaga were members
        of the band Earwig. Through her new power, Earwig is able to take over
        the house and have the others do what she wants. She even manages to
        invite her friend Custard over for Christmas. When he arrives, Earwig's
        mother, another member of the band, drops in for a surprise visit.
  - source_sentence: >-
      Kenai is a boisterous young man. Carefree and adventurous, he eagerly
      awaits the day of his coming-of-age ceremony, when the shaman of his
      village will present him with his totem, a symbol of a virtue he must
      embody and follow throughout his life. But instead of imagining it as
      representing a powerful animal, a symbol of strength or wisdom like his
      older brothers Sitka and Denahi, he receives a different one. Furious at
      his older brother's mockery and the reproaches about a bear stealing the
      fish meant for the banquet—a theft Kenai's carelessness had facilitated—he
      decides to chase the grizzly bear into the forest. He eventually finds and
      confronts the animal at the top of a rocky peak, but overestimating his
      strength, he is quickly overwhelmed. His two brothers intervene to avert
      the danger, but the bear is far too strong for them: it knocks Denahi off
      balance, causing him to slip into a crevasse, and knocks Sitka unconscious
      with a swipe of its paw. Determined to finish him off, the bear notices
      that Kenai and Denahi are also in a vulnerable position and turns on them.
      To save his brothers, Sitka plunges his spear into a crevice in the
      glacier, causing a gigantic fissure in the rock. A huge chunk of rock and
      ice breaks away from the cliff, sending Sitka and the bear plummeting
      down. The fall is tragically fatal for the young man, while the bear
      escapes unharmed. Only a piece of the spear and Sitka's coat are found
      floating in the river below at the foot of the cliff. That evening, after
      his brother's funeral, Kenai, consumed by despair and rage, hunts down the
      bear and finally kills it atop a rocky spire. At that moment, spirits
      appear, including Sitka's spirit, and transform him into a bear. Denahi,
      who had meanwhile set off in pursuit of Kenai, arrives just then. Seeing a
      huge bear atop the rocky peak and Kenai's rags scattered across the rock,
      he mistakenly believes the bear standing before him has killed Kenai. He
      immediately sets off in pursuit, unaware that it is actually his own
      brother. At first, Kenai struggles to accept this transformation,
      especially after meeting a talkative little bear cub named Koda. During
      their conversation, Koda tells him he knows the summit where... Kenai must
      reach this summit if he wants the spirit of Sitka to restore his human
      form, information given to him by the shaman and witch of his village, and
      Koda is the only one who knows the way... or at least, only vaguely
      remembers it, as he was very young when he went there. Kenai is forced to
      accompany him, despite his excessive and irritating chatter. Gradually,
      Kenai softens and befriends the bear cub. However, they must escape
      Denahi, who relentlessly pursues them. They climb mountains, cross plains
      on the backs of mammoths, and traverse a lava field, accompanied by two
      brother moose, Truc and Muche, whom they meet along the way. Once they
      reach the foot of the mountain, they discover a lake where a multitude of
      bears are gathered, fishing and playing all day long. One of their games
      is to tell a thrilling story. Bear stories are generally not very
      exciting. Kenai recounts how he met the most unbearable cub, but that now
      they are like brothers. Then Koda recounts how one day, hidden in a bush,
      he saw a hunter tracking his mother, never knowing what became of her
      afterward… Kenai, horrified, realizes that the bear he killed when he was
      still human was none other than Koda's mother. Ashamed, he leaves the
      group and tries to reach the summit alone, but Koda catches up with him,
      still yearning for his mother's return. Kenai tells him that his mother
      will never come back, and Koda leaves in tears, refusing to accept this
      reality. While he is alone, Truc and Muche arrive and try to comfort him,
      but Truc, angry with his brother, lashes out at him. However, he makes up
      with Muche when the latter reminds him that, as a brother, he will always
      be there to help him, which makes Koda realize that Kenai needs him. Kenai
      reaches the mountaintop where he is attacked by his brother Denahi, the
      sole survivor of the hunt (or so Denahi believes, for upon reaching the
      summit and discovering a bear in Kenai's place, he is convinced that the
      animal, which he believes to be the bear Kenai was hunting, is his
      brother's killer). A fight ensues. Koda tries to intervene until a
      majestic eagle appears, abruptly ending the confrontation. The Great
      Spirits then appear before a stunned Denahi and Koda, and Kenai transforms
      into his human form. Denahi discovers his brother, whom he was about to
      kill, standing before him, and Koda realizes that his friend is actually
      human. The young bear cub also sees the spirit of his mother materialize
      before him. Before the astonished eyes of the three protagonists, the
      majestic eagle transforms into the human form of Sitka's spirit. Kenai
      then makes a request of the spirits: he wishes to become a bear again and
      understands that his purpose is to watch over Koda, now alone in the
      world. Sitka's spirit grants him this favor. After this, Sitka and Koda's
      mother are able to join the Great Spirits in peace. It is in this form
      that Kenai returns to the village, accompanied by Denahi and Koda, where
      he is quickly accepted by the human population. Kenai has thus fulfilled
      the virtue assigned by his totem.
    sentences:
      - >-
        Steve Taylor and his girlfriend Jenny Greengrass set off for a romantic
        weekend away at a remote lake in the English countryside, where he plans
        to propose. Steve complains about the behavior of the local children and
        criticizes the parenting of the adults. In the woods, they meet a young
        boy named Adam, who is reluctant to speak to them. The couple's idyllic
        getaway is disrupted by a gang of rowdy teenagers. The next morning,
        Steve and Jenny find their food supplies infested with insects. At a
        local restaurant, Steve describes the teens to the waitress, who
        defensively insists her kids would never harass anyone. Steve sneaks
        into a house he believes belongs to the teens. He snoops around but
        escapes upon the return of Jon, the surly homeowner.  Back at the lake,
        the couple discovers their car keys, Steve's phone, and wallet missing.
        Their car is also gone. Returning to town on foot, they avoid a
        collision with their own car, driven recklessly by the gang's
        psychopathic leader, Brett. Finding the gang in the woods after
        nightfall, Steve demands the return of his belongings. The teens pull
        out knives, and in the scuffle, Brett's dog is stabbed, sending Brett
        into a maniacal rage. The couple tries to flee, but the gang causes
        Steve to crash his car. With Steve trapped, Jenny is forced to run for
        help. At daybreak, Jenny stumbles upon the group. To her horror, they
        have tied Steve to a rock with barbed wire. Brett orders each reluctant
        teen to stab him so they will all be implicated, making it less likely
        for members to report the incident to police. Paige, the female gang
        member, records Steve's torture on her phone. Jenny distracts the gang
        so Steve can free himself but she is unable to nurse his fatal wounds.
        She finds the engagement ring in his pocket and wears it before hiding
        him and running for help. Jenny runs into Adam, who informs the gang of
        her location. They tie her, along with Steve's dead body, to a pile of
        wood; Brett forces Adam to light a bonfire while Paige films it. Jenny
        escapes and Brett necklaces Adam in retaliation. Jenny accidentally
        kills a younger gang member, Cooper, who was actually attempting to help
        her. After finding Cooper's body, Brett is thrown into further rage and
        beats another gang member to death. Paige flees in fear. Jenny steals a
        van, running over Paige in anger. She makes it back to town and crashes
        into a backyard party. She awakes being comforted by a woman and her
        husband Jon, and realises she is in Brett's house. The other parents are
        informed of the dead gang members, who are all the children of the
        adults at the house. Jenny locks herself in the bathroom for protection
        but Jon kicks the door in. As she begs them to call police, Brett
        convinces the adults that Jenny and Steve murdered the gang members. Jon
        takes Jenny back into the bathroom with two other men. Brett shuts the
        door of his room, blocking out the sound of Jenny's screams. He deletes
        the videos of the gang's crimes from Paige's phone, puts on Steve's
        sunglasses, and stares blankly into a mirror.
      - >-
        In a post-ice age Alaska, the local tribes believe all creatures are
        created through the Great Spirits, who are said to appear in the form of
        an aurora. A trio of brothers, Kenai, the youngest; Denahi, the middle;
        and Sitka, the eldest, return to their tribe in order for Kenai to
        receive his totem, necklaces in the shapes of different animals. The
        particular animals they represent symbolize what they must achieve to
        call themselves men. Unlike Sitka, who gained the eagle of guidance, and
        Denahi, who gained the wolf of wisdom, Kenai receives the bear of love.
        He objects to his totem, stating that bears are thieves, and believes
        his point is made a fact when a brown bear steals their basket of
        salmon. Kenai and his brothers pursue the bear, but a fight ends on top
        of a glacier, during which Sitka gives his life to save his brothers by
        dislodging the glacier, although the bear survives the fall. After
        Sitka's funeral, an enraged Kenai blames the bear for Sitka's death. He
        hunts down and chases the bear up onto a rocky cliff, fighting and
        eventually slaying it. The Spirits, represented by Sitka's spirit in the
        form of a bald eagle, arrive and transform Kenai into a bear after the
        dead bear's body evaporates and joins them. Denahi arrives and, falsely
        believing that Kenai was killed by the bear from earlier, vows to avenge
        Kenai by hunting it down. Kenai falls down some rapids, survives, and is
        healed by Tanana, the shaman of his tribe. She does not speak the bear
        language, but advises him to return to the mountain to find Sitka and be
        turned back to a human, but only when he atones for his actions; she
        vanishes without an explanation. Kenai quickly discovers that the
        wildlife can now speak to him, meeting a pair of moose brothers named
        Rutt and Tuke. He gets caught in a trap, but is freed by an outgoing
        bear cub named Koda. They make a deal: Kenai will escort Koda to an
        annual salmon run and then the cub will lead Kenai to the mountain.
        Along the way the two eventually form a brother-like relationship. While
        riding on the backs of a mammoth herd, Koda reveals that his mother is
        missing. The two are hunted by Denahi, who is still determined to avenge
        Kenai, unaware that the bear he is pursuing is actually Kenai himself.
        Eventually, Kenai and Koda reach the salmon run, where a large number of
        bears live as a family, including the leader Tug. Kenai accepts his new
        surroundings and is comfortable living with the other bears. During a
        discussion among the bears, Koda tells a story about his mother recently
        fighting human hunters on a glacier, reminding Kenai of his and his
        brothers' fight with the bear that led to Sitka's death, making him
        realize that the entire time, the bear he killed was Koda's mother.
        Horrified of what he has done, Kenai runs away in a fit of guilt, but
        Koda soon follows him. Downhearted, Kenai confesses the truth to Koda,
        who runs away, grief-stricken that Kenai was responsible for his
        mother's death out of avenging Sitka. An apologetic Kenai leaves to
        reach the mountain. Meanwhile, Rutt and Tuke, having had a falling-out,
        reconcile in front of Koda, prompting him to forgive Kenai. On the
        mountain, Kenai is cornered by Denahi, but their battle is interrupted
        by Koda, who steals Denahi's spear. Kenai sacrifices himself for Koda,
        out of love, prompting Sitka to appear and turn him back into a human,
        much to Denahi and Koda's surprise. However, upon realizing that Koda
        needs him because of his own mistake, Kenai asks Sitka to transform him
        back into a bear with Denahi's support. Sitka complies, and Kenai is
        transformed back into a bear. Koda is reunited briefly with the spirit
        of his mother before she and Sitka return to the spirit world. In the
        end, Kenai lives with the rest of the bears and gains his title as a
        man, through being a bear.
      - >-
        At a racetrack, aging drag racing star Lonnie Lucky Man Johnson makes
        engine refinements to his car, which is sponsored by the international
        oil company Fast Company (FastCo). On its first test run it blows up,
        but Lonnie escapes unhurt. FastCo team boss Phil Adamson is not
        impressed, telling the head mechanic, Elder, that the team can't afford
        to win if it breaks the budget. In the Funny Car class, Lonnie's protégé
        Billy The Kid Brooker gives top dog Gary The Blacksmith Black a close
        run. At the Big Sky meet, Adamson takes a backhander from the organizer.
        He says that the fans come to see Lonnie, so while the dragster is being
        repaired he will replace Billy in the Funny Car. Lonnie doesn't like the
        idea. Billy likes it less, blaming Lonnie's ego. Lonnie's first ever
        Funny Car run is against Black, who is angry at the driver switch,
        especially when he loses the race. En route to a next race in Spokane,
        Lonnie calls the dragster mechanic with a few ideas, but is told that
        Adamson cancelled the repair work. At the meet, Lonnie is less than
        complimentary on his FastCo TV spot. Adamson is incensed and calls the
        company to say he's bringing in Gary Black. Candy the FastCo ad girl
        refuses to have sex with the TV interviewer as damage control, so
        Adamson fires her. He offers Black the job as FastCo driver. Candy and
        Billy have sex inside Lonnie's trailer. Lonnie’s girlfriend Sammy shows
        up and interrupts them, assuming at first it’s Lonnie in bed. Reunited,
        Lonnie and Sammy kick out Billy and Candy, and they make love. Lonnie
        talks about quitting racing. Adamson walks in without knocking, causing
        Lonnie to punch him to the floor. He says they're finished, but Lonnie
        assures him the car will race. Outside the trailer, Adamson gives Black
        and his mechanic Meatball a job. While on another test run, the Funny
        Car's engine blows, but Lonnie controls the situation using the cockpit
        safety gear. Billy angrily accuses Black of sabotage, but Lonnie
        intervenes on Black's behalf. In the pit, Adamson announces that Black
        is the new Fast Co driver and the whole team is fired. Lonnie goes for
        him but is slugged with a tire iron by Meatball. Billy is despondent,
        but Lonnie insists they'll still race at Edmonton next weekend and plans
        to steal the car. Billy and P.J. visit the local motor show and are
        amazed that Adamson has the car on display. That night, Billy and Candy
        create a diversion while Lonnie steals the car back. Working overtime,
        Lonnie, Billy, P.J. get it in shape for the race. At the Edmonton
        racetrack, Lonnie's surprise independent entry is announced. Adamson is
        worried that Black will be beaten, but Meatball says he will win as long
        as he is in the left lane. Lonnie gives an ecstatic Billy the chance to
        drive in the race. At the toss up for the lane choice, Billy wins and
        chooses left. Adamson ensures a last minute change, much to Billy's
        annoyance. Meatball pours oil on Billy’s lane. As the race gets underway
        Billy gets a fast start, but Black tries to run him off the road. Black
        takes the lead, then cuts into Billy's lane and hits the oil, causing
        his car to explode in a giant fireball. Billy attacks Meatball at the
        side of the track and in the struggle, Meatball's overalls catch fire.
        Billy uses his cockpit extinguisher to save his life. Adamson panics and
        flees to his plane. As it taxis down the runway, Lonnie jumps in the
        Funny Car. He catches up just as the plane takes off, clipping the end
        off a wing. Adamson fights for control but the plane dives into a parked
        FastCo oil truck, exploding on impact. The next morning, the team
        members discuss the future. Lonnie promises he'll have new funding in
        place soon, but first he and Sammy are going to share some quality time.
  - source_sentence: >-
      In 1986, a young girl named Naina (Urmila Matondkar) lost her sight and
      her parents in a car accident.

      A few years later, Naina received a corneal transplant that restored her
      sight. However, she began to experience visions.
    sentences:
      - >-
        During a solar eclipse in 1986, young Naina Shah, while traveling in the
        backseat of her England-based dad's car, is struck by glass from the
        shattered windshield during an accident, and loses her eyesight. Her
        parents do not survive, and she is brought up by her paternal
        grandmother. Years later, Naina gets a successful corneal transplant,
        and is able to see. She complains of vision problems, seeing hooded
        persons, and people dying, which a psychiatrist, Samir Patel, diagnoses
        as hallucinations. But when Naina reports seeing someone else in her
        mirror reflection, Sameer decides to investigate who the original cornea
        actually belonged to. This investigation will lead them to an
        impoverished village in New Bhuj, Gujarat, where she will find her life
        endangered by hostile villagers who believe that the donor of her cornea
        was cursed. Naina learns the story of her donor, Khemi. Khemi was born
        with the ability to see a person's imminent death, and was ostracised by
        the society. One night, she tried to save the village from a great fire,
        but nobody believed her. After the fire broke out, those same villagers
        blamed Khemi for the disaster. Khemi committed suicide out of despair.
        Naina returns to England, where she unsuccessfully tries to save people
        from a fire. In the accident, Naina once again loses her eyesight, but
        she does not regret it because she has the love of Samir and her
        grandmother.
      - >-
        Mick O'Brien is a 16-year-old Irish-American hoodlum from Chicago.
        Mick's crimes include snatching purses, shoplifting,  vandalism, and
        fighting, but he aspires to bigger things. Mick's attempt to rip off his
        Puerto Rican rival, Paco Moreno, goes awry, leading to Mick's best
        friend Carl being fatally shot and Mick accidentally running over and
        killing Paco's eight-year-old brother. Mick is sent to the Rainford
        Juvenile Correctional Facility. Most of the supervisors there have
        lowered themselves to the role of zookeepers. One exception is Ramon
        Herrera, a former gang member who talks tough to the inmates, but holds
        out hope for some of them, especially Mick. Mick's cellmate is Barry
        Horowitz, a small, wiry, brainy Jewish kid who firebombed a bowling
        alley after some boys there assaulted him for flirting with their
        girlfriends. Their cell block is dominated by a pair of brawny sadists
        named Viking Lofgren and Warren Tweety Jerome, who take an immediate
        dislike to Mick. Mick puts up with them at first, but after witnessing
        Tweety kill another inmate (who tried to stab Tweety as revenge for
        raping him), he refuses to be intimidated. Suspecting that Mick may have
        revealed Tweety's guilt to the authorities, Tweety and Viking go to
        Mick's cell to confront him. Mick beats them up with a pillowcase full
        of unopened soda cans. His victory earns him the respect of the block
        and recognition as the new barn boss. Tweety is released soon afterwards
        and is later killed during a liquor store robbery. In order to avenge
        his brother's death, Paco attacks and rapes Mick's girlfriend, J.C.
        After learning of this, Mick and Horowitz escape. While running through
        the woods, Horowitz falls on some barbed wire and is caught by two
        supervisors who were on their trail. This gives Mick time to get away.
        Ramon rightfully believes that Mick will go to J.C.'s house and soon
        picks him up there. Before returning to Rainford, Ramon takes Mick to
        visit a maximum-security prison to show him where he could end up if he
        continues down the same path. Paco is arrested and winds up in the same
        dormitory as Mick. Rainford staff are fully aware of the potential
        danger, but no other reform school has a vacancy. Paco attempts to
        provoke Mick into a fight, but Mick avoids the confrontation, since he
        may qualify for early release if he stays out of trouble. However, he
        also loses the respect of many of the inmates, who now want to see Paco
        put Mick away. In an attempt to retaliate on Mick's behalf, Horowitz
        creates a bomb by planting fertilizer in a radio that he places in the
        cell Paco and Viking share. The charge explodes prematurely and only
        injures Viking. Horowitz is condemned to solitary confinement for the
        remainder of his sentence, a fate he fears more than any other. When
        Paco accidentally learns he is being transferred to another facility the
        next day, he decides to kill Mick that night. While Ramon is on night
        watch, Paco fakes a ruptured appendix, knocks Ramon unconscious, and
        locks him in the office. Paco then goes to Mick's cell to stab him with
        a shiv. Mick gets the jump on Paco, however, and they start fighting.
        The other inmates are awakened by the brawl and some barricade the door
        to the dormitory. Eventually, Mick gets on top of Paco and prepares to
        deliver a fatal stab wound with the shiv while being encouraged by the
        others to kill. But Mick resists at the last second and stabs the floor
        mat instead. He then drags a beaten Paco to the supervisors and heads
        back to his cell, crying in remorse.
      - >-
        Sylvia Miller, a Seattle morning show weather television personality,
        after learning her boyfriend Dale Waters and anchor for their show has
        cheated on her with his co-anchor Sherry, shames him on air. Her live
        freak out includes quitting her job. Sylvia is forced to move in with
        her younger brother, as she was living with Dale. She must cope with
        being 35, single and unemployable in her chosen profession as she's
        committed professional suicide. To retrieve her things from her old
        place she gets Byron and Walt, who are a number of years younger, to act
        as her muscle. Dale and Sherry are napping when they arrive, and when
        she finds them she loses it, climbing on the bed and slapping him.
        Before she goes, Dale says he cheated because she didn't love him and
        she was cold. After several unsuccessful job interviews it becomes clear
        that Sylvia can't get hired in broadcast journalism. Now desperate to
        earn money, she eventually gets a low-paying job as a  waitress. That
        night, Sylvia agrees to go on a date with Charles, set up by her
        girlfriends. Walt and Byron give them a hard time as the couple leaves
        the apartment. On the date, Charles comes on very strong, talking about
        wanting to get married, and even having chosen the names of their future
        children. Arriving back at the apartment, Sylvia tells Byron that
        Charles was creepy. He proposes he be her rebound guy. Initially
        resistant, after a moment she says yes. The conditions are: it's just
        physical; no strings; and don't tell Walt. The fling is the only thing
        making Sylvia's life tolerable. But the secret is out when Walt walks in
        on the two as they are getting physical. Byron fears what this discovery
        may do to his friendship with Walt, but Sylvia insists that it is purely
        physical, with no strings. Restaurant customers constantly bug Sylvia
        about her TV blow up and the kitchen staff harass her in Spanish. She
        begins to bond with the staff when she finally shows them she knows some
        Spanish. Byron shows up at the restaurant, coercing her into a date,
        where they walk, share life stories, and seem to get closer. On the
        walk, Sylvia tells Byron that her mom died when she was 14, and Walt was
        10, so the siblings raised each other. They bump into her friends, whom
        she hasn't seen since she and Byron started hooking up.  The friends
        bring up the age difference. At work, Sylvia performs the Heimlich
        maneuver on a choking customer, a video of which goes viral.
        Simultaneously, Walt notices that Byron is truly interested in her as
        her former boss calls, proposing she come back to co-anchor with Dale.
        As Sylvia considers the new job offer, Dale invites her to dinner, and
        says she can decide if it is just a professional meeting or also
        intimate. Walt admonishes her for going. Byron stops by to let her know
        how much he likes her, but Sylvia says she doesn't reciprocate. At the
        dinner, Dale says he wants her back, but she doesn't allow him to kiss
        her.
  - source_sentence: >-
      Sheba Miller, a working-class girl, dreams of a life of luxury. Her father
      owns a cigar shop, while she works as a stenographer. Jack, another
      working man, is madly in love with her and has even asked her father for
      his consent to their marriage. Although Pa Miller loves Jack and would
      like to see his daughter marry him, Sheba refuses because of his current
      salary. One day, she convinces him to take her to a chic and exclusive
      nightclub, the Pirates Den. Once they arrive and are seated, he is shocked
      by the prices and suggests they go somewhere else; this leads to an
      argument. As the couple is about to leave, an advertisement is placed for
      a leg contest, and Sheba decides to enter. She wins first place and is
      presented with her prize by Nickey Solomon, a gangster. Finally, Nickey
      proposes to Sheba, but before they can get married, Solomon, short on
      cash, robs a cigar shop and, in doing so, shoots the man behind the
      counter. Unbeknownst to him, he has shot Sheba's father. As the two are
      about to head out for another night on the town now that they have money,
      they stop at her father's cigar shop to say hello. As they approach, they
      see the police stationed nearby, and Nickey realizes what he has done. He
      convinces Sheba to stay in the car while he checks what happened. He
      speaks briefly to the police and then tells them that her father is fine
      and is now at the station helping the police identify a robber. In
      reality, however, her father is in the hospital being treated for his
      gunshot wound. Nickey convinces Sheba to continue their date, and they go
      to the club, but Jack, who suspects Solomon of being behind the robbery,
      asks the police to help him with his plan to frame him. They manage to get
      Nickey to unwittingly confess to the crime and convince him to leave town,
      but they arrest him at the train station before he has a chance to board.
      Solomon is taken to jail, and Sheba is informed that her father is
      perfectly fine. Humiliated by the experience, Sheba agrees to marry Jack
      with his $35-a-week salary.
    sentences:
      - >-
        Sakura Motomachi, Tokyo in the 1960s. Shin, a boy who lived happily,
        despite being poor, loses his mother, his only family member, and falls
        into deep misfortune. Itsuki, a boy who saves Shin, also lost his older
        sister. Those two boys are joined by Tae, a girl who can see Yo-kai, and
        together with Shin's guardian spirit Sū-san, and new Yo-kai such as
        Nekomata, they take on a mysterious incident in order to retrieve the
        souls of their precious family! And what is the shocking truth that
        awaits them...!? This is a story about the friendship formed between
        three children and Yo-kai― The film also tells the origin of how Lord
        Enma became the ruler of the Yo-kai.
      - >-
        Alice White plays Sheba Miller, a working-class girl who dreams about
        living a life of luxury. Her father runs a cigar store while she works
        as a stenographer. Jack, a soda jerk, is madly in love with her and has
        even asked her father for his consent to their marriage. Although Pa
        Miller likes Jack and would like to see his daughter marry him, Sheba
        refuses him on the wage he currently earns. One day, she convinces him
        to take her to a fancy exclusive nightclub, the Pirates Den. Once they
        arrive and are seated, he is shocked at the prices and suggests that
        they go elsewhere; this leads to an argument. As the couple is about to
        leave, an announcement is made for a leg contest and Sheba decides to
        enter. She wins first place and is awarded her prize by Nickey Solomon,
        a gangster. Dazzled by his fancy clothes and car, Sheba accepts his
        attentions and give Jack the air. Eventually Nickey asks Sheba to marry
        him, but before they tie the knot, Solomon, who is low on cash, robs a
        cigar store and in the process shoots the man behind the counter.
        Without knowing it, he has shot Sheba's father. As the two are about to
        head out for another night on the town now that they have money, they
        stop at her father's cigar store to say hello. As they approach, they
        see police stationed around and Nickey realizes what he has done. He
        convinces Sheba to stay in the car while he checks out what happened. He
        talks a bit to the police and then tells her that her father is all
        right and that he is now at the police station to help the police
        identify a thief. In reality, however, her father is at the hospital
        being treated for the gunshot wound. Nickey convinces Sheba to continue
        their date and they drive to the club, but Jack, who suspects that
        Solomon was behind the robbery, asks the police to help with his
        entrapment plan. They manage to get Nickey to unwittingly confess to the
        crime and convince him to skip town, but they arrest him at the train
        station before he has a chance to board. Solomon is taken to jail and
        Sheba is informed that her father is perfectly fine. Sheba, humbled by
        the experience, agrees to marry Jack on his $35 a week salary.
      - >-
        Raj Sharma is a young playboy who meets three young women at different
        stages in his life and learns important lessons about love along the
        way. As the story opens in 2008, it leads to a series of flashbacks
        describing his growth both emotional and ethical. 1996, Switzerland –
        Mahi  On a trip to Switzerland with his friends, Raj runs into Mahi
        Pasricha on the Eurail, who is on vacation with her friends and family.
        Mahi is a sweet, dreamy girl who believes in true love and is hoping to
        find her 'Raj' (a reference to Dilwale Dulhania Le Jayenge (1995)) i.e.
        her true love. When she misses her train, Raj helps her reach the
        airport through a different route. On the way, they share a kiss after
        Raj reads her a poem he wrote about her. At the airport, when she opens
        the paper on which Raj had written the poem, she finds it blank. Raj
        boasts to his friends about what happened between the pair and how he
        took full advantage of the situation when she was alone. Mahi overhears
        this and is shocked and heartbroken. Raj realizes that she has overheard
        his conversation with his friends and shamefacedly leaves. 2002, Mumbai
        – Radhika  6 years after the Switzerland episode, Raj has moved to
        Mumbai and found a job with Microsoft as a game designer with his best
        friend Sachin Kashyap. Pretty soon, he enters into a live-in
        relationship with neighbor Radhika Kapoor, an aspiring model. Having
        received an offer to move to Sydney for a Halo 3 game launch, he expects
        to be able to leave Radhika and move on, assuming she is capable of
        handling a break-up. This vision is shattered when Radhika declares that
        she intends to sacrifice her career to marry Raj and join him in
        Australia. He makes up reasons to Radhika so as to prevent them from
        getting married, but she remains firm. Raj, unable to express his
        commitment phobia, boards his flight on the morning of his wedding to
        Radhika. Radhika learns this while waiting for him at the registrar's
        office dressed as a bride, and is left crestfallen and heartbroken.
        2007, Sydney – Gayatri  5 years down the line, Raj now enjoys a
        successful career along with Sachin in Sydney. He meets Gayatri Divecha,
        a feisty and independent woman who studies at business school during the
        day, and moonlights as a taxi-driver at night. As they date, he gains
        feelings for her. He also realizes that his feelings for her challenge
        his misgivings towards commitment. He proposes to her, but Gayatri turns
        him down, saying that she is happy with her life as she is and she
        doesn't believe in marriage and commitment. Rejection cuts Raj deep. He
        recalls when he broke the hearts of Mahi and Radhika, realizing how they
        must have felt. He decides to seek them out and ask for forgiveness.
pipeline_tag: sentence-similarity
library_name: sentence-transformers

SentenceTransformer based on google/embeddinggemma-300m

This is a sentence-transformers model finetuned from google/embeddinggemma-300m. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

Model Details

Model Description

  • Model Type: Sentence Transformer
  • Base model: google/embeddinggemma-300m
  • Maximum Sequence Length: 256 tokens
  • Output Dimensionality: 768 dimensions
  • Similarity Function: Cosine Similarity

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'Gemma3TextModel'})
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("ahmedHamdi/IR-fr-en-gemma")
# Run inference
sentences = [
    "Sheba Miller, a working-class girl, dreams of a life of luxury. Her father owns a cigar shop, while she works as a stenographer. Jack, another working man, is madly in love with her and has even asked her father for his consent to their marriage. Although Pa Miller loves Jack and would like to see his daughter marry him, Sheba refuses because of his current salary. One day, she convinces him to take her to a chic and exclusive nightclub, the Pirates Den. Once they arrive and are seated, he is shocked by the prices and suggests they go somewhere else; this leads to an argument. As the couple is about to leave, an advertisement is placed for a leg contest, and Sheba decides to enter. She wins first place and is presented with her prize by Nickey Solomon, a gangster. Finally, Nickey proposes to Sheba, but before they can get married, Solomon, short on cash, robs a cigar shop and, in doing so, shoots the man behind the counter. Unbeknownst to him, he has shot Sheba's father. As the two are about to head out for another night on the town now that they have money, they stop at her father's cigar shop to say hello. As they approach, they see the police stationed nearby, and Nickey realizes what he has done. He convinces Sheba to stay in the car while he checks what happened. He speaks briefly to the police and then tells them that her father is fine and is now at the station helping the police identify a robber. In reality, however, her father is in the hospital being treated for his gunshot wound. Nickey convinces Sheba to continue their date, and they go to the club, but Jack, who suspects Solomon of being behind the robbery, asks the police to help him with his plan to frame him. They manage to get Nickey to unwittingly confess to the crime and convince him to leave town, but they arrest him at the train station before he has a chance to board. Solomon is taken to jail, and Sheba is informed that her father is perfectly fine. Humiliated by the experience, Sheba agrees to marry Jack with his $35-a-week salary.",
    "Alice White plays Sheba Miller, a working-class girl who dreams about living a life of luxury. Her father runs a cigar store while she works as a stenographer. Jack, a soda jerk, is madly in love with her and has even asked her father for his consent to their marriage. Although Pa Miller likes Jack and would like to see his daughter marry him, Sheba refuses him on the wage he currently earns. One day, she convinces him to take her to a fancy exclusive nightclub, the Pirates Den. Once they arrive and are seated, he is shocked at the prices and suggests that they go elsewhere; this leads to an argument. As the couple is about to leave, an announcement is made for a leg contest and Sheba decides to enter. She wins first place and is awarded her prize by Nickey Solomon, a gangster. Dazzled by his fancy clothes and car, Sheba accepts his attentions and give Jack the air. Eventually Nickey asks Sheba to marry him, but before they tie the knot, Solomon, who is low on cash, robs a cigar store and in the process shoots the man behind the counter. Without knowing it, he has shot Sheba's father. As the two are about to head out for another night on the town now that they have money, they stop at her father's cigar store to say hello. As they approach, they see police stationed around and Nickey realizes what he has done. He convinces Sheba to stay in the car while he checks out what happened. He talks a bit to the police and then tells her that her father is all right and that he is now at the police station to help the police identify a thief. In reality, however, her father is at the hospital being treated for the gunshot wound. Nickey convinces Sheba to continue their date and they drive to the club, but Jack, who suspects that Solomon was behind the robbery, asks the police to help with his entrapment plan. They manage to get Nickey to unwittingly confess to the crime and convince him to skip town, but they arrest him at the train station before he has a chance to board. Solomon is taken to jail and Sheba is informed that her father is perfectly fine. Sheba, humbled by the experience, agrees to marry Jack on his $35 a week salary.",
    "Raj Sharma is a young playboy who meets three young women at different stages in his life and learns important lessons about love along the way. As the story opens in 2008, it leads to a series of flashbacks describing his growth both emotional and ethical. 1996, Switzerland – Mahi  On a trip to Switzerland with his friends, Raj runs into Mahi Pasricha on the Eurail, who is on vacation with her friends and family. Mahi is a sweet, dreamy girl who believes in true love and is hoping to find her 'Raj' (a reference to Dilwale Dulhania Le Jayenge (1995)) i.e. her true love. When she misses her train, Raj helps her reach the airport through a different route. On the way, they share a kiss after Raj reads her a poem he wrote about her. At the airport, when she opens the paper on which Raj had written the poem, she finds it blank. Raj boasts to his friends about what happened between the pair and how he took full advantage of the situation when she was alone. Mahi overhears this and is shocked and heartbroken. Raj realizes that she has overheard his conversation with his friends and shamefacedly leaves. 2002, Mumbai – Radhika  6 years after the Switzerland episode, Raj has moved to Mumbai and found a job with Microsoft as a game designer with his best friend Sachin Kashyap. Pretty soon, he enters into a live-in relationship with neighbor Radhika Kapoor, an aspiring model. Having received an offer to move to Sydney for a Halo 3 game launch, he expects to be able to leave Radhika and move on, assuming she is capable of handling a break-up. This vision is shattered when Radhika declares that she intends to sacrifice her career to marry Raj and join him in Australia. He makes up reasons to Radhika so as to prevent them from getting married, but she remains firm. Raj, unable to express his commitment phobia, boards his flight on the morning of his wedding to Radhika. Radhika learns this while waiting for him at the registrar's office dressed as a bride, and is left crestfallen and heartbroken. 2007, Sydney – Gayatri  5 years down the line, Raj now enjoys a successful career along with Sachin in Sydney. He meets Gayatri Divecha, a feisty and independent woman who studies at business school during the day, and moonlights as a taxi-driver at night. As they date, he gains feelings for her. He also realizes that his feelings for her challenge his misgivings towards commitment. He proposes to her, but Gayatri turns him down, saying that she is happy with her life as she is and she doesn't believe in marriage and commitment. Rejection cuts Raj deep. He recalls when he broke the hearts of Mahi and Radhika, realizing how they must have felt. He decides to seek them out and ask for forgiveness.",
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.9117, 0.0916],
#         [0.9117, 1.0000, 0.0746],
#         [0.0916, 0.0746, 1.0000]])

Training Details

Training Dataset

Unnamed Dataset

  • Size: 16,276 training samples
  • Columns: sentence_0 and sentence_1
  • Approximate statistics based on the first 1000 samples:
    sentence_0 sentence_1
    type string string
    details
    • min: 11 tokens
    • mean: 125.11 tokens
    • max: 256 tokens
    • min: 21 tokens
    • mean: 230.12 tokens
    • max: 256 tokens
  • Samples:
    sentence_0 sentence_1
    An unbelievable heatwave hits the British island of Fara in the middle of winter. At the Swan Inn, tension rises along with the temperature. The mysterious guest, Hanson, will eventually reveal the cause of this strange microclimate: aliens are preparing to invade Earth, and the intense heat is essential for their survival… Jeff and Frankie Callum run The Swan, an inn on the island of Fara, somewhere off the English coast. Jeff, a professional novelist, hires a secretary, but this turns out to be Angela Roberts, a younger woman with whom he had an affair some time before, and who has come to the island with the intent of luring Jeff away from his wife, or at least causing trouble in their marriage. The Callums moved to Fara so that Jeff could escape Angela's amorous advances, although as far as Frankie knows, it was only to escape the tedium of life on the mainland. Not helping matters is the fact that despite it being the middle of winter, Fara is experiencing a stifling and inexplicable heat wave, with temperatures rising rapidly. It has become so hot that cars stall, beer bottles shatter, televisions explode, and telephones have ceased to work. Into this tense situation comes Godfrey Hanson, a mysterious scientist from the mainland, who rents a room at The Swan. Hanson spends his time exploring the isl...
    Rasputin made his healing powers known in Russia by curing a tavern keeper's wife. He then decided to go to the capital to become important. He hypnotized several people, which allowed him to gain access to the Tsar's court. In the Russian countryside, Rasputin heals the sick wife of an innkeeper (Derek Francis). When he is later hauled before an Orthodox bishop for his sexual immorality and violence, the innkeeper springs to the monk's defence. Rasputin protests that he is sexually immoral because he likes to give God sins worth forgiving (loosely based on Rasputin's rumored connection to Khlysty, an obscure Christian sect which believed that those deliberately committing fornication, then repenting bitterly, would be closer to God). He also claims to have healing powers in his hands, and is unperturbed by the bishop's accusation that his power comes from Satan. Rasputin heads for Saint Petersburg, where he forces his way into the home of Dr Zargo (Pasco), from where he begins his campaign to gain influence over the Tsarina (Asherson). He manipulates one of the Tsarina's ladies-in-waiting, Sonia (Shelley), whom he uses to satisfy his voracious sexual appetite and gain access to the Tsarina. He places her ...
    The film depicts the Willard family on a trip to Europe. The family crosses the Atlantic Ocean aboard the SS United States. Harry Willard finally makes good his promise to take his bride of 20 years on a long-delayed trip by ship to Europe. They are accompanied by their 19-year-old son (Elliott), 18-year-old daughter (Amy), and 11-year-old son (Skipper). From the time they arrive at the dock, an unending series of comedy adventures and romantic encounters ensue until, exhausted but happy, they leave with memories that will stay with them all for years to come.
  • Loss: MultipleNegativesRankingLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "cos_sim",
        "gather_across_devices": false
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • per_device_train_batch_size: 4
  • per_device_eval_batch_size: 4
  • multi_dataset_batch_sampler: round_robin

All Hyperparameters

Click to expand
  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: no
  • prediction_loss_only: True
  • per_device_train_batch_size: 4
  • per_device_eval_batch_size: 4
  • per_gpu_train_batch_size: None
  • per_gpu_eval_batch_size: None
  • gradient_accumulation_steps: 1
  • eval_accumulation_steps: None
  • torch_empty_cache_steps: None
  • learning_rate: 5e-05
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1
  • num_train_epochs: 3
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: None
  • warmup_ratio: 0.0
  • warmup_steps: 0
  • log_level: passive
  • log_level_replica: warning
  • log_on_each_node: True
  • logging_nan_inf_filter: True
  • save_safetensors: True
  • save_on_each_node: False
  • save_only_model: False
  • restore_callback_states_from_checkpoint: False
  • no_cuda: False
  • use_cpu: False
  • use_mps_device: False
  • seed: 42
  • data_seed: None
  • jit_mode_eval: False
  • bf16: False
  • fp16: False
  • fp16_opt_level: O1
  • half_precision_backend: auto
  • bf16_full_eval: False
  • fp16_full_eval: False
  • tf32: None
  • local_rank: 0
  • ddp_backend: None
  • tpu_num_cores: None
  • tpu_metrics_debug: False
  • debug: []
  • dataloader_drop_last: False
  • dataloader_num_workers: 0
  • dataloader_prefetch_factor: None
  • past_index: -1
  • disable_tqdm: False
  • remove_unused_columns: True
  • label_names: None
  • load_best_model_at_end: False
  • ignore_data_skip: False
  • fsdp: []
  • fsdp_min_num_params: 0
  • fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
  • fsdp_transformer_layer_cls_to_wrap: None
  • accelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
  • parallelism_config: None
  • deepspeed: None
  • label_smoothing_factor: 0.0
  • optim: adamw_torch_fused
  • optim_args: None
  • adafactor: False
  • group_by_length: False
  • length_column_name: length
  • project: huggingface
  • trackio_space_id: trackio
  • ddp_find_unused_parameters: None
  • ddp_bucket_cap_mb: None
  • ddp_broadcast_buffers: False
  • dataloader_pin_memory: True
  • dataloader_persistent_workers: False
  • skip_memory_metrics: True
  • use_legacy_prediction_loop: False
  • push_to_hub: False
  • resume_from_checkpoint: None
  • hub_model_id: None
  • hub_strategy: every_save
  • hub_private_repo: None
  • hub_always_push: False
  • hub_revision: None
  • gradient_checkpointing: False
  • gradient_checkpointing_kwargs: None
  • include_inputs_for_metrics: False
  • include_for_metrics: []
  • eval_do_concat_batches: True
  • fp16_backend: auto
  • push_to_hub_model_id: None
  • push_to_hub_organization: None
  • mp_parameters:
  • auto_find_batch_size: False
  • full_determinism: False
  • torchdynamo: None
  • ray_scope: last
  • ddp_timeout: 1800
  • torch_compile: False
  • torch_compile_backend: None
  • torch_compile_mode: None
  • include_tokens_per_second: False
  • include_num_input_tokens_seen: no
  • neftune_noise_alpha: None
  • optim_target_modules: None
  • batch_eval_metrics: False
  • eval_on_start: False
  • use_liger_kernel: False
  • liger_kernel_config: None
  • eval_use_gather_object: False
  • average_tokens_across_devices: True
  • prompts: None
  • batch_sampler: batch_sampler
  • multi_dataset_batch_sampler: round_robin
  • router_mapping: {}
  • learning_rate_mapping: {}

Training Logs

Epoch Step Training Loss
0.1229 500 0.0107
0.2458 1000 0.0318
0.3686 1500 0.0667
0.4915 2000 0.1008
0.6144 2500 0.0844
0.7373 3000 0.0762
0.8602 3500 0.075
0.9830 4000 0.0713
1.1059 4500 0.039
1.2288 5000 0.0322
1.3517 5500 0.0399
1.4746 6000 0.0394
1.5974 6500 0.0259
1.7203 7000 0.0258
1.8432 7500 0.0215
1.9661 8000 0.0189
2.0890 8500 0.0077
2.2118 9000 0.0138
2.3347 9500 0.0077
2.4576 10000 0.003
2.5805 10500 0.0073
2.7034 11000 0.0088
2.8262 11500 0.0047
2.9491 12000 0.0078

Framework Versions

  • Python: 3.9.18
  • Sentence Transformers: 5.1.2
  • Transformers: 4.57.6
  • PyTorch: 2.8.0+cu128
  • Accelerate: 1.10.1
  • Datasets: 4.5.0
  • Tokenizers: 0.22.2

Citation

BibTeX

Sentence Transformers

@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084",
}

MultipleNegativesRankingLoss

@misc{henderson2017efficient,
    title={Efficient Natural Language Response Suggestion for Smart Reply},
    author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
    year={2017},
    eprint={1705.00652},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}