CrossEncoder based on BAAI/bge-reranker-v2-m3

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 pair classification.

Model Details

Model Description

  • Model Type: Cross Encoder
  • Base model: BAAI/bge-reranker-v2-m3
  • Maximum Sequence Length: 8192 tokens
  • Number of Output Labels: 3 labels

Model Sources

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 CrossEncoder

# Download from the ๐Ÿค— Hub
model = CrossEncoder("cross_encoder_model_id")
# Get scores for pairs of texts
pairs = [
    ['[PROMPT]\nTแบกi sao Bach lแบกi thรญch ฤ‘ร n clavichord hฦกn so vแป›i dฦฐฦกng cแบงm, mแบทc dรน dฦฐฦกng cแบงm ฤ‘รฃ ฤ‘ฦฐแปฃc phรกt minh tแปซ thแบฟ kแปท 15 vร  rแบฅt phแป• biแบฟn vร o thแปi cแปงa รดng?\n[CONTEXT]\nNฤƒm 1709, ngฦฐแปi thแปฃ chแบฟ tแบกo harpsichord ngฦฐแปi ร Bartolomeo Cristofori chแบฟ tแบกo chiแบฟc dฦฐฦกng cแบงm ฤ‘แบงu tiรชn trรชn thแบฟ giแป›i gแปi lร  piano et forte (nhแบน vร  mแบกnh). Khรดng lรขu sau, nhแปฏng ngฦฐแปi thแปฃ khรกc tแบกo ra nhแปฏng chiแบฟc pianoforte vแป›i bรบa. Tiแบฟp ฤ‘รณ, pianoforte thay thแบฟ harpsichord vร  clavichord bแปŸi nรณ cรณ nhแปฏng ฦฐu ฤ‘iแปƒm mร  cรกc nhแบกc cแปฅ phรญm khรกc khรดng cรณ. Fortepiano lร  mแป™t nhแบกc cแปฅ dรขy-bรบa cรณ khแบฃ nฤƒng tแบกo ra nhแปฏng sแปฑ thay ฤ‘แป•i รขm thanh nhแป thรดng qua sแปฑ bแบฅm phรญm mแบกnh hay nhแบน cแปงa ngฦฐแปi chฦกi. ฤแบฟn khoแบฃng nฤƒm 1850, tแปซ "fortepiano" ฤ‘ฦฐแปฃc thay thแบฟ bแปŸi tแปซ "piano". Vร o nhแปฏng nฤƒm ฤ‘แบงu thแบฟ kแป‰ 18, dฦฐฦกng cแบงm khรดng mแบฅy thu hรบt ฤ‘ฦฐแปฃc sแปฑ chรบ รฝ vร  แปงng hแป™. J.S. Bach cรณ lแบฝ thรญch clavichord, nhแบกc cแปฅ mร  รดng ฤ‘รฃ quen chฦกi vร  cลฉng lร  nhแบกc cแปฅ chฦกi dแป… hฦกn.', '[RESPONSE]\nBach thรญch clavichord hฦกn vรฌ รขm thanh mแปm mแบกi vร  sแปฑ kiแปƒm soรกt biแปƒu cแบฃm cao hฦกn, ฤ‘iแปu nร y phรน hแปฃp vแป›i phong cรกch รขm nhแบกc cแปงa รดng. Ngoร i ra, clavichord cลฉng รญt gรขy phiแปn nhiแป…u trong khรดng gian nhร  nhแป hฦกn so vแป›i piano.'],
    ['[PROMPT]\nSau thแบฅt bแบกi thฦฐฦกng mแบกi cแปงa Off the Wall (1979), phong cรกch รขm nhแบกc cแปงa Michael Jackson cรณ chuyแปƒn biแบฟn gรฌ nแป•i bแบญt?\n[CONTEXT]\nOff the Wall (1979), mแป™t thร nh quแบฃ hแปฃp tรกc giแปฏa Jackson vร  Jones, ฤ‘รฃ giรบp ฤ‘แป‹nh hรฌnh mแป™t Jackson tแปซ xu hฦฐแป›ng รขm nhแบกc bubblegum pop thuแปŸ nhแป sang รขm nhแบกc chแปฏng chแบกc, trฦฐแปŸng thร nh, phรน hแปฃp vแป›i thแป‹ hiแบฟu cแปงa nhiแปu thร nh phแบงn lแปฉa tuแป•i hฦกn. Ngoร i Jackson, cรกc nhแบกc sฤฉ khรกc xuแบฅt hiแป‡n trong album bao gแป“m Rod Temperton, Stevie Wonder vร  Paul McCartney. Album ฤ‘แบกt thร nh cรดng trรชn toร n thแบฟ giแป›i vร  lแบญp kแปท lแปฅc trแปŸ thร nh album ฤ‘แบงu tiรชn ra mแบฏt 4 ฤ‘ฤฉa ฤ‘ฦกn nแบฑm trong top 10 tแบกi Hoa Kแปณ, trong ฤ‘รณ cรณ ฤ‘ฤฉa ฤ‘ฦกn quรกn quรขn "Don\'t Stop \'Til You Get Enough" vร  "Rock With You". Album nร y vฦฐฦกn tแป›i vแป‹ trรญ thแปฉ 3 trรชn bแบฃng xแบฟp hแบกng album Billboard 200 vร  hiแป‡n ฤ‘รฃ tiรชu thแปฅ hฦกn 20 triแป‡u bแบฃn trรชn thแบฟ giแป›i.', '[RESPONSE]\nMichael Jackson ฤ‘รฃ chuyแปƒn tแปซ bubblegum pop sang รขm nhแบกc funk vร  disco, phแป‘i hแปฃp vแป›i Quincy Jones ฤ‘แปƒ tแบกo ra mแป™t รขm thanh ฤ‘แป™c ฤ‘รกo. Sau thร nh cรดng cแปงa "Off the Wall", Jackson ฤ‘รฃ trแปŸ thร nh nghแป‡ sฤฉ solo cรณ sแปฉc แบฃnh hฦฐแปŸng lแป›n trong lร ng nhแบกc quแป‘c tแบฟ.'],
    ['[PROMPT]\nSแป‘ lฦฐแปฃng quรขn lรญnh Nam Triแปu Tiรชn bแป‹ chแบฟt ฤ‘รณi trong lรบc di chuyแปƒn cรณ thแปƒ lรชn ฤ‘แบฟn con sแป‘ bao nhiรชu?\n[CONTEXT]\nMแป™t ฤ‘iแปu rแบฅt ฤ‘แบทc biแป‡t lร  binh sฤฉ Nam Triแปu Tiรชn lแบกi trแปŸ thร nh nแบกn nhรขn bแป‹ ngฦฐแปฃc ฤ‘รฃi cแปงa chรญnh quรขn ฤ‘แป™i nร y. Trong thรกng 12 nฤƒm 1950, แปฆy ban Quแป‘c phรฒng cแปงa Nam Triแปu Tiรชn ฤ‘ฦฐแปฃc thร nh lแบญp, quแบฃn lรฝ 406.000 binh lรญnh Nam Triแปu Tiรชn. Vร o mรนa ฤ‘รดng nฤƒm 1951, 50.000 tแป›i 90.000 binh lรญnh Nam Triแปu Tiรชn ฤ‘รฃ bแป‹ bแป ฤ‘รณi ฤ‘แบฟn chแบฟt trong khi hร nh quรขn vแป phรญa nam dฦฐแป›i sแปฑ tแบฅn cรดng cแปงa Trung Quแป‘c, bแปŸi cรกc sฤฉ quan chแป‰ huy cแปงa Nam Triแปu Tiรชn ฤ‘รฃ tham รด ngรขn quแปน dร nh cho thแปฑc phแบฉm cแปงa binh sฤฉ. Sแปฑ kiแป‡n nร y ฤ‘ฦฐแปฃc gแปi lร  Khแปงng hoแบฃng tแบกi แปฆy ban Quแป‘c phรฒng.[cแบงn dแบซn nguแป“n]', '[RESPONSE]\nSแป‘ lฦฐแปฃng quรขn lรญnh Nam Triแปu Tiรชn bแป‹ chแบฟt ฤ‘รณi trong lรบc di chuyแปƒn cรณ thแปƒ lรชn ฤ‘แบฟn con sแป‘ 90.000.'],
    ['[PROMPT]\nTรชn cแปงa ฤ‘แบฟ quแป‘c nร y cรณ รฝ nghฤฉa ฤ‘แบทc biแป‡t lร  nรณ ฤ‘ฦฐแปฃc ฤ‘แบทt theo tรชn cแปงa mแป™t vแป‹ hoร ng ฤ‘แบฟ nแป•i tiแบฟng ngฦฐแปi La Mรฃ, Julius Caesar, ฤ‘รบng khรดng?\n[CONTEXT]\nฤแบฟ quแป‘c La Mรฃ Thแบงn Thรกnh (tiแบฟng Latinh: Sacrum Romanum Imperium; tiแบฟng ฤแปฉc: Heiliges Rรถmisches Reich; tiแบฟng ร: Sacro Romano Impero; tiแบฟng Anh: Holy Roman Empire)[b] cรฒn ฤ‘ฦฐแปฃc gแปi lร  Thรกnh chแบฟ La Mรฃ, lร  mแป™t phแปฉc hแปฃp lรฃnh thแป• rแป™ng lแป›n ฤ‘a sแบฏc tแป™c, mร  chแปง yแบฟu lร  ngฦฐแปi ฤแปฉc, tแป“n tแบกi tแปซ cuแป‘i thแปi sฦก kแปณ Trung cแป• cho ฤ‘แบฟn nฤƒm 1806. Tรชn cแปงa ฤ‘แบฟ quแป‘c bแบฏt nguแป“n tแปซ yรชu sรกch cแปงa cรกc Hoร ng ฤ‘แบฟ La Mรฃ ฤแปฉc vร o thแปi Trung cแป•, muแป‘n tiแบฟp tแปฅc truyแปn thแป‘ng cแปงa ฤ‘แบฟ chแบฟ La Mรฃ cแป• vร  hแปฃp phรกp hรณa quyแปn cai trแป‹ nhฦฐ lร  thรกnh รฝ cแปงa Thiรชn Chรบa. Lรฃnh thแป• chแปง yแบฟu cแปงa ฤแบฟ quแป‘c gแป“m Vฦฐฦกng quแป‘c ฤแปฉc, Vฦฐฦกng quแป‘c Bohemia, Vฦฐฦกng quแป‘c Burgundy, Vฦฐฦกng quแป‘c ร vร  nhiแปu lรฃnh thแป•, cรดng quแป‘c, thร nh phแป‘ ฤ‘แบฟ quแป‘c tแปฑ do lแป›n nhแป khรกc.', '[RESPONSE]\nTรชn cแปงa ฤแบฟ quแป‘c La Mรฃ Thแบงn Thรกnh thแปฑc chแบฅt bแบฏt nguแป“n tแปซ mแป™t truyแปn thuyแบฟt vแป Julius Caesar, ngฦฐแปi ฤ‘ฦฐแปฃc cho lร  ฤ‘รฃ thร nh lแบญp ฤ‘แบฟ chแบฟ nร y ฤ‘แปƒ bแบฃo vแป‡ nแปn vฤƒn minh La Mรฃ khแปi sแปฑ sแปฅp ฤ‘แป• hoร n toร n.'],
    ['[PROMPT]\nChiแบฟn tranh Ba mฦฐฦกi nฤƒm, diแป…n ra tแปซ 1618 ฤ‘แบฟn 1648, chแปง yแบฟu lร  mแป™t cuแป™c chiแบฟn tranh giแปฏa cรกc quแป‘c gia chรขu ร‚u nhแบฑm giร nh quyแปn kiแปƒm soรกt thฦฐฦกng mแบกi toร n cแบงu, phแบฃi khรดng?\n[CONTEXT]\nMแป™t loแบกt trแบญn chiแบฟn trong giai ฤ‘oแบกn 1618-1648, mร  cรกc sแปญ gia gแปi lร  Chiแบฟn tranh Ba mฦฐฦกi Nฤƒm, diแป…n ra trรชn nhแปฏng lรฃnh thแป• cแปงa ngฦฐแปi ฤแปฉc. KhแปŸi ฤ‘แบงu, cuแป™c chiแบฟn chแปง yแบฟu dแปฑa trรชn xung ฤ‘แป™t tรดn giรกo giแปฏa cรกc phe nhรณm Cรดng giรกo vร  Tin Lร nh trong Phong trร o Cแบฃi cรกch. Dแบงn dร , cuแป™c chiแบฟn lan rแป™ng giแปฏa mแป™t bรชn lร  nhแปฏng hoร ng thรขn ngฦฐแปi ฤแปฉc vร  bรชn kia chแปง yแบฟu lร  Thแปฅy ฤiแปƒn vร  Phรกp muแป‘n hแบกn chแบฟ quyแปn lแปฑc cแปงa ฤแบฟ quแป‘c La Mรฃ thแบงn Thรกnh. Chiแบฟn tranh Ba mฦฐฦกi nฤƒm lร  mแป™t trong nhแปฏng cuแป™c chiแบฟn gรขy tร n phรก nแบทng nแป nhแบฅt trong lแป‹ch sแปญ chรขu ร‚u. ฤรขy cลฉng lร  cuแป™c chiแบฟn tรดn giรกo cuแป‘i cรนng แปŸ chรขu ร‚u khiแบฟn cho ฤแบฟ quแป‘c bแป‹ tร n phรก nแบทng nแป, nhiแปu thร nh thแป‹ vร  vรนng nรดng thรดn bแป‹ san bแบฑng, dรขn sแป‘ suy giแบฃm. ฦฏแป›c lฦฐแปฃng cรณ mแป™t phแบงn ba ngฦฐแปi ฤแปฉc bแป mแบกng trong cuแป™c chiแบฟn tร n bแบกo nร y.', '[RESPONSE]\nChiแบฟn tranh Ba mฦฐฦกi nฤƒm diแป…n ra tแปซ 1618 ฤ‘แบฟn 1648 chแปง yแบฟu lร  mแป™t cuแป™c xung ฤ‘แป™t tรดn giรกo giแปฏa cรกc phe Cรดng giรกo vร  Tin Lร nh, khรดng phแบฃi lร  cuแป™c chiแบฟn tranh thฦฐฦกng mแบกi toร n cแบงu.'],
]
scores = model.predict(pairs)
print(scores.shape)
# (5, 3)

Training Details

Training Dataset

Unnamed Dataset

  • Size: 5,758 training samples
  • Columns: sentence_0, sentence_1, and label
  • Approximate statistics based on the first 1000 samples:
    sentence_0 sentence_1 label
    type string string int
    details
    • min: 554 characters
    • mean: 982.23 characters
    • max: 3726 characters
    • min: 47 characters
    • mean: 192.01 characters
    • max: 304 characters
    • 0: ~31.70%
    • 1: ~36.50%
    • 2: ~31.80%
  • Samples:
    sentence_0 sentence_1 label
    [PROMPT]
    Tแบกi sao Bach lแบกi thรญch ฤ‘ร n clavichord hฦกn so vแป›i dฦฐฦกng cแบงm, mแบทc dรน dฦฐฦกng cแบงm ฤ‘รฃ ฤ‘ฦฐแปฃc phรกt minh tแปซ thแบฟ kแปท 15 vร  rแบฅt phแป• biแบฟn vร o thแปi cแปงa รดng?
    [CONTEXT]
    Nฤƒm 1709, ngฦฐแปi thแปฃ chแบฟ tแบกo harpsichord ngฦฐแปi ร Bartolomeo Cristofori chแบฟ tแบกo chiแบฟc dฦฐฦกng cแบงm ฤ‘แบงu tiรชn trรชn thแบฟ giแป›i gแปi lร  piano et forte (nhแบน vร  mแบกnh). Khรดng lรขu sau, nhแปฏng ngฦฐแปi thแปฃ khรกc tแบกo ra nhแปฏng chiแบฟc pianoforte vแป›i bรบa. Tiแบฟp ฤ‘รณ, pianoforte thay thแบฟ harpsichord vร  clavichord bแปŸi nรณ cรณ nhแปฏng ฦฐu ฤ‘iแปƒm mร  cรกc nhแบกc cแปฅ phรญm khรกc khรดng cรณ. Fortepiano lร  mแป™t nhแบกc cแปฅ dรขy-bรบa cรณ khแบฃ nฤƒng tแบกo ra nhแปฏng sแปฑ thay ฤ‘แป•i รขm thanh nhแป thรดng qua sแปฑ bแบฅm phรญm mแบกnh hay nhแบน cแปงa ngฦฐแปi chฦกi. ฤแบฟn khoแบฃng nฤƒm 1850, tแปซ "fortepiano" ฤ‘ฦฐแปฃc thay thแบฟ bแปŸi tแปซ "piano". Vร o nhแปฏng nฤƒm ฤ‘แบงu thแบฟ kแป‰ 18, dฦฐฦกng cแบงm khรดng mแบฅy thu hรบt ฤ‘ฦฐแปฃc sแปฑ chรบ รฝ vร  แปงng hแป™. J.S. Bach cรณ lแบฝ thรญch clavichord, nhแบกc cแปฅ mร  รดng ฤ‘รฃ quen chฦกi vร  cลฉng lร  nhแบกc cแปฅ chฦกi dแป… hฦกn.
    [RESPONSE]
    Bach thรญch clavichord hฦกn vรฌ รขm thanh mแปm mแบกi vร  sแปฑ kiแปƒm soรกt biแปƒu cแบฃm cao hฦกn, ฤ‘iแปu nร y phรน hแปฃp vแป›i phong cรกch รขm nhแบกc cแปงa รดng. Ngoร i ra, clavichord cลฉng รญt gรขy phiแปn nhiแป…u trong khรดng gian nhร  nhแป hฦกn so vแป›i piano.
    1
    [PROMPT]
    Sau thแบฅt bแบกi thฦฐฦกng mแบกi cแปงa Off the Wall (1979), phong cรกch รขm nhแบกc cแปงa Michael Jackson cรณ chuyแปƒn biแบฟn gรฌ nแป•i bแบญt?
    [CONTEXT]
    Off the Wall (1979), mแป™t thร nh quแบฃ hแปฃp tรกc giแปฏa Jackson vร  Jones, ฤ‘รฃ giรบp ฤ‘แป‹nh hรฌnh mแป™t Jackson tแปซ xu hฦฐแป›ng รขm nhแบกc bubblegum pop thuแปŸ nhแป sang รขm nhแบกc chแปฏng chแบกc, trฦฐแปŸng thร nh, phรน hแปฃp vแป›i thแป‹ hiแบฟu cแปงa nhiแปu thร nh phแบงn lแปฉa tuแป•i hฦกn. Ngoร i Jackson, cรกc nhแบกc sฤฉ khรกc xuแบฅt hiแป‡n trong album bao gแป“m Rod Temperton, Stevie Wonder vร  Paul McCartney. Album ฤ‘แบกt thร nh cรดng trรชn toร n thแบฟ giแป›i vร  lแบญp kแปท lแปฅc trแปŸ thร nh album ฤ‘แบงu tiรชn ra mแบฏt 4 ฤ‘ฤฉa ฤ‘ฦกn nแบฑm trong top 10 tแบกi Hoa Kแปณ, trong ฤ‘รณ cรณ ฤ‘ฤฉa ฤ‘ฦกn quรกn quรขn "Don't Stop 'Til You Get Enough" vร  "Rock With You". Album nร y vฦฐฦกn tแป›i vแป‹ trรญ thแปฉ 3 trรชn bแบฃng xแบฟp hแบกng album Billboard 200 vร  hiแป‡n ฤ‘รฃ tiรชu thแปฅ hฦกn 20 triแป‡u bแบฃn trรชn thแบฟ giแป›i.
    [RESPONSE]
    Michael Jackson ฤ‘รฃ chuyแปƒn tแปซ bubblegum pop sang รขm nhแบกc funk vร  disco, phแป‘i hแปฃp vแป›i Quincy Jones ฤ‘แปƒ tแบกo ra mแป™t รขm thanh ฤ‘แป™c ฤ‘รกo. Sau thร nh cรดng cแปงa "Off the Wall", Jackson ฤ‘รฃ trแปŸ thร nh nghแป‡ sฤฉ solo cรณ sแปฉc แบฃnh hฦฐแปŸng lแป›n trong lร ng nhแบกc quแป‘c tแบฟ.
    2
    [PROMPT]
    Sแป‘ lฦฐแปฃng quรขn lรญnh Nam Triแปu Tiรชn bแป‹ chแบฟt ฤ‘รณi trong lรบc di chuyแปƒn cรณ thแปƒ lรชn ฤ‘แบฟn con sแป‘ bao nhiรชu?
    [CONTEXT]
    Mแป™t ฤ‘iแปu rแบฅt ฤ‘แบทc biแป‡t lร  binh sฤฉ Nam Triแปu Tiรชn lแบกi trแปŸ thร nh nแบกn nhรขn bแป‹ ngฦฐแปฃc ฤ‘รฃi cแปงa chรญnh quรขn ฤ‘แป™i nร y. Trong thรกng 12 nฤƒm 1950, แปฆy ban Quแป‘c phรฒng cแปงa Nam Triแปu Tiรชn ฤ‘ฦฐแปฃc thร nh lแบญp, quแบฃn lรฝ 406.000 binh lรญnh Nam Triแปu Tiรชn. Vร o mรนa ฤ‘รดng nฤƒm 1951, 50.000 tแป›i 90.000 binh lรญnh Nam Triแปu Tiรชn ฤ‘รฃ bแป‹ bแป ฤ‘รณi ฤ‘แบฟn chแบฟt trong khi hร nh quรขn vแป phรญa nam dฦฐแป›i sแปฑ tแบฅn cรดng cแปงa Trung Quแป‘c, bแปŸi cรกc sฤฉ quan chแป‰ huy cแปงa Nam Triแปu Tiรชn ฤ‘รฃ tham รด ngรขn quแปน dร nh cho thแปฑc phแบฉm cแปงa binh sฤฉ. Sแปฑ kiแป‡n nร y ฤ‘ฦฐแปฃc gแปi lร  Khแปงng hoแบฃng tแบกi แปฆy ban Quแป‘c phรฒng.[cแบงn dแบซn nguแป“n]
    [RESPONSE]
    Sแป‘ lฦฐแปฃng quรขn lรญnh Nam Triแปu Tiรชn bแป‹ chแบฟt ฤ‘รณi trong lรบc di chuyแปƒn cรณ thแปƒ lรชn ฤ‘แบฟn con sแป‘ 90.000.
    0
  • Loss: CrossEntropyLoss

Training Hyperparameters

Non-Default Hyperparameters

  • per_device_train_batch_size: 4
  • per_device_eval_batch_size: 4
  • num_train_epochs: 1
  • fp16: True

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: 1
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: {}
  • 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
  • use_ipex: False
  • bf16: False
  • fp16: True
  • 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
  • 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: False
  • 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: False
  • prompts: None
  • batch_sampler: batch_sampler
  • multi_dataset_batch_sampler: proportional
  • router_mapping: {}
  • learning_rate_mapping: {}

Training Logs

Epoch Step Training Loss
0.3472 500 1.0385
0.6944 1000 0.7521
0.3472 500 0.7444
0.6944 1000 0.7389

Framework Versions

  • Python: 3.12.11
  • Sentence Transformers: 5.1.1
  • Transformers: 4.56.2
  • PyTorch: 2.8.0+cu128
  • Accelerate: 1.10.1
  • Datasets: 4.1.1
  • Tokenizers: 0.22.1

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",
}
Downloads last month
24
Safetensors
Model size
0.6B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for htNghiaaa/dsc25-bge-reranker-finetuned-kfold1-v1

Finetuned
(141)
this model

Paper for htNghiaaa/dsc25-bge-reranker-finetuned-kfold1-v1