Edit model card

SentenceTransformer based on bobox/DeBERTaV3-TR-AllSoft-HT-fixed-n

This is a sentence-transformers model finetuned from bobox/DeBERTaV3-TR-AllSoft-HT-fixed-n on the nli-pairs, sts-label, vitaminc-pairs, qnli-contrastive, scitail-pairs-qa, scitail-pairs-pos, xsum-pairs, compression-pairs, sciq_pairs, qasc_pairs, openbookqa_pairs, msmarco_pairs, nq_pairs, trivia_pairs, quora_pairs and gooaq_pairs datasets. 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 Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: DebertaV2Model 
  (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("bobox/DeBERTa-ST-AllLayers-testing")
# Run inference
sentences = [
    'When did Setanta Sports say it would launch as a subscription service?',
    "The announcement came a day after Setanta Sports confirmed that it would launch in March as a subscription service on the digital terrestrial platform, and on the same day that NTL's services re-branded as Virgin Media.",
    'The deportation of Acadians beginning in 1755 resulted in land made available to migrants from Europe and the colonies further south.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]

Evaluation

Metrics

Semantic Similarity

Metric Value
pearson_cosine 0.7923
spearman_cosine 0.7991
pearson_manhattan 0.7394
spearman_manhattan 0.7274
pearson_euclidean 0.7408
spearman_euclidean 0.7278
pearson_dot 0.5463
spearman_dot 0.5346
pearson_max 0.7923
spearman_max 0.7991

Semantic Similarity

Metric Value
pearson_cosine 0.7923
spearman_cosine 0.7991
pearson_manhattan 0.7394
spearman_manhattan 0.7274
pearson_euclidean 0.7408
spearman_euclidean 0.7278
pearson_dot 0.5463
spearman_dot 0.5346
pearson_max 0.7923
spearman_max 0.7991

Training Details

Training Datasets

nli-pairs

  • Dataset: nli-pairs at d482672
  • Size: 10,000 training samples
  • Columns: sentence1 and sentence2
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2
    type string string
    details
    • min: 5 tokens
    • mean: 16.62 tokens
    • max: 62 tokens
    • min: 4 tokens
    • mean: 9.46 tokens
    • max: 29 tokens
  • Samples:
    sentence1 sentence2
    A person on a horse jumps over a broken down airplane. A person is outdoors, on a horse.
    Children smiling and waving at camera There are children present
    A boy is jumping on skateboard in the middle of a red bridge. The boy does a skateboarding trick.
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

sts-label

  • Dataset: sts-label at ab7a5ac
  • Size: 5,749 training samples
  • Columns: sentence1, sentence2, and score
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2 score
    type string string float
    details
    • min: 6 tokens
    • mean: 9.81 tokens
    • max: 27 tokens
    • min: 5 tokens
    • mean: 9.74 tokens
    • max: 25 tokens
    • min: 0.0
    • mean: 0.54
    • max: 1.0
  • Samples:
    sentence1 sentence2 score
    A plane is taking off. An air plane is taking off. 1.0
    A man is playing a large flute. A man is playing a flute. 0.76
    A man is spreading shreded cheese on a pizza. A man is spreading shredded cheese on an uncooked pizza. 0.76
  • Loss: CoSENTLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "pairwise_cos_sim"
    }
    

vitaminc-pairs

  • Dataset: vitaminc-pairs at be6febb
  • Size: 4,943 training samples
  • Columns: label, sentence1, and sentence2
  • Approximate statistics based on the first 1000 samples:
    label sentence1 sentence2
    type int string string
    details
    • 1: 100.00%
    • min: 7 tokens
    • mean: 16.47 tokens
    • max: 93 tokens
    • min: 7 tokens
    • mean: 37.61 tokens
    • max: 224 tokens
  • Samples:
    label sentence1 sentence2
    1 The AMEX Stadium held Premier League football in 2017 . The AMEX Stadium will host Premier League football for the first time beginning in August 2017 .
    1 Metacritic gave Because the Internet a score of 64 based on reviews by 26 critics . Because the Internet received generally positive reviews from critics , including an average score of 64 at Metacritic , based on 26 reviews .
    1 The Romanian village of Lunca is in Vanatori Neamt . The earliest known salt works in the world is at Poiana Slatinei , near the village of Lunca in V�n ? tori-Neam ? , Romania .
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

qnli-contrastive

  • Dataset: qnli-contrastive at bcdcba7
  • Size: 8,500 training samples
  • Columns: sentence1, sentence2, and label
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2 label
    type string string int
    details
    • min: 6 tokens
    • mean: 13.51 tokens
    • max: 32 tokens
    • min: 5 tokens
    • mean: 34.7 tokens
    • max: 146 tokens
    • 0: 100.00%
  • Samples:
    sentence1 sentence2 label
    Despite all the propaganda that ws presented to the East Prussians what did German populations want within the country? Despite Nazi propaganda presenting all of the regions annexed as possessing significant German populations that wanted reunification with Germany, the Reich's statistics of late 1939 show that only 31,000 out of 994,092 people in this territory were ethnic Germans.[citation needed] 0
    How many ancient canons exist in the Eastern Church? The Apostolic Canons or Ecclesiastical Canons of the Same Holy Apostles is a collection of ancient ecclesiastical decrees (eighty-five in the Eastern, fifty in the Western Church) concerning the government and discipline of the Early Christian Church, incorporated with the Apostolic Constitutions which are part of the Ante-Nicene Fathers 0
    Where did the bulk of the cities populace live? The vast majority of the population lived in the city center, packed into apartment blocks.[citation needed] 0
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "OnlineContrastiveLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 0.75,
        "prior_layers_weight": 1.75,
        "kl_div_weight": 2.5,
        "kl_temperature": 0.25
    }
    

scitail-pairs-qa

  • Dataset: scitail-pairs-qa at 0cc4353
  • Size: 6,595 training samples
  • Columns: sentence2 and sentence1
  • Approximate statistics based on the first 1000 samples:
    sentence2 sentence1
    type string string
    details
    • min: 7 tokens
    • mean: 16.14 tokens
    • max: 41 tokens
    • min: 8 tokens
    • mean: 15.13 tokens
    • max: 41 tokens
  • Samples:
    sentence2 sentence1
    The body contains three types of muscle tissue. The body contains how many types of muscle tissue?
    Sulfur can combine with oxygen to produce sulfur trioxide. Sulfur can combine with oxygen to produce what?
    Most of earth's water is located in oceans Where is most of Earth�s water located?
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

scitail-pairs-pos

  • Dataset: scitail-pairs-pos at 0cc4353
  • Size: 3,405 training samples
  • Columns: sentence1 and sentence2
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2
    type string string
    details
    • min: 7 tokens
    • mean: 24.38 tokens
    • max: 74 tokens
    • min: 7 tokens
    • mean: 15.31 tokens
    • max: 36 tokens
  • Samples:
    sentence1 sentence2
    Diploid: A cell with two sets of chromosomes (46 in humans). This is commonly represented by 2n. There are 46 chromosomes chromosomes in a diploid human cell.
    Human beings can only visualize in three dimensions. Humans can see in three dimensions.
    Since impulse equals a change in momentum and since the two objects have equal and opposite impulses, they must also have equal and opposite changes in momentum. Change in momentum in an object is equivalent to impulse .
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

xsum-pairs

  • Dataset: xsum-pairs at 788ddaf
  • Size: 2,500 training samples
  • Columns: sentence1 and sentence2
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2
    type string string
    details
    • min: 14 tokens
    • mean: 345.39 tokens
    • max: 512 tokens
    • min: 8 tokens
    • mean: 26.91 tokens
    • max: 59 tokens
  • Samples:
    sentence1 sentence2
    The bung was left in place after the procedure at Northampton General Hospital.
    A report which went before the hospital's public trust board said the patient was discharged home and the bung fell out four days later.
    The hospital has apologised for the incident and said it had learned from the error.
    It was one of two "never events" to happen at the hospital in Cliftonville in 2016.
    A hospital spokesman said details could not be given of the second incident - that happened in January - due to confidentiality reasons but it was described as "wrong site surgery" in July's report.
    The spokesman said: "Almost 80,000 procedures are performed annually by our medical and nursing staff.
    "We are committed to providing each and every one of our patients with a high level of safe care and are deeply sorry that, in these two cases, a vital aspect of the care provided fell short of the standard we would expect.
    "We don't underestimate the effect of a never event on our patients and our staff. That is why we believe we need to openly tackle these issues on the rare occasions they occur.
    "We have undertaken thorough investigations into the circumstances surrounding each of these never events and reported them to the Care Quality Commission, NHS England and our commissioners.
    "As a result of our investigations we have improved our theatre reporting and recording systems."
    Surgical staff left medical equipment in a patient undergoing a hysterectomy at a hospital in Northamptonshire.
    The hosts could not have got off to a better start when Tubbs headed home a free-kick by Mohamed Chemlal after just seven minutes.
    Forest Green pushed for a second with Chemlal looking the man most likely to add to the score.
    But Sutton scored an equaliser when Nick Bailey struck from the spot after Drissa Traore brought down Bedsente Gomis in the area.
    Report supplied by the Press Association.
    Match ends, Forest Green Rovers 1, Sutton United 1.
    Second Half ends, Forest Green Rovers 1, Sutton United 1.
    Roarie Deacon (Sutton United) is shown the yellow card.
    Substitution, Sutton United. Maxime Biamou replaces Ross Stearn.
    Substitution, Sutton United. Shaun Cooper replaces Gomis.
    Nicky Bailey (Sutton United) is shown the yellow card.
    Substitution, Forest Green Rovers. Rob Sinclair replaces Drissa Traoré.
    Substitution, Sutton United. Chris Dickson replaces Dan Fitchett.
    Substitution, Forest Green Rovers. Elliott Frear replaces Fabien Robert.
    Goal! Forest Green Rovers 1, Sutton United 1. Nicky Bailey (Sutton United) converts the penalty with a.
    Kieffer Moore (Forest Green Rovers) is shown the yellow card.
    Second Half begins Forest Green Rovers 1, Sutton United 0.
    First Half ends, Forest Green Rovers 1, Sutton United 0.
    Kieffer Moore (Forest Green Rovers) is shown the yellow card.
    Ross Stearn (Sutton United) is shown the yellow card.
    Goal! Forest Green Rovers 1, Sutton United 0. Matt Tubbs (Forest Green Rovers).
    First Half begins.
    Lineups are announced and players are warming up.
    Matt Tubbs' first goal for Forest Green Rovers was not enough to clinch a first victory of the season after a 1-1 draw with Sutton.
    Grillo, 23, was tied with America's Kevin Na on 15 under after a three-under 69 in his final round and won at the second extra hole with a birdie.
    Rose was 14 under after nine holes but three bogeys in his last six holes saw him finish on 12 under after a 72.
    Northern Ireland's Rory McIlroy carded a three-under 69 to finish nine under.
    This was an improvement on his previous two rounds of 71 but not enough to give the world number three a chance of challenging.
    Grillo, who had only earned his tour card two weeks ago by winning the second-tier Web.com Tour Championship, held his nerve superbly in the play-off with 32-year-old Na, putting his third shot to within 10 feet of the hole before sinking the putt for victory.
    The win earns him $1.08m (£700,000) and a place in the first major of 2016, the Masters in April.
    "You say Masters, I can't believe it,'' said Grillo. "When I got the [PGA Tour] card after the Web.com Championship, I saw I was 71 or 72 in the world and said, 'We got a chance of getting top 50 by the end of the year, let's try to get it done.'
    "Maybe we can play the tournaments we always wanted to play."
    Earlier, Grillo had moved to the top of the leaderboard after beginning the day two shots back, but Na, who birdied four of his last six holes, including a four on the par-five 18th, forced a play-off.
    The pair finished a shot ahead of Americans Justin Thomas (69) and Jason Bohn (70) and Tyrone van Aswegen of South Africa (68).
    Another South African, Charl Schwartzel, tied with Rose on 12 under, along with American duo Patrick Rodgers and Kyle Reifers.
    Brendan Steele, who led after 18, 36 and 54 holes, shot five bogeys in the last six holes for a four-over 76 and trailed home 17th.
    Justin Rose faltered as Argentina's Emiliano Grillo claimed his first PGA Tour title with a play-off victory at the Frys.com Open in California.
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "MultipleNegativesSymmetricRankingLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1,
        "prior_layers_weight": 1.75,
        "kl_div_weight": 0.5,
        "kl_temperature": 0.75
    }
    

compression-pairs

  • Dataset: compression-pairs at 605bc91
  • Size: 8,500 training samples
  • Columns: sentence1 and sentence2
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2
    type string string
    details
    • min: 10 tokens
    • mean: 31.89 tokens
    • max: 125 tokens
    • min: 5 tokens
    • mean: 10.21 tokens
    • max: 28 tokens
  • Samples:
    sentence1 sentence2
    The USHL completed an expansion draft on Monday as 10 players who were on the rosters of USHL teams during the 2009-10 season were selected by the League's two newest entries, the Muskegon Lumberjacks and Dubuque Fighting Saints. USHL completes expansion draft
    Major League Baseball Commissioner Bud Selig will be speaking at St. Norbert College next month. Bud Selig to speak at St. Norbert College
    It's fresh cherry time in Michigan and the best time to enjoy this delicious and nutritious fruit. It's cherry time
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "MultipleNegativesSymmetricRankingLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1,
        "prior_layers_weight": 1.75,
        "kl_div_weight": 0.5,
        "kl_temperature": 0.75
    }
    

sciq_pairs

  • Dataset: sciq_pairs at 2c94ad3
  • Size: 10,000 training samples
  • Columns: sentence1 and sentence2
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2
    type string string
    details
    • min: 7 tokens
    • mean: 17.26 tokens
    • max: 60 tokens
    • min: 2 tokens
    • mean: 84.37 tokens
    • max: 512 tokens
  • Samples:
    sentence1 sentence2
    What type of organism is commonly used in preparation of foods such as cheese and yogurt? Mesophiles grow best in moderate temperature, typically between 25°C and 40°C (77°F and 104°F). Mesophiles are often found living in or on the bodies of humans or other animals. The optimal growth temperature of many pathogenic mesophiles is 37°C (98°F), the normal human body temperature. Mesophilic organisms have important uses in food preparation, including cheese, yogurt, beer and wine.
    What phenomenon makes global winds blow northeast to southwest or the reverse in the northern hemisphere and northwest to southeast or the reverse in the southern hemisphere? Without Coriolis Effect the global winds would blow north to south or south to north. But Coriolis makes them blow northeast to southwest or the reverse in the Northern Hemisphere. The winds blow northwest to southeast or the reverse in the southern hemisphere.
    Changes from a less-ordered state to a more-ordered state (such as a liquid to a solid) are always what? Summary Changes of state are examples of phase changes, or phase transitions. All phase changes are accompanied by changes in the energy of a system. Changes from a more-ordered state to a less-ordered state (such as a liquid to a gas) areendothermic. Changes from a less-ordered state to a more-ordered state (such as a liquid to a solid) are always exothermic. The conversion of a solid to a liquid is called fusion (or melting). The energy required to melt 1 mol of a substance is its enthalpy of fusion (ΔHfus). The energy change required to vaporize 1 mol of a substance is the enthalpy of vaporization (ΔHvap). The direct conversion of a solid to a gas is sublimation. The amount of energy needed to sublime 1 mol of a substance is its enthalpy of sublimation (ΔHsub) and is the sum of the enthalpies of fusion and vaporization. Plots of the temperature of a substance versus heat added or versus heating time at a constant rate of heating are calledheating curves. Heating curves relate temperature changes to phase transitions. A superheated liquid, a liquid at a temperature and pressure at which it should be a gas, is not stable. A cooling curve is not exactly the reverse of the heating curve because many liquids do not freeze at the expected temperature. Instead, they form a supercooled liquid, a metastable liquid phase that exists below the normal melting point. Supercooled liquids usually crystallize on standing, or adding a seed crystal of the same or another substance can induce crystallization.
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

qasc_pairs

  • Dataset: qasc_pairs at a34ba20
  • Size: 8,134 training samples
  • Columns: id, sentence1, and sentence2
  • Approximate statistics based on the first 1000 samples:
    id sentence1 sentence2
    type string string string
    details
    • min: 17 tokens
    • mean: 21.35 tokens
    • max: 27 tokens
    • min: 5 tokens
    • mean: 11.47 tokens
    • max: 25 tokens
    • min: 14 tokens
    • mean: 35.55 tokens
    • max: 66 tokens
  • Samples:
    id sentence1 sentence2
    3E7TUJ2EGCLQNOV1WEAJ2NN9ROPD9K What type of water formation is formed by clouds? beads of water are formed by water vapor condensing. Clouds are made of water vapor.. Beads of water can be formed by clouds.
    3LS2AMNW5FPNJK3C3PZLZCPX562OQO Where do beads of water come from? beads of water are formed by water vapor condensing. Condensation is the change of water vapor to a liquid.. Vapor turning into a liquid leaves behind beads of water
    3TMFV4NEP8DPIPCI8H9VUFHJG8V8W3 What forms beads of water? beads of water are formed by water vapor condensing. An example of water vapor is steam.. Steam forms beads of water.
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

openbookqa_pairs

  • Dataset: openbookqa_pairs at 388097e
  • Size: 2,740 training samples
  • Columns: sentence1 and sentence2
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2
    type string string
    details
    • min: 3 tokens
    • mean: 13.83 tokens
    • max: 78 tokens
    • min: 4 tokens
    • mean: 11.37 tokens
    • max: 30 tokens
  • Samples:
    sentence1 sentence2
    The sun is responsible for the sun is the source of energy for physical cycles on Earth
    When food is reduced in the stomach digestion is when stomach acid breaks down food
    Stars are a star is made of gases
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

msmarco_pairs

  • Dataset: msmarco_pairs at 28ff31e
  • Size: 10,000 training samples
  • Columns: sentence1 and sentence2
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2
    type string string
    details
    • min: 4 tokens
    • mean: 8.61 tokens
    • max: 27 tokens
    • min: 18 tokens
    • mean: 75.09 tokens
    • max: 206 tokens
  • Samples:
    sentence1 sentence2
    what are the liberal arts? liberal arts. 1. the academic course of instruction at a college intended to provide general knowledge and comprising the arts, humanities, natural sciences, and social sciences, as opposed to professional or technical subjects.
    what is the mechanism of action of fibrinolytic or thrombolytic drugs? Baillière's Clinical Haematology. 6 Mechanism of action of the thrombolytic agents. 6 Mechanism of action of the thrombolytic agents JEFFREY I. WEITZ Fibrin formed during the haemostatic, inflammatory or tissue repair process serves a temporary role, and must be degraded to restore normal tissue function and structure.
    what is normal plat count 78 Followers. A. Platelets are the tiny blood cells that help stop bleeding by binding together to form a clump or plug at sites of injury inside blood vessels. A normal platelet count is between 150,000 and 450,000 platelets per microliter (one-millionth of a liter, abbreviated mcL).The average platelet count is 237,000 per mcL in men and 266,000 per mcL in women.8 Followers. A. Platelets are the tiny blood cells that help stop bleeding by binding together to form a clump or plug at sites of injury inside blood vessels. A normal platelet count is between 150,000 and 450,000 platelets per microliter (one-millionth of a liter, abbreviated mcL).
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

nq_pairs

  • Dataset: nq_pairs at f9e894e
  • Size: 10,000 training samples
  • Columns: sentence1 and sentence2
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2
    type string string
    details
    • min: 10 tokens
    • mean: 11.77 tokens
    • max: 21 tokens
    • min: 16 tokens
    • mean: 131.57 tokens
    • max: 512 tokens
  • Samples:
    sentence1 sentence2
    when did richmond last play in a preliminary final Richmond Football Club Richmond began 2017 with 5 straight wins, a feat it had not achieved since 1995. A series of close losses hampered the Tigers throughout the middle of the season, including a 5-point loss to the Western Bulldogs, 2-point loss to Fremantle, and a 3-point loss to the Giants. Richmond ended the season strongly with convincing victories over Fremantle and St Kilda in the final two rounds, elevating the club to 3rd on the ladder. Richmond's first final of the season against the Cats at the MCG attracted a record qualifying final crowd of 95,028; the Tigers won by 51 points. Having advanced to the first preliminary finals for the first time since 2001, Richmond defeated Greater Western Sydney by 36 points in front of a crowd of 94,258 to progress to the Grand Final against Adelaide, their first Grand Final appearance since 1982. The attendance was 100,021, the largest crowd to a grand final since 1986. The Crows led at quarter time and led by as many as 13, but the Tigers took over the game as it progressed and scored seven straight goals at one point. They eventually would win by 48 points – 16.12 (108) to Adelaide's 8.12 (60) – to end their 37-year flag drought.[22] Dustin Martin also became the first player to win a Premiership medal, the Brownlow Medal and the Norm Smith Medal in the same season, while Damien Hardwick was named AFL Coaches Association Coach of the Year. Richmond's jump from 13th to premiers also marked the biggest jump from one AFL season to the next.
    who sang what in the world's come over you Jack Scott (singer) At the beginning of 1960, Scott again changed record labels, this time to Top Rank Records.[1] He then recorded four Billboard Hot 100 hits – "What in the World's Come Over You" (#5), "Burning Bridges" (#3) b/w "Oh Little One" (#34), and "It Only Happened Yesterday" (#38).[1] "What in the World's Come Over You" was Scott's second gold disc winner.[6] Scott continued to record and perform during the 1960s and 1970s.[1] His song "You're Just Gettin' Better" reached the country charts in 1974.[1] In May 1977, Scott recorded a Peel session for BBC Radio 1 disc jockey, John Peel.
    who produces the most wool in the world Wool Global wool production is about 2 million tonnes per year, of which 60% goes into apparel. Wool comprises ca 3% of the global textile market, but its value is higher owing to dying and other modifications of the material.[1] Australia is a leading producer of wool which is mostly from Merino sheep but has been eclipsed by China in terms of total weight.[30] New Zealand (2016) is the third-largest producer of wool, and the largest producer of crossbred wool. Breeds such as Lincoln, Romney, Drysdale, and Elliotdale produce coarser fibers, and wool from these sheep is usually used for making carpets.
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

trivia_pairs

  • Dataset: trivia_pairs at a7c36e3
  • Size: 10,000 training samples
  • Columns: sentence1 and sentence2
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2
    type string string
    details
    • min: 8 tokens
    • mean: 15.16 tokens
    • max: 48 tokens
    • min: 19 tokens
    • mean: 456.87 tokens
    • max: 512 tokens
  • Samples:
    sentence1 sentence2
    Which American-born Sinclair won the Nobel Prize for Literature in 1930? The Nobel Prize in Literature 1930 The Nobel Prize in Literature 1930 Sinclair Lewis The Nobel Prize in Literature 1930 Sinclair Lewis Prize share: 1/1 The Nobel Prize in Literature 1930 was awarded to Sinclair Lewis "for his vigorous and graphic art of description and his ability to create, with wit and humour, new types of characters". Photos: Copyright © The Nobel Foundation Share this: To cite this page MLA style: "The Nobel Prize in Literature 1930". Nobelprize.org. Nobel Media AB 2014. Web. 18 Jan 2017. http://www.nobelprize.org/nobel_prizes/literature/laureates/1930/
    Where in England was Dame Judi Dench born? Judi Dench - IMDb IMDb Actress
    In which decade did Billboard magazine first publish and American hit chart? The US Billboard song chart The US Billboard song chart Search this site with Google Song chart US Billboard The Billboard magazine has published various music charts starting (with sheet music) in 1894, the first "Music Hit Parade" was published in 1936 , the first "Music Popularity Chart" was calculated in 1940 . These charts became less irregular until the weekly "Hot 100" was started in 1958 . The current chart combines sales, airplay and downloads. A music collector that calls himself Bullfrog has been consolidating the complete chart from 1894 to the present day. he has published this information in a comprehenive spreadsheet (which can be obtained at bullfrogspond.com/ ). The Bullfrog data assigns each song a unique identifier, something like "1968_076" (which just happens to be the Bee Gees song "I've Gotta Get A Message To You"). This "Whitburn Number" is provided to match with the books of Joel Whitburn and consists of the year and a ranking within the year. A song that first entered the charts in December and has a long run is listed the following year. This numbering scheme means that songs which are still in the charts cannot be assigned a final id, because their ranking might change. So the definitive listing for a year cannot be final until about April. In our listing we only use songs with finalised IDs, this means that every year we have to wait until last year's entries are finalised before using them. (Source bullfrogspond.com/ , the original version used here was 20090808 with extra data from: the 2009 data from 20091219 the 2010 data from 20110305 the 2011 data from 20120929 the 2012 data from 20130330 the 2013 data from 20150328 The 20150328 data was the last one produced before the Billboard company forced the data to be withdrawn. As far as we know there are no more recent data sets available. This pattern of obtaining the data for a particular year in the middle of the following one comes from the way that the Bullfrog project generates the identifier for a song (what they call the "Prefix" in the spreadsheet). Recent entries are identified with keys like "2015-008" while older ones have keys like "2013_177". In the second case the underscore is significant, it indicates that this was the 177th biggest song released in 2013. Now, of course, during the year no one knows where a particular song will rank, so the underscore names can't be assigned until every song from a particular year has dropped out of the charts, so recent records are temporarily assigned a name with a dash. In about May of the following year the rankings are calculated and the final identifiers are assigned. That is why we at the Turret can only grab this data retrospectively. Attributes The original spreadsheet has a number of attributes, we have limited our attention to just a few of them: 134 9 The songs with the most entries on the chart were White Christmas (with 33 versions and a total of 110 weeks) and Stardust (with 19 and a total of 106 weeks). position The peak position that songs reached in the charts should show an smooth curve from number one down to the lowest position. This chart has more songs in the lower peak positions than one would expect. Before 1991 the profile of peak positions was exactly as you would expect, that year Billboard introduced the concept of "Recurrent" tracks, that is they removed any track from the chart which had spent more than twenty weeks in the chart and had fallen to the lower positions. weeks The effect of the "Recurrent" process, by which tracks are removed if they have spent at least twenty weeks in the chart and have fallen to the lower reaches, can clearly be seen in the strange spike in this attribute. This "adjustment" was intended to promote newer songs and ensure the chart does not become "stale". In fact since it was introduced in 1991 the length of long chart runs has increased, this might reflect the more conscious efforts of record companies to "game" the charts by controlling release times and promotions, or it coul
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

quora_pairs

  • Dataset: quora_pairs at 451a485
  • Size: 8,500 training samples
  • Columns: sentence1 and sentence2
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2
    type string string
    details
    • min: 6 tokens
    • mean: 13.53 tokens
    • max: 42 tokens
    • min: 6 tokens
    • mean: 13.68 tokens
    • max: 43 tokens
  • Samples:
    sentence1 sentence2
    Astrology: I am a Capricorn Sun Cap moon and cap rising...what does that say about me? I'm a triple Capricorn (Sun, Moon and ascendant in Capricorn) What does this say about me?
    How can I be a good geologist? What should I do to be a great geologist?
    How do I read and find my YouTube comments? How can I see all my Youtube comments?
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

gooaq_pairs

  • Dataset: gooaq_pairs at b089f72
  • Size: 10,000 training samples
  • Columns: sentence1 and sentence2
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2
    type string string
    details
    • min: 8 tokens
    • mean: 11.6 tokens
    • max: 21 tokens
    • min: 13 tokens
    • mean: 57.74 tokens
    • max: 127 tokens
  • Samples:
    sentence1 sentence2
    is toprol xl the same as metoprolol? Metoprolol succinate is also known by the brand name Toprol XL. It is the extended-release form of metoprolol. Metoprolol succinate is approved to treat high blood pressure, chronic chest pain, and congestive heart failure.
    are you experienced cd steve hoffman? The Are You Experienced album was apparently mastered from the original stereo UK master tapes (according to Steve Hoffman - one of the very few who has heard both the master tapes and the CDs produced over the years). ... The CD booklets were a little sparse, but at least they stayed true to the album's original design.
    how are babushka dolls made? Matryoshka dolls are made of wood from lime, balsa, alder, aspen, and birch trees; lime is probably the most common wood type. ... After cutting, the trees are stripped of most of their bark, although a few inner rings of bark are left to bind the wood and keep it from splitting.
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

Evaluation Datasets

nli-pairs

  • Dataset: nli-pairs at d482672
  • Size: 1,000 evaluation samples
  • Columns: anchor and positive
  • Approximate statistics based on the first 1000 samples:
    anchor positive
    type string string
    details
    • min: 5 tokens
    • mean: 17.64 tokens
    • max: 63 tokens
    • min: 4 tokens
    • mean: 9.67 tokens
    • max: 29 tokens
  • Samples:
    anchor positive
    Two women are embracing while holding to go packages. Two woman are holding packages.
    Two young children in blue jerseys, one with the number 9 and one with the number 2 are standing on wooden steps in a bathroom and washing their hands in a sink. Two kids in numbered jerseys wash their hands.
    A man selling donuts to a customer during a world exhibition event held in the city of Angeles A man selling donuts to a customer.
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

scitail-pairs-pos

  • Dataset: scitail-pairs-pos at 0cc4353
  • Size: 1,000 evaluation samples
  • Columns: sentence1, sentence2, and label
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2 label
    type string string int
    details
    • min: 5 tokens
    • mean: 22.52 tokens
    • max: 67 tokens
    • min: 8 tokens
    • mean: 15.34 tokens
    • max: 36 tokens
    • 0: ~47.50%
    • 1: ~52.50%
  • Samples:
    sentence1 sentence2 label
    An introduction to atoms and elements, compounds, atomic structure and bonding, the molecule and chemical reactions. Replace another in a molecule happens to atoms during a substitution reaction. 0
    Wavelength The distance between two consecutive points on a sinusoidal wave that are in phase; Wavelength is the distance between two corresponding points of adjacent waves called. 1
    humans normally have 23 pairs of chromosomes. Humans typically have 23 pairs pairs of chromosomes. 1
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "GISTEmbedLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 1.5,
        "prior_layers_weight": 0.75,
        "kl_div_weight": 0.85,
        "kl_temperature": 1.15
    }
    

qnli-contrastive

  • Dataset: qnli-contrastive at bcdcba7
  • Size: 1,000 evaluation samples
  • Columns: sentence1, sentence2, and label
  • Approximate statistics based on the first 1000 samples:
    sentence1 sentence2 label
    type string string int
    details
    • min: 6 tokens
    • mean: 14.13 tokens
    • max: 36 tokens
    • min: 4 tokens
    • mean: 36.58 tokens
    • max: 225 tokens
    • 0: 100.00%
  • Samples:
    sentence1 sentence2 label
    What came into force after the new constitution was herald? As of that day, the new constitution heralding the Second Republic came into force. 0
    What is the first major city in the stream of the Rhine? The most important tributaries in this area are the Ill below of Strasbourg, the Neckar in Mannheim and the Main across from Mainz. 0
    What is the minimum required if you want to teach in Canada? In most provinces a second Bachelor's Degree such as a Bachelor of Education is required to become a qualified teacher. 0
  • Loss: AdaptiveLayerLoss with these parameters:
    {
        "loss": "OnlineContrastiveLoss",
        "n_layers_per_step": -1,
        "last_layer_weight": 0.75,
        "prior_layers_weight": 1.75,
        "kl_div_weight": 2.5,
        "kl_temperature": 0.25
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • eval_strategy: steps
  • per_device_train_batch_size: 30
  • per_device_eval_batch_size: 30
  • learning_rate: 2.5e-05
  • weight_decay: 1e-05
  • lr_scheduler_type: cosine_with_restarts
  • lr_scheduler_kwargs: {'num_cycles': 2.5}
  • warmup_ratio: 0.275
  • save_safetensors: False
  • fp16: True
  • push_to_hub: True
  • hub_model_id: bobox/DeBERTaV3-TR-AllSoft-HT-fixxed-checkpoints-tmp
  • hub_strategy: checkpoint
  • batch_sampler: no_duplicates

All Hyperparameters

Click to expand
  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: steps
  • prediction_loss_only: True
  • per_device_train_batch_size: 30
  • per_device_eval_batch_size: 30
  • per_gpu_train_batch_size: None
  • per_gpu_eval_batch_size: None
  • gradient_accumulation_steps: 1
  • eval_accumulation_steps: None
  • learning_rate: 2.5e-05
  • weight_decay: 1e-05
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1.0
  • num_train_epochs: 3
  • max_steps: -1
  • lr_scheduler_type: cosine_with_restarts
  • lr_scheduler_kwargs: {'num_cycles': 2.5}
  • warmup_ratio: 0.275
  • warmup_steps: 0
  • log_level: passive
  • log_level_replica: warning
  • log_on_each_node: True
  • logging_nan_inf_filter: True
  • save_safetensors: False
  • 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}
  • deepspeed: None
  • label_smoothing_factor: 0.0
  • optim: adamw_torch
  • 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: True
  • resume_from_checkpoint: None
  • hub_model_id: bobox/DeBERTaV3-TR-AllSoft-HT-fixxed-checkpoints-tmp
  • hub_strategy: checkpoint
  • hub_private_repo: False
  • hub_always_push: False
  • gradient_checkpointing: False
  • gradient_checkpointing_kwargs: None
  • include_inputs_for_metrics: False
  • 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
  • dispatch_batches: None
  • split_batches: None
  • include_tokens_per_second: False
  • include_num_input_tokens_seen: False
  • neftune_noise_alpha: None
  • optim_target_modules: None
  • batch_eval_metrics: False
  • batch_sampler: no_duplicates
  • multi_dataset_batch_sampler: proportional

Training Logs

Epoch Step Training Loss qnli-contrastive loss scitail-pairs-pos loss nli-pairs loss sts-test_spearman_cosine
0.0375 150 1.8327 - - - -
0.0751 300 2.0065 1.8172 0.6116 1.7116 0.7455
0.1126 450 2.2378 - - - -
0.1502 600 2.0656 1.8766 0.5766 1.5744 0.7561
0.1877 750 1.7652 - - - -
0.2253 900 1.5813 1.7158 0.5646 1.5179 0.7614
0.2628 1050 1.4009 - - - -
0.3004 1200 1.7635 1.6072 0.5481 1.4220 0.7676
0.3379 1350 1.5637 - - - -
0.3755 1500 1.4354 1.4344 0.5416 1.3516 0.7727
0.4130 1650 1.7804 - - - -
0.4506 1800 1.2622 1.4143 0.5213 1.3025 0.7769
0.4881 1950 1.4997 - - - -
0.5257 2100 1.2951 1.3118 0.5388 1.2612 0.7793
0.5632 2250 1.361 - - - -
0.6008 2400 1.3051 1.2006 0.5180 1.2121 0.7784
0.6383 2550 1.2924 - - - -
0.6758 2700 1.4002 1.0775 0.5192 1.2059 0.7846
0.7134 2850 1.2752 - - - -
0.7509 3000 1.3052 1.1663 0.4984 1.1766 0.7867
0.7885 3150 1.3875 - - - -
0.8260 3300 1.6253 1.0160 0.4712 1.1322 0.7895
0.8636 3450 1.3409 - - - -
0.9011 3600 1.2081 0.8689 0.4745 1.1215 0.7862
0.9387 3750 1.4068 - - - -
0.9762 3900 1.0377 0.7865 0.4696 1.0740 0.7888
1.0138 4050 1.0943 - - - -
1.0513 4200 1.204 0.8506 0.4736 1.0601 0.7909
1.0889 4350 1.5874 - - - -
1.1264 4500 1.7741 0.9655 0.4760 1.0538 0.7905
1.1640 4650 1.3314 - - - -
1.2015 4800 1.4771 0.8802 0.4503 1.0447 0.7908
1.2390 4950 1.1352 - - - -
1.2766 5100 1.0953 0.9634 0.4396 1.0002 0.7934
1.3141 5250 1.3435 - - - -
1.3517 5400 1.3171 0.8883 0.4321 0.9987 0.7950
1.3892 5550 1.3554 - - - -
1.4268 5700 1.0497 0.8702 0.4325 0.9925 0.7960
1.4643 5850 1.114 - - - -
1.5019 6000 1.01 0.8729 0.4379 0.9840 0.7968
1.5394 6150 1.0253 - - - -
1.5770 6300 1.0026 0.8480 0.4377 0.9787 0.7971
1.6145 6450 0.8488 - - - -
1.6521 6600 1.1067 0.8465 0.4355 0.9751 0.7968
1.6896 6750 1.0444 - - - -
1.7272 6900 0.9035 0.8801 0.4280 0.9744 0.7955
1.7647 7050 0.9766 - - - -
1.8023 7200 1.306 0.7507 0.4510 0.9846 0.7949
1.8398 7350 1.1005 - - - -
1.8773 7500 0.8909 0.7698 0.4331 0.9971 0.7946
1.9149 7650 1.0627 - - - -
1.9524 7800 0.974 0.7139 0.4348 0.9556 0.7962
1.9900 7950 0.7721 - - - -
2.0275 8100 0.7706 0.7726 0.4216 0.9480 0.7986
2.0651 8250 1.0592 - - - -
2.1026 8400 1.3785 0.7839 0.4345 0.9503 0.7997
2.1402 8550 1.4272 - - - -
2.1777 8700 1.1058 0.8873 0.4164 0.9404 0.7996
2.2153 8850 1.1594 - - - -
2.2528 9000 0.9743 0.8369 0.4069 0.9207 0.7989
2.2904 9150 1.0749 - - - -
2.3279 9300 1.1733 0.7925 0.4117 0.9117 0.8009
2.3655 9450 1.1173 - - - -
2.4030 9600 1.2094 0.7665 0.4123 0.9079 0.8019
2.4406 9750 0.8786 - - - -
2.4781 9900 1.0726 0.7694 0.4131 0.9078 0.8017
2.5156 10050 0.8989 - - - -
2.5532 10200 0.9772 0.7622 0.4143 0.9072 0.8018
2.5907 10350 0.9594 - - - -
2.6283 10500 1.1107 0.8069 0.4227 0.9230 0.7980
2.6658 10650 0.9488 - - - -
2.7034 10800 0.9791 0.8948 0.4241 0.9367 0.8018
2.7409 10950 0.6841 - - - -
2.7785 11100 0.8651 0.7220 0.4521 0.9085 0.7980
2.8160 11250 1.0737 - - - -
2.8536 11400 0.758 0.6905 0.4216 0.8991 0.7976
2.8911 11550 0.7873 - - - -
2.9287 11700 0.8814 0.6433 0.4220 0.8801 0.8016
2.9662 11850 0.7713 - - - -
3.0 11985 - 0.6266 0.4315 0.8695 0.7991

Framework Versions

  • Python: 3.10.13
  • Sentence Transformers: 3.0.1
  • Transformers: 4.41.2
  • PyTorch: 2.1.2
  • Accelerate: 0.30.1
  • Datasets: 2.19.2
  • Tokenizers: 0.19.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",
}

AdaptiveLayerLoss

@misc{li20242d,
    title={2D Matryoshka Sentence Embeddings}, 
    author={Xianming Li and Zongxi Li and Jing Li and Haoran Xie and Qing Li},
    year={2024},
    eprint={2402.14776},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

CoSENTLoss

@online{kexuefm-8847,
    title={CoSENT: A more efficient sentence vector scheme than Sentence-BERT},
    author={Su Jianlin},
    year={2022},
    month={Jan},
    url={https://kexue.fm/archives/8847},
}

GISTEmbedLoss

@misc{solatorio2024gistembed,
    title={GISTEmbed: Guided In-sample Selection of Training Negatives for Text Embedding Fine-tuning}, 
    author={Aivin V. Solatorio},
    year={2024},
    eprint={2402.16829},
    archivePrefix={arXiv},
    primaryClass={cs.LG}
}
Downloads last month
3
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Finetuned from

Datasets used to train bobox/DeBERTa-ST-AllLayers-testing

Evaluation results