Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Paper
• 1908.10084 • Published
• 12
This is a Cross Encoder model finetuned from BAAI/bge-reranker-v2-m3 using the sentence-transformers library. It computes scores for pairs of texts, which can be used for text reranking and semantic search.
First install the Sentence Transformers library:
pip install -U sentence-transformers
Then you can load this model and run inference.
from sentence_transformers import CrossEncoder
# Download from the 🤗 Hub
model = CrossEncoder("cross_encoder_model_id")
# Get scores for pairs of texts
pairs = [
['Who is the spouse of the original singer of My Way?', 'My Way. ``My Way \'\'German vinyl release Single by Frank Sinatra from the album My Way B - side`` Blue Lace\'\' Released 1969 Recorded December 30, 1968, Los Angeles Genre Traditional pop Length 4: 35 Label Reprise Songwriter (s) Claude François and Jacques Revaux; English lyrics by Paul Anka Producer (s) Sonny Burke</s>A cappella. A cappella [a kapˈpɛlla] (Italian for "in the manner of the chapel") music is specifically group or solo singing without instrumental accompaniment, or a piece intended to be performed in this way. It contrasts with cantata, which is accompanied singing. The term "a cappella" was originally intended to differentiate between Renaissance polyphony and Baroque concertato style. In the 19th century a renewed interest in Renaissance polyphony coupled with an ignorance of the fact that vocal parts were often doubled by instrumentalists led to the term coming to mean unaccompanied vocal music. The term is also used, albeit rarely, as a synonym for alla breve.</s>(What Can I Say) To Make You Love Me. ``(What Can I Say) To Make You Love Me \'\'is a song written by Jimmy Jam and Terry Lewis and recorded by American recording artist Alexander O\'Neal. It is the fifth single from the singer\'s second solo album, Hearsay (1987). The song\'s distinctive backing vocals were performed by Lisa Keith. Following the successful chart performances of the Hearsay singles`` Fake\'\', ``Criticize \'\',`` Never Knew Love Like This\'\', and ``The Lovers \'\',`` (What Can I Say) To Make You Love Me\'\' was released as the album\'s fifth single.</s>The Night We Called It a Day (film). The Night We Called It a Day, also known as All the Way, is a 2003 Australian-American comedy drama film directed by Paul Goldman and starring Dennis Hopper as Frank Sinatra and Melanie Griffith as Barbara Marx. It also features Portia de Rossi, Joel Edgerton, Rose Byrne and David Hemmings. The movie is based on the true events surrounding Sinatra\'s 1974 tour in Australia. When the singer calls a local reporter (de Rossi) a "two-bit hooker", every union in the country black-bans the star until he issues an apology.'],
['When did the name Black Death officially take root in the country where the author of Remains of Elmet is from?', 'At This Moment (album). At This Moment is the debut album of American country music artist Neal McCoy, released in 1990 on Atlantic Records Nashville. "If I Built You a Fire", "Hillbilly Blue" and "This Time I Hurt Her More Than She Loves Me" were all released as singles from this album. Although "Hillbilly Blue" did not chart, the other two singles both entered the lower regions of the Hot Country Songs charts. "If I Built You a Fire" was a Top 20 country hit in Canada as well.</s>Remains of Elmet. Remains of Elmet is a collection of poems by Ted Hughes published in 1979. In this book Hughes has poetically covered the region of Elmet. The book contains black and white photographs by Fay Godwin, taken in the barren hill country of West Yorkshire, Hughes\'s birthplace.</s>Say Hello 2 Heaven. Cornell wrote ``Say Hello 2 Heaven \'\'as a tribute to his roommate, Mother Love Bone vocalist Andrew Wood, who at the time had recently died of a heroin overdose.</s>Black Death. Gasquet (1908) claimed that the Latin name atra mors (Black Death) for the 14th-century epidemic first appeared in modern times in 1631 in a book on Danish history by J.I. Pontanus: "Vulgo & ab effectu atram mortem vocatibant. ("Commonly and from its effects, they called it the black death"). The name spread through Scandinavia and then Germany, gradually becoming attached to the mid 14th-century epidemic as a proper name. In England, it was not until 1823 that the medieval epidemic was first called the Black Death.'],
['When did Chopin return to the city where he grew up?', 'Frédéric Chopin. Back in Warsaw that year, Chopin heard Niccolò Paganini play the violin, and composed a set of variations, Souvenir de Paganini. It may have been this experience which encouraged him to commence writing his first Études, (1829–32), exploring the capacities of his own instrument. On 11 August, three weeks after completing his studies at the Warsaw Conservatory, he made his debut in Vienna. He gave two piano concerts and received many favourable reviews—in addition to some commenting (in Chopin\'s own words) that he was "too delicate for those accustomed to the piano-bashing of local artists". In one of these concerts, he premiered his Variations on Là ci darem la mano, Op. 2 (variations on an aria from Mozart\'s opera Don Giovanni) for piano and orchestra. He returned to Warsaw in September 1829, where he premiered his Piano Concerto No. 2 in F minor, Op. 21 on 17 March 1830.</s>Frédéric Chopin. Frédéric François Chopin (/ˈʃoʊpæn/; French pronunciation: \u200b[fʁe.de.ʁik fʁɑ̃.swa ʃɔ.pɛ̃]; 22 February or 1 March 1810 – 17 October 1849), born Fryderyk Franciszek Chopin,[n 1] was a Polish and French (by citizenship and birth of father) composer and a virtuoso pianist of the Romantic era, who wrote primarily for the solo piano. He gained and has maintained renown worldwide as one of the leading musicians of his era, whose "poetic genius was based on a professional technique that was without equal in his generation." Chopin was born in what was then the Duchy of Warsaw, and grew up in Warsaw, which after 1815 became part of Congress Poland. A child prodigy, he completed his musical education and composed his earlier works in Warsaw before leaving Poland at the age of 20, less than a month before the outbreak of the November 1830 Uprising.</s>Château d\'Aubiry. French industrialist Pierre Bardou-Job became wealthy selling rolling paper and decided to have a château built for each of his three children, all designed by the Danish architect Viggo Dorph-Petersen. The Château d\'Aubiry was for his son Justin and was built from 1893 to 1904. Pierre Bardou-Job himself never saw it, as he died suddenly in 1892 just before the start of the construction.</s>HD 11506 b. HD 11506 b is an extrasolar planet that orbits the star HD 11506 167 light years away in the constellation of Cetus. This planet was discovered in 2007 by the N2K Consortium using the Keck telescope to detect the radial velocity variation of the star caused by the planet. A second planet, HD 11506 c, was discovered in 2015.'],
['When did the continent where the largest country also hosted the football tournament take form that it has today?', 'Exhibition game. National Basketball Association teams play eight preseason games per year. Today, NBA teams almost always play each other in the preseason, but mainly at neutral sites within their market areas in order to allow those who can\'t usually make a trip to a home team\'s arena during the regular season to see a game close to home; for instance the Minnesota Timberwolves will play games in arenas in North Dakota and South Dakota, while the Phoenix Suns schedule one exhibition game outdoors at Indian Wells Tennis Garden in Indian Wells, California yearly, the only such instance an NBA game takes place in an outdoor venue.</s>1989 Copa América. The Copa América 1989 football tournament was hosted by Brazil, from 1 to 16 July. All ten CONMEBOL member nations participated.</s>Garry Tallent. Garry Wayne Tallent (born October 27, 1949 in Detroit, Michigan), sometimes billed as Garry W. Tallent, is an American musician and record producer, best known for being bass player and founding member of the E Street Band, Bruce Springsteen\'s primary backing band since 1972. As of 2013, and not counting Springsteen himself, Tallent is the only original member of the E Street Band remaining in the band. Tallent was inducted as a member of the E Street Band into the Rock and Roll Hall of Fame.</s>Haarla. Haarla (Finnish; "Harlax" in Swedish) is a district and a suburb of the city of Turku, in Finland. It is located in the southern part of the island of Hirvensalo, off the city\'s coastline. The bridge between Hirvensalo and Satava is located in Haarla.'],
['How long is the border with the country where the orchestrator of Chopiniana is a citizen?', "Belyayev circle. The Belyayev circle () was a society of Russian musicians who met in Saint Petersburg, Russia between 1885 and 1908, and whose members included Nikolai Rimsky-Korsakov, Alexander Glazunov, Vladimir Stasov, Anatoly Lyadov, Alexander Ossovsky, Witold Maliszewski, Nikolai Tcherepnin, Nikolay Sokolov, Alexander Winkler among others. The circle was named after Mitrofan Belyayev, a timber merchant and amateur musician who became a music philanthropist and publisher after hearing the music of the teenage Glazunov.</s>Kazakhstan. It shares borders of 6,846 kilometres (4,254 mi) with Russia, 2,203 kilometres (1,369 mi) with Uzbekistan, 1,533 kilometres (953 mi) with China, 1,051 kilometres (653 mi) with Kyrgyzstan, and 379 kilometres (235 mi) with Turkmenistan. Major cities include Nur-Sultan, Almaty, Karagandy, Shymkent, Atyrau, and Oskemen. It lies between latitudes 40° and 56° N, and longitudes 46° and 88° E. While located primarily in Asia, a small portion of Kazakhstan is also located west of the Urals in Eastern Europe.Kazakhstan's terrain extends west to east from the Caspian Sea to the Altay Mountains and north to south from the plains of Western Siberia to the oases and deserts of Central Asia. The Kazakh Steppe (plain), with an area of around 804,500 square kilometres (310,600 sq mi), occupies one-third of the country and is the world's largest dry steppe region. The steppe is characterised by large areas of grasslands and sandy regions. Major seas, lakes and rivers include the Aral Sea, Lake Balkhash and Lake Zaysan, the Charyn River and gorge and the Ili, Irtysh, Ishim, Ural and Syr Darya rivers.</s>Frédéric Chopin. Chopin's music was used in the 1909 ballet Chopiniana, choreographed by Michel Fokine and orchestrated by Alexander Glazunov. Sergei Diaghilev commissioned additional orchestrations—from Stravinsky, Anatoly Lyadov, Sergei Taneyev and Nikolai Tcherepnin—for later productions, which used the title Les Sylphides.</s>Trinidad and Tobago passport. The Oath of Citizenship or officially Oath of Allegiance, is a statement recited by individuals wishing to become citizens of the Republic of Trinidad and Tobago. Individuals who wish to become a citizen of Trinidad and Tobago do so through the Ministry of National Security's Citizenship and Immigration Section. The Oath of Allegiance is a mandatory step to becoming a citizen of Trinidad and Tobago."],
]
scores = model.predict(pairs)
print(scores.shape)
# (5,)
# Or rank different texts based on similarity to a single text
ranks = model.rank(
'Who is the spouse of the original singer of My Way?',
[
'My Way. ``My Way \'\'German vinyl release Single by Frank Sinatra from the album My Way B - side`` Blue Lace\'\' Released 1969 Recorded December 30, 1968, Los Angeles Genre Traditional pop Length 4: 35 Label Reprise Songwriter (s) Claude François and Jacques Revaux; English lyrics by Paul Anka Producer (s) Sonny Burke</s>A cappella. A cappella [a kapˈpɛlla] (Italian for "in the manner of the chapel") music is specifically group or solo singing without instrumental accompaniment, or a piece intended to be performed in this way. It contrasts with cantata, which is accompanied singing. The term "a cappella" was originally intended to differentiate between Renaissance polyphony and Baroque concertato style. In the 19th century a renewed interest in Renaissance polyphony coupled with an ignorance of the fact that vocal parts were often doubled by instrumentalists led to the term coming to mean unaccompanied vocal music. The term is also used, albeit rarely, as a synonym for alla breve.</s>(What Can I Say) To Make You Love Me. ``(What Can I Say) To Make You Love Me \'\'is a song written by Jimmy Jam and Terry Lewis and recorded by American recording artist Alexander O\'Neal. It is the fifth single from the singer\'s second solo album, Hearsay (1987). The song\'s distinctive backing vocals were performed by Lisa Keith. Following the successful chart performances of the Hearsay singles`` Fake\'\', ``Criticize \'\',`` Never Knew Love Like This\'\', and ``The Lovers \'\',`` (What Can I Say) To Make You Love Me\'\' was released as the album\'s fifth single.</s>The Night We Called It a Day (film). The Night We Called It a Day, also known as All the Way, is a 2003 Australian-American comedy drama film directed by Paul Goldman and starring Dennis Hopper as Frank Sinatra and Melanie Griffith as Barbara Marx. It also features Portia de Rossi, Joel Edgerton, Rose Byrne and David Hemmings. The movie is based on the true events surrounding Sinatra\'s 1974 tour in Australia. When the singer calls a local reporter (de Rossi) a "two-bit hooker", every union in the country black-bans the star until he issues an apology.',
'At This Moment (album). At This Moment is the debut album of American country music artist Neal McCoy, released in 1990 on Atlantic Records Nashville. "If I Built You a Fire", "Hillbilly Blue" and "This Time I Hurt Her More Than She Loves Me" were all released as singles from this album. Although "Hillbilly Blue" did not chart, the other two singles both entered the lower regions of the Hot Country Songs charts. "If I Built You a Fire" was a Top 20 country hit in Canada as well.</s>Remains of Elmet. Remains of Elmet is a collection of poems by Ted Hughes published in 1979. In this book Hughes has poetically covered the region of Elmet. The book contains black and white photographs by Fay Godwin, taken in the barren hill country of West Yorkshire, Hughes\'s birthplace.</s>Say Hello 2 Heaven. Cornell wrote ``Say Hello 2 Heaven \'\'as a tribute to his roommate, Mother Love Bone vocalist Andrew Wood, who at the time had recently died of a heroin overdose.</s>Black Death. Gasquet (1908) claimed that the Latin name atra mors (Black Death) for the 14th-century epidemic first appeared in modern times in 1631 in a book on Danish history by J.I. Pontanus: "Vulgo & ab effectu atram mortem vocatibant. ("Commonly and from its effects, they called it the black death"). The name spread through Scandinavia and then Germany, gradually becoming attached to the mid 14th-century epidemic as a proper name. In England, it was not until 1823 that the medieval epidemic was first called the Black Death.',
'Frédéric Chopin. Back in Warsaw that year, Chopin heard Niccolò Paganini play the violin, and composed a set of variations, Souvenir de Paganini. It may have been this experience which encouraged him to commence writing his first Études, (1829–32), exploring the capacities of his own instrument. On 11 August, three weeks after completing his studies at the Warsaw Conservatory, he made his debut in Vienna. He gave two piano concerts and received many favourable reviews—in addition to some commenting (in Chopin\'s own words) that he was "too delicate for those accustomed to the piano-bashing of local artists". In one of these concerts, he premiered his Variations on Là ci darem la mano, Op. 2 (variations on an aria from Mozart\'s opera Don Giovanni) for piano and orchestra. He returned to Warsaw in September 1829, where he premiered his Piano Concerto No. 2 in F minor, Op. 21 on 17 March 1830.</s>Frédéric Chopin. Frédéric François Chopin (/ˈʃoʊpæn/; French pronunciation: \u200b[fʁe.de.ʁik fʁɑ̃.swa ʃɔ.pɛ̃]; 22 February or 1 March 1810 – 17 October 1849), born Fryderyk Franciszek Chopin,[n 1] was a Polish and French (by citizenship and birth of father) composer and a virtuoso pianist of the Romantic era, who wrote primarily for the solo piano. He gained and has maintained renown worldwide as one of the leading musicians of his era, whose "poetic genius was based on a professional technique that was without equal in his generation." Chopin was born in what was then the Duchy of Warsaw, and grew up in Warsaw, which after 1815 became part of Congress Poland. A child prodigy, he completed his musical education and composed his earlier works in Warsaw before leaving Poland at the age of 20, less than a month before the outbreak of the November 1830 Uprising.</s>Château d\'Aubiry. French industrialist Pierre Bardou-Job became wealthy selling rolling paper and decided to have a château built for each of his three children, all designed by the Danish architect Viggo Dorph-Petersen. The Château d\'Aubiry was for his son Justin and was built from 1893 to 1904. Pierre Bardou-Job himself never saw it, as he died suddenly in 1892 just before the start of the construction.</s>HD 11506 b. HD 11506 b is an extrasolar planet that orbits the star HD 11506 167 light years away in the constellation of Cetus. This planet was discovered in 2007 by the N2K Consortium using the Keck telescope to detect the radial velocity variation of the star caused by the planet. A second planet, HD 11506 c, was discovered in 2015.',
'Exhibition game. National Basketball Association teams play eight preseason games per year. Today, NBA teams almost always play each other in the preseason, but mainly at neutral sites within their market areas in order to allow those who can\'t usually make a trip to a home team\'s arena during the regular season to see a game close to home; for instance the Minnesota Timberwolves will play games in arenas in North Dakota and South Dakota, while the Phoenix Suns schedule one exhibition game outdoors at Indian Wells Tennis Garden in Indian Wells, California yearly, the only such instance an NBA game takes place in an outdoor venue.</s>1989 Copa América. The Copa América 1989 football tournament was hosted by Brazil, from 1 to 16 July. All ten CONMEBOL member nations participated.</s>Garry Tallent. Garry Wayne Tallent (born October 27, 1949 in Detroit, Michigan), sometimes billed as Garry W. Tallent, is an American musician and record producer, best known for being bass player and founding member of the E Street Band, Bruce Springsteen\'s primary backing band since 1972. As of 2013, and not counting Springsteen himself, Tallent is the only original member of the E Street Band remaining in the band. Tallent was inducted as a member of the E Street Band into the Rock and Roll Hall of Fame.</s>Haarla. Haarla (Finnish; "Harlax" in Swedish) is a district and a suburb of the city of Turku, in Finland. It is located in the southern part of the island of Hirvensalo, off the city\'s coastline. The bridge between Hirvensalo and Satava is located in Haarla.',
"Belyayev circle. The Belyayev circle () was a society of Russian musicians who met in Saint Petersburg, Russia between 1885 and 1908, and whose members included Nikolai Rimsky-Korsakov, Alexander Glazunov, Vladimir Stasov, Anatoly Lyadov, Alexander Ossovsky, Witold Maliszewski, Nikolai Tcherepnin, Nikolay Sokolov, Alexander Winkler among others. The circle was named after Mitrofan Belyayev, a timber merchant and amateur musician who became a music philanthropist and publisher after hearing the music of the teenage Glazunov.</s>Kazakhstan. It shares borders of 6,846 kilometres (4,254 mi) with Russia, 2,203 kilometres (1,369 mi) with Uzbekistan, 1,533 kilometres (953 mi) with China, 1,051 kilometres (653 mi) with Kyrgyzstan, and 379 kilometres (235 mi) with Turkmenistan. Major cities include Nur-Sultan, Almaty, Karagandy, Shymkent, Atyrau, and Oskemen. It lies between latitudes 40° and 56° N, and longitudes 46° and 88° E. While located primarily in Asia, a small portion of Kazakhstan is also located west of the Urals in Eastern Europe.Kazakhstan's terrain extends west to east from the Caspian Sea to the Altay Mountains and north to south from the plains of Western Siberia to the oases and deserts of Central Asia. The Kazakh Steppe (plain), with an area of around 804,500 square kilometres (310,600 sq mi), occupies one-third of the country and is the world's largest dry steppe region. The steppe is characterised by large areas of grasslands and sandy regions. Major seas, lakes and rivers include the Aral Sea, Lake Balkhash and Lake Zaysan, the Charyn River and gorge and the Ili, Irtysh, Ishim, Ural and Syr Darya rivers.</s>Frédéric Chopin. Chopin's music was used in the 1909 ballet Chopiniana, choreographed by Michel Fokine and orchestrated by Alexander Glazunov. Sergei Diaghilev commissioned additional orchestrations—from Stravinsky, Anatoly Lyadov, Sergei Taneyev and Nikolai Tcherepnin—for later productions, which used the title Les Sylphides.</s>Trinidad and Tobago passport. The Oath of Citizenship or officially Oath of Allegiance, is a statement recited by individuals wishing to become citizens of the Republic of Trinidad and Tobago. Individuals who wish to become a citizen of Trinidad and Tobago do so through the Ministry of National Security's Citizenship and Immigration Section. The Oath of Allegiance is a mandatory step to becoming a citizen of Trinidad and Tobago.",
]
)
# [{'corpus_id': ..., 'score': ...}, {'corpus_id': ..., 'score': ...}, ...]
validation and train_subsetCECorrelationEvaluator| Metric | validation | train_subset |
|---|---|---|
| pearson | 0.9141 | 0.9319 |
| spearman | 0.9136 | 0.9368 |
sentence_0, sentence_1, and label| sentence_0 | sentence_1 | label | |
|---|---|---|---|
| type | string | string | float |
| details |
|
|
|
| sentence_0 | sentence_1 | label |
|---|---|---|
Who is the spouse of the original singer of My Way? |
My Way. |
1.0 |
When did the name Black Death officially take root in the country where the author of Remains of Elmet is from? |
At This Moment (album). At This Moment is the debut album of American country music artist Neal McCoy, released in 1990 on Atlantic Records Nashville. "If I Built You a Fire", "Hillbilly Blue" and "This Time I Hurt Her More Than She Loves Me" were all released as singles from this album. Although "Hillbilly Blue" did not chart, the other two singles both entered the lower regions of the Hot Country Songs charts. "If I Built You a Fire" was a Top 20 country hit in Canada as well.Remains of Elmet. Remains of Elmet is a collection of poems by Ted Hughes published in 1979. In this book Hughes has poetically covered the region of Elmet. The book contains black and white photographs by Fay Godwin, taken in the barren hill country of West Yorkshire, Hughes's birthplace.Say Hello 2 Heaven. Cornell wrote ``Say Hello 2 Heaven ''as a tribute to his roommate, Mother Love Bone vocalist Andrew Wood, who at the time had recently died of a heroin overdose.Black Death. Gasquet (1908) claime... |
0.6666666666666666 |
When did Chopin return to the city where he grew up? |
Frédéric Chopin. Back in Warsaw that year, Chopin heard Niccolò Paganini play the violin, and composed a set of variations, Souvenir de Paganini. It may have been this experience which encouraged him to commence writing his first Études, (1829–32), exploring the capacities of his own instrument. On 11 August, three weeks after completing his studies at the Warsaw Conservatory, he made his debut in Vienna. He gave two piano concerts and received many favourable reviews—in addition to some commenting (in Chopin's own words) that he was "too delicate for those accustomed to the piano-bashing of local artists". In one of these concerts, he premiered his Variations on Là ci darem la mano, Op. 2 (variations on an aria from Mozart's opera Don Giovanni) for piano and orchestra. He returned to Warsaw in September 1829, where he premiered his Piano Concerto No. 2 in F minor, Op. 21 on 17 March 1830.Frédéric Chopin. Frédéric François Chopin (/ˈʃoʊpæn/; French pronunciation: [fʁe.de.ʁik fʁɑ̃.... |
1.0 |
BinaryCrossEntropyLoss with these parameters:{
"activation_fn": "torch.nn.modules.linear.Identity",
"pos_weight": null
}
eval_strategy: stepsper_device_train_batch_size: 2per_device_eval_batch_size: 2overwrite_output_dir: Falsedo_predict: Falseeval_strategy: stepsprediction_loss_only: Trueper_device_train_batch_size: 2per_device_eval_batch_size: 2per_gpu_train_batch_size: Noneper_gpu_eval_batch_size: Nonegradient_accumulation_steps: 1eval_accumulation_steps: Nonetorch_empty_cache_steps: Nonelearning_rate: 5e-05weight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08max_grad_norm: 1num_train_epochs: 3max_steps: -1lr_scheduler_type: linearlr_scheduler_kwargs: {}warmup_ratio: 0.0warmup_steps: 0log_level: passivelog_level_replica: warninglog_on_each_node: Truelogging_nan_inf_filter: Truesave_safetensors: Truesave_on_each_node: Falsesave_only_model: Falserestore_callback_states_from_checkpoint: Falseno_cuda: Falseuse_cpu: Falseuse_mps_device: Falseseed: 42data_seed: Nonejit_mode_eval: Falseuse_ipex: Falsebf16: Falsefp16: Falsefp16_opt_level: O1half_precision_backend: autobf16_full_eval: Falsefp16_full_eval: Falsetf32: Nonelocal_rank: 0ddp_backend: Nonetpu_num_cores: Nonetpu_metrics_debug: Falsedebug: []dataloader_drop_last: Falsedataloader_num_workers: 0dataloader_prefetch_factor: Nonepast_index: -1disable_tqdm: Falseremove_unused_columns: Truelabel_names: Noneload_best_model_at_end: Falseignore_data_skip: Falsefsdp: []fsdp_min_num_params: 0fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}fsdp_transformer_layer_cls_to_wrap: Noneaccelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}deepspeed: Nonelabel_smoothing_factor: 0.0optim: adamw_torchoptim_args: Noneadafactor: Falsegroup_by_length: Falselength_column_name: lengthddp_find_unused_parameters: Noneddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falsedataloader_pin_memory: Truedataloader_persistent_workers: Falseskip_memory_metrics: Trueuse_legacy_prediction_loop: Falsepush_to_hub: Falseresume_from_checkpoint: Nonehub_model_id: Nonehub_strategy: every_savehub_private_repo: Falsehub_always_push: Falsegradient_checkpointing: Falsegradient_checkpointing_kwargs: Noneinclude_inputs_for_metrics: Falseeval_do_concat_batches: Truefp16_backend: autopush_to_hub_model_id: Nonepush_to_hub_organization: Nonemp_parameters: auto_find_batch_size: Falsefull_determinism: Falsetorchdynamo: Noneray_scope: lastddp_timeout: 1800torch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Nonedispatch_batches: Nonesplit_batches: Noneinclude_tokens_per_second: Falseinclude_num_input_tokens_seen: Falseneftune_noise_alpha: Noneoptim_target_modules: Nonebatch_eval_metrics: Falseeval_on_start: Falseeval_use_gather_object: Falseprompts: Nonebatch_sampler: batch_samplermulti_dataset_batch_sampler: proportionalrouter_mapping: {}learning_rate_mapping: {}| Epoch | Step | validation_spearman | train_subset_spearman |
|---|---|---|---|
| 1.0 | 83 | 0.8939 | - |
| 1.2048 | 100 | 0.9121 | 0.9256 |
| 2.0 | 166 | 0.9084 | - |
| 2.4096 | 200 | 0.9148 | 0.9368 |
| 3.0 | 249 | 0.9136 | - |
@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",
}
Base model
BAAI/bge-reranker-v2-m3