sidbrahim commited on
Commit
7d24c50
·
verified ·
1 Parent(s): 7762a11

Upload folder using huggingface_hub

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": true,
5
+ "pooling_mode_max_tokens": false,
6
+ "pooling_mode_mean_sqrt_len_tokens": false,
7
+ "pooling_mode_weightedmean_tokens": false,
8
+ "pooling_mode_lasttoken": false,
9
+ "include_prompt": true
10
+ }
README.md ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ library_name: sentence-transformers
4
+ tags:
5
+ - sentence-transformers
6
+ - sentence-similarity
7
+ - feature-extraction
8
+ - autotrain
9
+ base_model: sentence-transformers/all-MiniLM-L6-v2
10
+ widget:
11
+ - source_sentence: 'search_query: i love autotrain'
12
+ sentences:
13
+ - 'search_query: huggingface auto train'
14
+ - 'search_query: hugging face auto train'
15
+ - 'search_query: i love autotrain'
16
+ pipeline_tag: sentence-similarity
17
+ ---
18
+
19
+ # Model Trained Using AutoTrain
20
+
21
+ - Problem type: Sentence Transformers
22
+
23
+ ## Validation Metrics
24
+ loss: 2.767585039138794
25
+
26
+ validation_pearson_cosine: 0.8085373520361815
27
+
28
+ validation_spearman_cosine: 0.6588712021140699
29
+
30
+ runtime: 24.5695
31
+
32
+ samples_per_second: 7.815
33
+
34
+ steps_per_second: 0.488
35
+
36
+ : 3.0
37
+
38
+ ## Usage
39
+
40
+ ### Direct Usage (Sentence Transformers)
41
+
42
+ First install the Sentence Transformers library:
43
+
44
+ ```bash
45
+ pip install -U sentence-transformers
46
+ ```
47
+
48
+ Then you can load this model and run inference.
49
+ ```python
50
+ from sentence_transformers import SentenceTransformer
51
+
52
+ # Download from the Hugging Face Hub
53
+ model = SentenceTransformer("sentence_transformers_model_id")
54
+ # Run inference
55
+ sentences = [
56
+ 'search_query: autotrain',
57
+ 'search_query: auto train',
58
+ 'search_query: i love autotrain',
59
+ ]
60
+ embeddings = model.encode(sentences)
61
+ print(embeddings.shape)
62
+
63
+ # Get the similarity scores for the embeddings
64
+ similarities = model.similarity(embeddings, embeddings)
65
+ print(similarities.shape)
66
+ ```
checkpoint-396/1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": true,
5
+ "pooling_mode_max_tokens": false,
6
+ "pooling_mode_mean_sqrt_len_tokens": false,
7
+ "pooling_mode_weightedmean_tokens": false,
8
+ "pooling_mode_lasttoken": false,
9
+ "include_prompt": true
10
+ }
checkpoint-396/README.md ADDED
@@ -0,0 +1,592 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:1584
8
+ - loss:CoSENTLoss
9
+ base_model: sentence-transformers/all-MiniLM-L6-v2
10
+ widget:
11
+ - source_sentence: '1988: born on November 27 in Paris | 2006: returns to Paris |
12
+ 2008: begins her career | 2009: plays Éléonore in L''Orpheline with an additional
13
+ arm | 2013: selected to play in a short film | 2019: notable career start with
14
+ ''Portrait of a Young Girl in Flames'' | 2019: wins the Lumière Award for Best
15
+ Actress | 2019: film receives the screenplay prize at the Cannes Film Festival
16
+ | 2019: plays Marianne in ''Portrait of a Young Girl in Flames'' | 2020: plays
17
+ the role of an autistic young girl in ''Jumbo'' | 2020: presents her second short
18
+ film, Shakira | 2021: first long film officially selected for the Cannes Film
19
+ Festival | 2022: continues her American ascent by participating in ''Tár'' | 2023:
20
+ supports the movement against the pension reform project'
21
+ sentences:
22
+ - '1946: Born in New York City | 1968: Had a role in the drama That Nice Boy (aka
23
+ The Square Root) | 1969: Changed stage name from Mike Stallone to Sylvester E.
24
+ Stallone | 1970: First starring role in The Party at Kitty and Stud''s | 1971:
25
+ Starred in the erotic off-Broadway stage play Score | 1972: Failed to get a job
26
+ as an extra in The Godfather | 1973: Achieved first proper starring role in No
27
+ Place to Hide | 1974: First film role: The Lords of Flatbush | 1976: Gained worldwide
28
+ fame with the role in Rocky | 1977: Nominated for ten Oscars at the 49th Academy
29
+ Awards | 1978: Debut in Paradise Alley | 1979: Wrote, directed, and starred in
30
+ Rocky II | 1981: Starred in Escape to Victory | 1982: Played John Rambo in First
31
+ Blood'
32
+ - '1966: Born in Paris, France | 1995: Debut in La Haine, received two César Award
33
+ nominations | 1996: Met Monica Bellucci on set of The Apartment | 1999: Married
34
+ Monica Bellucci in Monaco | 2004: Daughter Deva born | 2007: Critical acclaim
35
+ for performance in Eastern Promises | 2008: Won César Award for Best Actor for
36
+ role as Jacques Mesrine | 2010: Daughter Léonie born | 2010: Nominated for Screen
37
+ Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture for
38
+ Black Swan | 2013: Announced separation from Monica Bellucci | 2016: Won Canadian
39
+ Screen Award for Best Supporting Actor for role in It''s Only the End of the World
40
+ | 2018: Married Tina Kunakey in Bidart, France | 2019: Daughter Amazonie born
41
+ | 2019: Nominated for César Award for Best Actor for role in The Specials'
42
+ - '1967: Born in Shirebrook, Derbyshire, England on 26 July | 1978: Attended local
43
+ grammar school | 1990: Competed for England in the 1990 Commonwealth Games | 1998:
44
+ Casted in Lock, Stock and Two Smoking Barrels | 2000: Casted in Snatch | 2010:
45
+ Casted in The Expendables | 2011: First career milestone - The Mechanic | 2012:
46
+ Awards - Box office success | 2013: Advocated for stunt performers at Academy
47
+ Awards (2013) | 2013: Cameo - Fast & Furious 6 | 2013: Casted in Fast & Furious
48
+ franchise | 2014: Inducted into International Sports Hall of Fame (2014) | 2016:
49
+ Engaged to Rosie Huntington-Whiteley (2016) | 2017: Son born (2017)'
50
+ - source_sentence: '1983: Born on 11 August in Melbourne, Victoria | 2004: Became
51
+ a part of Home and Away | 2007: Left Home and Away | 2009: Played James T. Kirk''s
52
+ father in Star Trek | 2010: Married Elsa Pataky | 2011: Starred as Thor in the
53
+ Marvel Cinematic Universe | 2012: Daughter India Rose born | 2012: Played the
54
+ character Kale Garrity in A Perfect Getaway | 2012: Reprised the role of Thor
55
+ in The Avengers | 2013: Reprised Thor in Thor: The Dark World (2013) | 2013: Starred
56
+ in Rush | 2014: Donated fees to the Australian Children Foundation | 2014: Twin
57
+ sons born | 2015: Co-starred in Vacation'
58
+ sentences:
59
+ - '1979: Born in Emmett, Idaho | 1996: Participated in International Modeling and
60
+ Talent Association competition | 1997: Appeared on The Price Is Right | 1997:
61
+ Graduated from Centennial High School in Boise, Idaho | 2008: Became known for
62
+ role as Jesse Pinkman in Breaking Bad | 2009: Starred in The Last House on the
63
+ Left | 2010: Nominated for Primetime Emmy Award for Outstanding Supporting Actor
64
+ in a Drama Series | 2012: Engaged to Lauren Parsekian in Paris | 2013: Declared
65
+ October 1 as Aaron Paul Sturtevant Day | 2013: Got Breaking Bad tattoos with Bryan
66
+ Cranston | 2013: Helped organize a contest to raise $1.6 million for anti-bullying
67
+ organization | 2013: Married Lauren Parsekian in Malibu | 2018: Daughter Story
68
+ Annabelle born | 2022: Dropped birth surname to ''Paul'''
69
+ - '1929: born on November 12 in Philadelphia | 1947: educated at Ravenhill Academy
70
+ | 1951: appears in 14 Hours | 1953: stars in Mogambo | 1955: wins the Academy
71
+ Award for Best Actress | 1956: becomes a Grand-Cross of the Order of Saint Charles
72
+ of Monaco | 1956: civil marriage | 1956: religious marriage | 1956: ends her acting
73
+ career | 1956: famous and admired wedding dress | 1960: godmother of AS Monaco
74
+ | 1962: Dame Grand-Cross of the Order of Beneficence (Greece) | 1963: founds the
75
+ World Association of Friends of Children | 1964: founds the Princess Grace Foundation
76
+ of Monaco'
77
+ - '1989: born on July 23 in Fulham, London | 2002: appears in Harry Potter and the
78
+ Chamber of Secrets | 2003: offers a strand of hair and an autograph for the British
79
+ Charity | 2004: plays in Harry Potter and the Prisoner of Azkaban | 2005: plays
80
+ in Harry Potter and the Goblet of Fire | 2007: leaves hand and footprints in front
81
+ of Grauman''s Chinese Theatre | 2007: Television film My Son Jack | 2007: Writes
82
+ in the magazine Rubbish | 2008: Nominated for a Drama Desk Award | 2008: Main
83
+ role in Equus | 2009: plays in Harry Potter and the Deathly Hallows | 2011: Emma
84
+ Watson describes him as a cute, generous, and energetic boy | 2011: Main role
85
+ of J Pierrepont Finch on Broadway | 2012: First major project after Harry Potter'
86
+ - source_sentence: '1929: born on November 12 in Philadelphia | 1947: educated at
87
+ Ravenhill Academy | 1951: appears in 14 Hours | 1953: stars in Mogambo | 1955:
88
+ wins the Academy Award for Best Actress | 1956: becomes a Grand-Cross of the Order
89
+ of Saint Charles of Monaco | 1956: civil marriage | 1956: religious marriage |
90
+ 1956: ends her acting career | 1956: famous and admired wedding dress | 1960:
91
+ godmother of AS Monaco | 1962: Dame Grand-Cross of the Order of Beneficence (Greece)
92
+ | 1963: founds the World Association of Friends of Children | 1964: founds the
93
+ Princess Grace Foundation of Monaco'
94
+ sentences:
95
+ - '1979: born on March 9 in Guatemala | 2005: completed studies at the Juilliard
96
+ School | 2006: small role in The Hitman''s Bodyguard | 2008: small role in Che
97
+ | 2013: confirmed with Llewyn Davis in Inside Llewyn Davis | 2015: participated
98
+ in Star Wars, episode VII : The Force Awakens | 2017: married Elvira Lind | 2022:
99
+ jury member of the 19th Marrakech International Film Festival'
100
+ - '1983: Born on August 11 in Melbourne (Victoria) | 2003: Begins in Summer Bay
101
+ | 2010: Portrays Sam Phelan in Ca$h | 2011: Portrays Thor | 2012: Portrays the
102
+ male lead in the fantasy blockbuster Snow White and the Hunter | 2012: Portrays
103
+ Curt Vaughan in The Cabin in the Woods | 2012: Reteams with Joss Whedon for Avengers
104
+ | 2013: In 2013, he first portrays the Formula 1 pilot James Hunt in the sports
105
+ drama Rush | 2015: Portrays the hacker Nicholas Hathaway in the techno-thriller
106
+ Hacker | 2015: Reteams with Joss Whedon for Avengers: Age of Ultron | 2017: Simultaneously
107
+ films Avengers: Infinity War and Avengers: Endgame | 2018: Attempts to leave the
108
+ Thor costume by directing the war film Horse Soldiers | 2019: Shares the screen
109
+ with the science fiction blockbuster MIB | 2019: Actor announces in the Australian
110
+ edition of the Daily Telegraph that he is putting his career on hold'
111
+ - '1970: Born on 7 March in Westminster, London | 1988: Graduated from Trinity Hall,
112
+ Cambridge with upper second-class honours | 1994: Stage debut in ''Design for
113
+ Living'' | 1999: International breakthrough in ''The Mummy'' | 2001: Began dating
114
+ Darren Aronofsky | 2004: Appeared in the comedy Envy | 2005: Starred in The Constant
115
+ Gardener | 2005: Won Laurence Olivier Award for Best Actress for ''A Streetcar
116
+ Named Desire'' | 2006: Received BAFTA Britannia Award for British Artist of the
117
+ Year | 2006: Starred in The Fountain | 2009: Played Hypatia of Alexandria in Agora
118
+ | 2010: Starred in The Whistleblower | 2011: Became a naturalised American citizen
119
+ | 2011: Played Blanche DuBois in A Streetcar Named Desire'
120
+ - source_sentence: '1981: Born on 9 February in Westminster, London | 1999: Debut
121
+ in Journey''s End | 2005: Graduated from Royal Academy of Dramatic Art | 2006:
122
+ First film role in Unrelated | 2007: Started boarding at Windlesham House School
123
+ | 2007: Won Laurence Olivier Award for Best Newcomer in a Play | 2011: First career
124
+ milestone: Midnight in Paris, War Horse | 2011: Nominated for BAFTA Rising Star
125
+ Award | 2011: Portrayed Loki in Thor | 2011: Voiceover: The Ancient Egyptian Book
126
+ of the Dead | 2012: Television: The Hollow Crown | 2013: Film: Thor: The Dark
127
+ World | 2013: Traveled to Guinea to raise awareness about hunger and malnutrition
128
+ | 2014: Film: Muppets Most Wanted'
129
+ sentences:
130
+ - '1979: Born on June 21 in Virginia, Minnesota | 2000: Discovered by Rae Dawn Chong
131
+ | 2000: Role in the short film Cursed Part 3 | 2000: Waiter at the Shrimp Bubba
132
+ Gump Company restaurant in Maui | 2006: Everwood cancelled | 2008: Major role
133
+ in Wanted: Choose Your Own Adventure | 2012: Son Jack born, August 25 | 2014:
134
+ Ranked second in People''s Sexiest Men Alive list | 2014: Star in two films in
135
+ the top 3 of the biggest box office successes in North America in 2014 | 2014:
136
+ Cover of Entertainment Weekly | 2014: Premature son born, December 5 | 2014: Guardians
137
+ of the Galaxy tops box office on opening weekend | 2014: Voiced Emmet Brickowoski
138
+ in The Lego Movie | 2014: Awarded CinemaCon Award for Best Breakthrough Performance'
139
+ - '1978: born on November 17 in London (Ontario) | 2001: graduated from York University
140
+ | 2001: first role on screen in My Name Is Tanino | 2001: first Genie Award nomination
141
+ for her role in The Road to You | 2002: first Hollywood film, Hot Tease | 2004:
142
+ became famous with leading roles in Lolita and Never Forget | 2004: romantic role
143
+ in Never Forget | 2004: role of Regina George in Mean Girls | 2005: marriage with
144
+ Ryan Gosling (2005-2011) | 2006: hosts the Academy Award for Technical Achievement
145
+ | 2006: appears on the cover of Vanity Fair with Scarlett Johansson and Keira
146
+ Knightley (2006) | 2006: performs in the stage production of The Vagina Monologues
147
+ | 2006: participates in the Day Without Immigrants protest | 2006: turns down
148
+ roles in The Devil Wears Prada, Casino Royale, Mission: Impossible III, and A
149
+ Nightmare on Elm Street'
150
+ - '1980: Born in London, Ontario, Canada | 1993: Joined The All New Mickey Mouse
151
+ Club | 1995: Returned to Canada | 1996: Appeared in Goosebumps | 1998: Filmed
152
+ Young Hercules in New Zealand | 2000: Film breakthrough in Remember the Titans
153
+ | 2000: Published solo album ''Angel With Tatooed Wings'' | 2001: Lead role in
154
+ The Believer | 2002: Co-star in Murder by Numbers | 2002: Co-star in The Slaughter
155
+ Rule | 2003: Starred in The United States of Leland | 2004: Achieved mainstream
156
+ popularity for The Notebook | 2004: Signed with Terrence Malick for Che (2004)
157
+ | 2004: Starred in The Notebook'
158
+ - source_sentence: '1983: Born on August 11 in Melbourne (Victoria) | 2003: Begins
159
+ in Summer Bay | 2010: Portrays Sam Phelan in Ca$h | 2011: Portrays Thor | 2012:
160
+ Portrays the male lead in the fantasy blockbuster Snow White and the Hunter |
161
+ 2012: Portrays Curt Vaughan in The Cabin in the Woods | 2012: Reteams with Joss
162
+ Whedon for Avengers | 2013: In 2013, he first portrays the Formula 1 pilot James
163
+ Hunt in the sports drama Rush | 2015: Portrays the hacker Nicholas Hathaway in
164
+ the techno-thriller Hacker | 2015: Reteams with Joss Whedon for Avengers: Age
165
+ of Ultron | 2017: Simultaneously films Avengers: Infinity War and Avengers: Endgame
166
+ | 2018: Attempts to leave the Thor costume by directing the war film Horse Soldiers
167
+ | 2019: Shares the screen with the science fiction blockbuster MIB | 2019: Actor
168
+ announces in the Australian edition of the Daily Telegraph that he is putting
169
+ his career on hold'
170
+ sentences:
171
+ - '1962: Born on 6 August in Ipoh, Perak, Malaysia | 1983: Won Miss Malaysia World
172
+ beauty contest | 1985: First lead role in Yes, Madam | 1987: Married Dickson Poon
173
+ | 1988: Married Dickson Poon from 1988 to 1992 | 1997: Starred in Tomorrow Never
174
+ Dies | 1998: Dated Alan Heldman from 1998 to 2000 | 2000: Starred in Crouching
175
+ Tiger, Hidden Dragon | 2004: Began dating Jean Todt | 2005: Starred in Memoirs
176
+ of a Geisha | 2008: Became an ambassador for FIA''s Make Roads Safe campaign |
177
+ 2011: Chosen by Guerlain as skincare ambassador in 2011 | 2013: Changed to the
178
+ role of executive producer for Pad Yatra: A Green Odyssey | 2013: Supports Malaysian
179
+ prime minister Najib Razak and Barisan Nasional'
180
+ - '1948: Born on December 21, 1948, in Washington, D.C. | 1972: Earned a BA in drama
181
+ from Morehouse College | 1980: Made his professional theater debut in Mother Courage
182
+ and Her Children at The Public Theater in New York City | 1980: Married LaTanya
183
+ Richardson | 1982: Daughter Zoe born | 1990: Appeared in Jungle Fever as a crack
184
+ cocaine addict | 1993: Starred in Jurassic Park | 1994: Debut in Pulp Fiction
185
+ | 1994: Received Golden Globe nomination for Pulp Fiction | 1995: Received BAFTA
186
+ Award for Best Supporting Role | 1996: First bald role in The Great White Hype
187
+ | 1998: Hosted the MTV Movie Awards (1998) | 2000: Received star on the Hollywood
188
+ Walk of Fame | 2006: Won the German Bambi Award for International Film'
189
+ - '1979: born on August 27 in Emmett (Idaho) | 1996: graduates from Centennial High
190
+ School in Boise | 2000: selected as a candidate for Juste Prix in 2000 | 2007:
191
+ joins the Big Love series | 2008: plays Jesse Pinkman in Breaking Bad | 2010:
192
+ wins the Emmy Award for Best Supporting Actor | 2013: marries Lauren Parsekian
193
+ in Malibu | 2018: daughter Story Annabelle is born'
194
+ pipeline_tag: sentence-similarity
195
+ library_name: sentence-transformers
196
+ metrics:
197
+ - pearson_cosine
198
+ - spearman_cosine
199
+ model-index:
200
+ - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
201
+ results:
202
+ - task:
203
+ type: semantic-similarity
204
+ name: Semantic Similarity
205
+ dataset:
206
+ name: validation
207
+ type: validation
208
+ metrics:
209
+ - type: pearson_cosine
210
+ value: 0.8085373520361815
211
+ name: Pearson Cosine
212
+ - type: spearman_cosine
213
+ value: 0.6588712021140699
214
+ name: Spearman Cosine
215
+ ---
216
+
217
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
218
+
219
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2). It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
220
+
221
+ ## Model Details
222
+
223
+ ### Model Description
224
+ - **Model Type:** Sentence Transformer
225
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
226
+ - **Maximum Sequence Length:** 256 tokens
227
+ - **Output Dimensionality:** 384 dimensions
228
+ - **Similarity Function:** Cosine Similarity
229
+ <!-- - **Training Dataset:** Unknown -->
230
+ <!-- - **Language:** Unknown -->
231
+ <!-- - **License:** Unknown -->
232
+
233
+ ### Model Sources
234
+
235
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
236
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
237
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
238
+
239
+ ### Full Model Architecture
240
+
241
+ ```
242
+ SentenceTransformer(
243
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
244
+ (1): Pooling({'word_embedding_dimension': 384, '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})
245
+ (2): Normalize()
246
+ )
247
+ ```
248
+
249
+ ## Usage
250
+
251
+ ### Direct Usage (Sentence Transformers)
252
+
253
+ First install the Sentence Transformers library:
254
+
255
+ ```bash
256
+ pip install -U sentence-transformers
257
+ ```
258
+
259
+ Then you can load this model and run inference.
260
+ ```python
261
+ from sentence_transformers import SentenceTransformer
262
+
263
+ # Download from the 🤗 Hub
264
+ model = SentenceTransformer("sentence_transformers_model_id")
265
+ # Run inference
266
+ sentences = [
267
+ '1983: Born on August 11 in Melbourne (Victoria) | 2003: Begins in Summer Bay | 2010: Portrays Sam Phelan in Ca$h | 2011: Portrays Thor | 2012: Portrays the male lead in the fantasy blockbuster Snow White and the Hunter | 2012: Portrays Curt Vaughan in The Cabin in the Woods | 2012: Reteams with Joss Whedon for Avengers | 2013: In 2013, he first portrays the Formula 1 pilot James Hunt in the sports drama Rush | 2015: Portrays the hacker Nicholas Hathaway in the techno-thriller Hacker | 2015: Reteams with Joss Whedon for Avengers: Age of Ultron | 2017: Simultaneously films Avengers: Infinity War and Avengers: Endgame | 2018: Attempts to leave the Thor costume by directing the war film Horse Soldiers | 2019: Shares the screen with the science fiction blockbuster MIB | 2019: Actor announces in the Australian edition of the Daily Telegraph that he is putting his career on hold',
268
+ '1948: Born on December 21, 1948, in Washington, D.C. | 1972: Earned a BA in drama from Morehouse College | 1980: Made his professional theater debut in Mother Courage and Her Children at The Public Theater in New York City | 1980: Married LaTanya Richardson | 1982: Daughter Zoe born | 1990: Appeared in Jungle Fever as a crack cocaine addict | 1993: Starred in Jurassic Park | 1994: Debut in Pulp Fiction | 1994: Received Golden Globe nomination for Pulp Fiction | 1995: Received BAFTA Award for Best Supporting Role | 1996: First bald role in The Great White Hype | 1998: Hosted the MTV Movie Awards (1998) | 2000: Received star on the Hollywood Walk of Fame | 2006: Won the German Bambi Award for International Film',
269
+ "1962: Born on 6 August in Ipoh, Perak, Malaysia | 1983: Won Miss Malaysia World beauty contest | 1985: First lead role in Yes, Madam | 1987: Married Dickson Poon | 1988: Married Dickson Poon from 1988 to 1992 | 1997: Starred in Tomorrow Never Dies | 1998: Dated Alan Heldman from 1998 to 2000 | 2000: Starred in Crouching Tiger, Hidden Dragon | 2004: Began dating Jean Todt | 2005: Starred in Memoirs of a Geisha | 2008: Became an ambassador for FIA's Make Roads Safe campaign | 2011: Chosen by Guerlain as skincare ambassador in 2011 | 2013: Changed to the role of executive producer for Pad Yatra: A Green Odyssey | 2013: Supports Malaysian prime minister Najib Razak and Barisan Nasional",
270
+ ]
271
+ embeddings = model.encode(sentences)
272
+ print(embeddings.shape)
273
+ # [3, 384]
274
+
275
+ # Get the similarity scores for the embeddings
276
+ similarities = model.similarity(embeddings, embeddings)
277
+ print(similarities.shape)
278
+ # [3, 3]
279
+ ```
280
+
281
+ <!--
282
+ ### Direct Usage (Transformers)
283
+
284
+ <details><summary>Click to see the direct usage in Transformers</summary>
285
+
286
+ </details>
287
+ -->
288
+
289
+ <!--
290
+ ### Downstream Usage (Sentence Transformers)
291
+
292
+ You can finetune this model on your own dataset.
293
+
294
+ <details><summary>Click to expand</summary>
295
+
296
+ </details>
297
+ -->
298
+
299
+ <!--
300
+ ### Out-of-Scope Use
301
+
302
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
303
+ -->
304
+
305
+ ## Evaluation
306
+
307
+ ### Metrics
308
+
309
+ #### Semantic Similarity
310
+
311
+ * Dataset: `validation`
312
+ * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
313
+
314
+ | Metric | Value |
315
+ |:--------------------|:-----------|
316
+ | pearson_cosine | 0.8085 |
317
+ | **spearman_cosine** | **0.6589** |
318
+
319
+ <!--
320
+ ## Bias, Risks and Limitations
321
+
322
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
323
+ -->
324
+
325
+ <!--
326
+ ### Recommendations
327
+
328
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
329
+ -->
330
+
331
+ ## Training Details
332
+
333
+ ### Training Dataset
334
+
335
+ #### Unnamed Dataset
336
+
337
+
338
+ * Size: 1,584 training samples
339
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
340
+ * Approximate statistics based on the first 1000 samples:
341
+ | | sentence1 | sentence2 | score |
342
+ |:--------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:------------------------------------------------|
343
+ | type | string | string | int |
344
+ | details | <ul><li>min: 34 tokens</li><li>mean: 145.44 tokens</li><li>max: 230 tokens</li></ul> | <ul><li>min: 34 tokens</li><li>mean: 148.79 tokens</li><li>max: 230 tokens</li></ul> | <ul><li>0: ~75.30%</li><li>1: ~24.70%</li></ul> |
345
+ * Samples:
346
+ | sentence1 | sentence2 | score |
347
+ |:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------|
348
+ | <code>1952: Born on April 10 in Lansing, Michigan | 1974: Promoted to shodan in aikido | 1975: First marriage with Miyako Fujitani | 1984: Second marriage with Adrienne La Russa | 1987: Third marriage with Kelly LeBrock | 1988: Acting debut in Nico | 1990: Controversies over the video game | 1991: Sexual harassment allegations | 1992: Portrays Casey Ryback in Under Siege | 1994: Debut as director with Minefield | 1995: Musical tribute | 1996: Film set accidents | 1998: Stars in The Patriot | 2001: Release of Beyond the Limit</code> | <code>1937: Born on August 8, 1937, in Los Angeles, California | 1961: Made Broadway debut in A Cook for Mr. General | 1963: Met Anne Byrne | 1967: Film debut with The Tiger Makes Out | 1967: Oscar-nominated for The Graduate | 1967: The Graduate debut | 1968: Drama Desk Award | 1969: John and Mary | 1969: Married Anne Byrne | 1969: Midnight Cowboy | 1969: Oscar nomination | 1969: Oscar-nominated for Midnight Cowboy | 1970: Bomb incident | 1970: Little Big Man</code> | <code>0</code> |
349
+ | <code>1978: Born on February 7 in Cedar Rapids (Iowa) | 1996: Attends the University of Iowa to study biochemistry | 2000: Appears in the romantic comedy Coming Soon | 2000: Encounters with Ashley Ellerin in 2000 | 2001: Ashley Ellerin's death in February | 2003: Produces and hosts the MTV show Punk'd: Stars Tricked | 2003: Meets Demi Moore | 2003: Attempts to confirm in the romantic comedy genre with My Boss, His Daughter, and Me | 2008: Hosts the romantic comedy Jackpot | 2009: Nominated as the most followed user on Twitter | 2010: First choral romantic comedy Valentine's Day | 2012: Revival of Punk'd: Stars Tricked</code> | <code>1963: Born on June 9 in Owensboro, Kentucky | 1979: Dropped out of Miramar High School at 16 | 1983: Married Lori Anne Allison | 1984: Made his feature film debut in 'A Nightmare on Elm Street' | 1986: Divorced Lori Anne Allison | 1989: Arrested in Vancouver for assaulting a security guard in 1989. | 1990: Engaged to Winona Ryder | 1990: Played the title character in 'Edward Scissorhands' | 1991: Cameo in Freddy's Dead: The Final Nightmare | 1993: Broke up with Winona Ryder | 1993: Portrayed lead roles in 'Arizona Dream', 'What's Eating Gilbert Grape', 'Benny & Joon' | 1994: Started relationship with Kate Moss | 1998: Met Vanessa Paradis while filming The Ninth Gate | 1999: Arrested in 1999 for brawling with paparazzi.</code> | <code>0</code> |
350
+ | <code>1967: Born on July 16 in Irvine, California | 1990: Member of the comedy group The Groundlings | 1990: University of Southern California, degree in sports information | 1995: Debut on Saturday Night Live | 2000: Birth | 2003: First major role in Revenge of the Nerds | 2004: First major commercial success | 2004: First major comedy success, Host: The Legend of Ron Burgundy | 2005: Nominated for a Razzie Award | 2007: Nominated for a Golden Globe | 2007: Nominated for a Golden Globe for Best Actor for The Incredibles | 2008: Returns to his antics | 2010: Uncredited appearance | 2010: Designated as the most overpaid actor</code> | <code>1976: Born on 25 May in Douglas, Cork | 1996: Debut in Enda Walsh's play Disco Pigs | 1996: Started studying law at University College Cork | 2001: Moved to London with wife in 2001 so she could attend the Royal College of Art | 2002: Cameos in 28 Days Later | 2003: Starred in Intermission | 2004: Marry Yvonne McGuinness in 2004 | 2005: Auditioned for the role of Bruce Wayne/Batman in Batman Begins (2005) | 2005: Began collaboration with Christopher Nolan | 2005: Debut as Dr. Jonathan Crane in Batman Begins (2005) | 2005: First Golden Globe nomination for Breakfast on Pluto | 2005: Nominated as Best Villain at the 2006 MTV Movie Awards for Batman Begins (2005) | 2006: Starred in The Wind That Shakes the Barley (2006) | 2007: Participated in the 2007 Rock the Vote Ireland campaign</code> | <code>0</code> |
351
+ * Loss: [<code>CoSENTLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
352
+ ```json
353
+ {
354
+ "scale": 20.0,
355
+ "similarity_fct": "pairwise_cos_sim"
356
+ }
357
+ ```
358
+
359
+ ### Evaluation Dataset
360
+
361
+ #### Unnamed Dataset
362
+
363
+
364
+ * Size: 192 evaluation samples
365
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
366
+ * Approximate statistics based on the first 192 samples:
367
+ | | sentence1 | sentence2 | score |
368
+ |:--------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:------------------------------------------------|
369
+ | type | string | string | int |
370
+ | details | <ul><li>min: 38 tokens</li><li>mean: 150.14 tokens</li><li>max: 251 tokens</li></ul> | <ul><li>min: 38 tokens</li><li>mean: 155.21 tokens</li><li>max: 251 tokens</li></ul> | <ul><li>0: ~75.00%</li><li>1: ~25.00%</li></ul> |
371
+ * Samples:
372
+ | sentence1 | sentence2 | score |
373
+ |:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------|
374
+ | <code>1970: Born on 7 March in Westminster, London | 1988: Graduated from Trinity Hall, Cambridge with upper second-class honours | 1994: Stage debut in 'Design for Living' | 1999: International breakthrough in 'The Mummy' | 2001: Began dating Darren Aronofsky | 2004: Appeared in the comedy Envy | 2005: Starred in The Constant Gardener | 2005: Won Laurence Olivier Award for Best Actress for 'A Streetcar Named Desire' | 2006: Received BAFTA Britannia Award for British Artist of the Year | 2006: Starred in The Fountain | 2009: Played Hypatia of Alexandria in Agora | 2010: Starred in The Whistleblower | 2011: Became a naturalised American citizen | 2011: Played Blanche DuBois in A Streetcar Named Desire</code> | <code>1964: Born on April 7 in Wellington, New Zealand | 1972: Family moves to Australia, Sydney | 1978: Leaves school to become an actor | 1992: First leading role in Romper Stomper | 1992: Russell Crowe creates the group 30 Odd Foot of Grunts | 2000: Wins the Oscar for Best Actor for Gladiator | 2001: Second Oscar nomination for Best Actor for A Beautiful Mind | 2001: Russell Crowe and Meg Ryan separate | 2003: Russell Crowe plays music with the group Roman Antix | 2003: Russell Crowe marries Danielle Spencer | 2010: Russell Crowe proposes Alan Doyle to play the minstrel Allan-a-Dale in Robin Hood | 2010: Russell Crowe receives the 2,404th star on the Hollywood Walk of Fame</code> | <code>0</code> |
375
+ | <code>1970: born on March 7, 1970 in the Westminster district of London | 1983: attended North London Collegiate School | 1986: attended Benenden School | 1990: studied at Trinity Hall, University of Cambridge | 1999: got the role of Evelyn Carnahan in The Mummy | 1999: lived with Sam Mendes from 1999 to 2001 | 2001: lived with Darren Aronofsky from 2001 to | 2006: won the Academy Award for Best Supporting Actress for The Constant Gardener | 2011: naturalized as an American citizen | 2011: married Daniel Craig in June 2011 in New York | 2012: in Jason Bourne: Legacy | 2013: in The Wizard of Oz | 2015: at the Cannes Film Festival in May 2015 | 2018: announced expecting a child</code> | <code>1948: Born on December 21, 1948, in Washington, D.C. | 1972: Earned a BA in drama from Morehouse College | 1980: Made his professional theater debut in Mother Courage and Her Children at The Public Theater in New York City | 1980: Married LaTanya Richardson | 1982: Daughter Zoe born | 1990: Appeared in Jungle Fever as a crack cocaine addict | 1993: Starred in Jurassic Park | 1994: Debut in Pulp Fiction | 1994: Received Golden Globe nomination for Pulp Fiction | 1995: Received BAFTA Award for Best Supporting Role | 1996: First bald role in The Great White Hype | 1998: Hosted the MTV Movie Awards (1998) | 2000: Received star on the Hollywood Walk of Fame | 2006: Won the German Bambi Award for International Film</code> | <code>0</code> |
376
+ | <code>1948: Born on December 21, 1948, in Washington, D.C. | 1972: Earned a BA in drama from Morehouse College | 1980: Made his professional theater debut in Mother Courage and Her Children at The Public Theater in New York City | 1980: Married LaTanya Richardson | 1982: Daughter Zoe born | 1990: Appeared in Jungle Fever as a crack cocaine addict | 1993: Starred in Jurassic Park | 1994: Debut in Pulp Fiction | 1994: Received Golden Globe nomination for Pulp Fiction | 1995: Received BAFTA Award for Best Supporting Role | 1996: First bald role in The Great White Hype | 1998: Hosted the MTV Movie Awards (1998) | 2000: Received star on the Hollywood Walk of Fame | 2006: Won the German Bambi Award for International Film</code> | <code>1948: Born on December 21 in Washington, D.C. | 1972: Obtains a drama degree | 1980: Has a daughter, Zoé | 1980: Married to Latanya Richardson since 1980 | 1994: Portrays Jules Winnfield in Pulp Fiction | 1995: Starring in Devil's Advocate | 1996: Portrays Zeus Carver in Devil's Advocate | 1999: Portrays Mace Windu in Star Wars, Episode I: The Phantom Menace | 2000: Reprises the role of J.P. Shaft in Shaft | 2002: Stars in Dérapages incontrôlés with Ben Affleck | 2006: Jury member at the Cannes Film Festival | 2008: Musical biopic Soul Men with Bernie Mac | 2008: Supports Barack Obama in the 2008 presidential election | 2008: Portrays Nick Fury in the Marvel Cinematic Universe</code> | <code>1</code> |
377
+ * Loss: [<code>CoSENTLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
378
+ ```json
379
+ {
380
+ "scale": 20.0,
381
+ "similarity_fct": "pairwise_cos_sim"
382
+ }
383
+ ```
384
+
385
+ ### Training Hyperparameters
386
+ #### Non-Default Hyperparameters
387
+
388
+ - `eval_strategy`: epoch
389
+ - `per_device_eval_batch_size`: 16
390
+ - `learning_rate`: 3e-05
391
+ - `warmup_ratio`: 0.1
392
+ - `fp16`: True
393
+ - `load_best_model_at_end`: True
394
+ - `ddp_find_unused_parameters`: False
395
+
396
+ #### All Hyperparameters
397
+ <details><summary>Click to expand</summary>
398
+
399
+ - `overwrite_output_dir`: False
400
+ - `do_predict`: False
401
+ - `eval_strategy`: epoch
402
+ - `prediction_loss_only`: True
403
+ - `per_device_train_batch_size`: 8
404
+ - `per_device_eval_batch_size`: 16
405
+ - `per_gpu_train_batch_size`: None
406
+ - `per_gpu_eval_batch_size`: None
407
+ - `gradient_accumulation_steps`: 1
408
+ - `eval_accumulation_steps`: None
409
+ - `torch_empty_cache_steps`: None
410
+ - `learning_rate`: 3e-05
411
+ - `weight_decay`: 0.0
412
+ - `adam_beta1`: 0.9
413
+ - `adam_beta2`: 0.999
414
+ - `adam_epsilon`: 1e-08
415
+ - `max_grad_norm`: 1.0
416
+ - `num_train_epochs`: 3
417
+ - `max_steps`: -1
418
+ - `lr_scheduler_type`: linear
419
+ - `lr_scheduler_kwargs`: {}
420
+ - `warmup_ratio`: 0.1
421
+ - `warmup_steps`: 0
422
+ - `log_level`: passive
423
+ - `log_level_replica`: warning
424
+ - `log_on_each_node`: True
425
+ - `logging_nan_inf_filter`: True
426
+ - `save_safetensors`: True
427
+ - `save_on_each_node`: False
428
+ - `save_only_model`: False
429
+ - `restore_callback_states_from_checkpoint`: False
430
+ - `no_cuda`: False
431
+ - `use_cpu`: False
432
+ - `use_mps_device`: False
433
+ - `seed`: 42
434
+ - `data_seed`: None
435
+ - `jit_mode_eval`: False
436
+ - `use_ipex`: False
437
+ - `bf16`: False
438
+ - `fp16`: True
439
+ - `fp16_opt_level`: O1
440
+ - `half_precision_backend`: auto
441
+ - `bf16_full_eval`: False
442
+ - `fp16_full_eval`: False
443
+ - `tf32`: None
444
+ - `local_rank`: 0
445
+ - `ddp_backend`: None
446
+ - `tpu_num_cores`: None
447
+ - `tpu_metrics_debug`: False
448
+ - `debug`: []
449
+ - `dataloader_drop_last`: False
450
+ - `dataloader_num_workers`: 0
451
+ - `dataloader_prefetch_factor`: None
452
+ - `past_index`: -1
453
+ - `disable_tqdm`: False
454
+ - `remove_unused_columns`: True
455
+ - `label_names`: None
456
+ - `load_best_model_at_end`: True
457
+ - `ignore_data_skip`: False
458
+ - `fsdp`: []
459
+ - `fsdp_min_num_params`: 0
460
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
461
+ - `fsdp_transformer_layer_cls_to_wrap`: None
462
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
463
+ - `deepspeed`: None
464
+ - `label_smoothing_factor`: 0.0
465
+ - `optim`: adamw_torch
466
+ - `optim_args`: None
467
+ - `adafactor`: False
468
+ - `group_by_length`: False
469
+ - `length_column_name`: length
470
+ - `ddp_find_unused_parameters`: False
471
+ - `ddp_bucket_cap_mb`: None
472
+ - `ddp_broadcast_buffers`: False
473
+ - `dataloader_pin_memory`: True
474
+ - `dataloader_persistent_workers`: False
475
+ - `skip_memory_metrics`: True
476
+ - `use_legacy_prediction_loop`: False
477
+ - `push_to_hub`: False
478
+ - `resume_from_checkpoint`: None
479
+ - `hub_model_id`: None
480
+ - `hub_strategy`: every_save
481
+ - `hub_private_repo`: None
482
+ - `hub_always_push`: False
483
+ - `gradient_checkpointing`: False
484
+ - `gradient_checkpointing_kwargs`: None
485
+ - `include_inputs_for_metrics`: False
486
+ - `include_for_metrics`: []
487
+ - `eval_do_concat_batches`: True
488
+ - `fp16_backend`: auto
489
+ - `push_to_hub_model_id`: None
490
+ - `push_to_hub_organization`: None
491
+ - `mp_parameters`:
492
+ - `auto_find_batch_size`: False
493
+ - `full_determinism`: False
494
+ - `torchdynamo`: None
495
+ - `ray_scope`: last
496
+ - `ddp_timeout`: 1800
497
+ - `torch_compile`: False
498
+ - `torch_compile_backend`: None
499
+ - `torch_compile_mode`: None
500
+ - `dispatch_batches`: None
501
+ - `split_batches`: None
502
+ - `include_tokens_per_second`: False
503
+ - `include_num_input_tokens_seen`: False
504
+ - `neftune_noise_alpha`: None
505
+ - `optim_target_modules`: None
506
+ - `batch_eval_metrics`: False
507
+ - `eval_on_start`: False
508
+ - `use_liger_kernel`: False
509
+ - `eval_use_gather_object`: False
510
+ - `average_tokens_across_devices`: False
511
+ - `prompts`: None
512
+ - `batch_sampler`: batch_sampler
513
+ - `multi_dataset_batch_sampler`: proportional
514
+
515
+ </details>
516
+
517
+ ### Training Logs
518
+ | Epoch | Step | Training Loss | Validation Loss | validation_spearman_cosine |
519
+ |:------:|:----:|:-------------:|:---------------:|:--------------------------:|
520
+ | 0.1263 | 25 | 1.2194 | - | - |
521
+ | 0.2525 | 50 | 0.6345 | - | - |
522
+ | 0.3788 | 75 | 1.438 | - | - |
523
+ | 0.5051 | 100 | 0.8182 | - | - |
524
+ | 0.6313 | 125 | 0.2745 | - | - |
525
+ | 0.7576 | 150 | 0.2943 | - | - |
526
+ | 0.8838 | 175 | 0.3982 | - | - |
527
+ | 1.0 | 198 | - | 3.4252 | 0.6571 |
528
+ | 1.0101 | 200 | 0.1918 | - | - |
529
+ | 1.1364 | 225 | 0.2697 | - | - |
530
+ | 1.2626 | 250 | 0.1762 | - | - |
531
+ | 1.3889 | 275 | 0.0707 | - | - |
532
+ | 1.5152 | 300 | 0.0129 | - | - |
533
+ | 1.6414 | 325 | 0.1397 | - | - |
534
+ | 1.7677 | 350 | 0.0937 | - | - |
535
+ | 1.8939 | 375 | 0.2818 | - | - |
536
+ | 2.0 | 396 | - | 2.7676 | 0.6589 |
537
+
538
+
539
+ ### Framework Versions
540
+ - Python: 3.10.16
541
+ - Sentence Transformers: 3.3.1
542
+ - Transformers: 4.48.0
543
+ - PyTorch: 2.4.0
544
+ - Accelerate: 1.2.1
545
+ - Datasets: 3.2.0
546
+ - Tokenizers: 0.21.0
547
+
548
+ ## Citation
549
+
550
+ ### BibTeX
551
+
552
+ #### Sentence Transformers
553
+ ```bibtex
554
+ @inproceedings{reimers-2019-sentence-bert,
555
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
556
+ author = "Reimers, Nils and Gurevych, Iryna",
557
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
558
+ month = "11",
559
+ year = "2019",
560
+ publisher = "Association for Computational Linguistics",
561
+ url = "https://arxiv.org/abs/1908.10084",
562
+ }
563
+ ```
564
+
565
+ #### CoSENTLoss
566
+ ```bibtex
567
+ @online{kexuefm-8847,
568
+ title={CoSENT: A more efficient sentence vector scheme than Sentence-BERT},
569
+ author={Su Jianlin},
570
+ year={2022},
571
+ month={Jan},
572
+ url={https://kexue.fm/archives/8847},
573
+ }
574
+ ```
575
+
576
+ <!--
577
+ ## Glossary
578
+
579
+ *Clearly define terms in order to be accessible across audiences.*
580
+ -->
581
+
582
+ <!--
583
+ ## Model Card Authors
584
+
585
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
586
+ -->
587
+
588
+ <!--
589
+ ## Model Card Contact
590
+
591
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
592
+ -->
checkpoint-396/config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/all-MiniLM-L6-v2",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.48.0",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
checkpoint-396/config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.3.1",
4
+ "transformers": "4.48.0",
5
+ "pytorch": "2.4.0"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": "cosine"
10
+ }
checkpoint-396/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bb559faf5bc9e704608f2974c5daabef414aba3ca97c99e6be236f877135f05
3
+ size 90864192
checkpoint-396/modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.models.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.models.Pooling"
13
+ },
14
+ {
15
+ "idx": 2,
16
+ "name": "2",
17
+ "path": "2_Normalize",
18
+ "type": "sentence_transformers.models.Normalize"
19
+ }
20
+ ]
checkpoint-396/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfbaf04243ad716a7580de16d196861ef3d2629a2a760895f050e87fdc1e5474
3
+ size 180604922
checkpoint-396/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e95faeff5c6c52275db8389af899148d38ff6eaac4bfd18671e7d63b0ed86ba3
3
+ size 13990
checkpoint-396/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b770c16f1170d088d156e1841fd546f8cfe542a970f96ee8489b6bc53325db7
3
+ size 1064
checkpoint-396/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
checkpoint-396/special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
checkpoint-396/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-396/tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 128,
51
+ "model_max_length": 256,
52
+ "never_split": null,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "[PAD]",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "[SEP]",
58
+ "stride": 0,
59
+ "strip_accents": null,
60
+ "tokenize_chinese_chars": true,
61
+ "tokenizer_class": "BertTokenizer",
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "[UNK]"
65
+ }
checkpoint-396/trainer_state.json ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 2.767585039138794,
3
+ "best_model_checkpoint": "narrativesAnalogues-allMiniLM/checkpoint-396",
4
+ "epoch": 2.0,
5
+ "eval_steps": 500,
6
+ "global_step": 396,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.12626262626262627,
13
+ "grad_norm": 0.0,
14
+ "learning_rate": 1.25e-05,
15
+ "loss": 1.2194,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.25252525252525254,
20
+ "grad_norm": 104.04041290283203,
21
+ "learning_rate": 2.5e-05,
22
+ "loss": 0.6345,
23
+ "step": 50
24
+ },
25
+ {
26
+ "epoch": 0.3787878787878788,
27
+ "grad_norm": 18.921247482299805,
28
+ "learning_rate": 2.915730337078652e-05,
29
+ "loss": 1.438,
30
+ "step": 75
31
+ },
32
+ {
33
+ "epoch": 0.5050505050505051,
34
+ "grad_norm": 29.835416793823242,
35
+ "learning_rate": 2.7752808988764048e-05,
36
+ "loss": 0.8182,
37
+ "step": 100
38
+ },
39
+ {
40
+ "epoch": 0.6313131313131313,
41
+ "grad_norm": 183.91859436035156,
42
+ "learning_rate": 2.6348314606741574e-05,
43
+ "loss": 0.2745,
44
+ "step": 125
45
+ },
46
+ {
47
+ "epoch": 0.7575757575757576,
48
+ "grad_norm": 11.979473114013672,
49
+ "learning_rate": 2.4943820224719103e-05,
50
+ "loss": 0.2943,
51
+ "step": 150
52
+ },
53
+ {
54
+ "epoch": 0.8838383838383839,
55
+ "grad_norm": 0.0606352724134922,
56
+ "learning_rate": 2.353932584269663e-05,
57
+ "loss": 0.3982,
58
+ "step": 175
59
+ },
60
+ {
61
+ "epoch": 1.0,
62
+ "eval_loss": 3.425248146057129,
63
+ "eval_runtime": 20.2363,
64
+ "eval_samples_per_second": 9.488,
65
+ "eval_steps_per_second": 0.593,
66
+ "eval_validation_pearson_cosine": 0.8060792568084406,
67
+ "eval_validation_spearman_cosine": 0.6571353246584904,
68
+ "step": 198
69
+ },
70
+ {
71
+ "epoch": 1.0101010101010102,
72
+ "grad_norm": 0.5485407114028931,
73
+ "learning_rate": 2.2134831460674157e-05,
74
+ "loss": 0.1918,
75
+ "step": 200
76
+ },
77
+ {
78
+ "epoch": 1.1363636363636362,
79
+ "grad_norm": 0.06130551919341087,
80
+ "learning_rate": 2.0730337078651686e-05,
81
+ "loss": 0.2697,
82
+ "step": 225
83
+ },
84
+ {
85
+ "epoch": 1.2626262626262625,
86
+ "grad_norm": 13.252527236938477,
87
+ "learning_rate": 1.9325842696629215e-05,
88
+ "loss": 0.1762,
89
+ "step": 250
90
+ },
91
+ {
92
+ "epoch": 1.3888888888888888,
93
+ "grad_norm": 1.0573351383209229,
94
+ "learning_rate": 1.792134831460674e-05,
95
+ "loss": 0.0707,
96
+ "step": 275
97
+ },
98
+ {
99
+ "epoch": 1.5151515151515151,
100
+ "grad_norm": 0.13493157923221588,
101
+ "learning_rate": 1.651685393258427e-05,
102
+ "loss": 0.0129,
103
+ "step": 300
104
+ },
105
+ {
106
+ "epoch": 1.6414141414141414,
107
+ "grad_norm": 0.03943366929888725,
108
+ "learning_rate": 1.51123595505618e-05,
109
+ "loss": 0.1397,
110
+ "step": 325
111
+ },
112
+ {
113
+ "epoch": 1.7676767676767677,
114
+ "grad_norm": 0.6590216159820557,
115
+ "learning_rate": 1.3707865168539327e-05,
116
+ "loss": 0.0937,
117
+ "step": 350
118
+ },
119
+ {
120
+ "epoch": 1.893939393939394,
121
+ "grad_norm": 111.35533905029297,
122
+ "learning_rate": 1.2303370786516854e-05,
123
+ "loss": 0.2818,
124
+ "step": 375
125
+ },
126
+ {
127
+ "epoch": 2.0,
128
+ "eval_loss": 2.767585039138794,
129
+ "eval_runtime": 23.6772,
130
+ "eval_samples_per_second": 8.109,
131
+ "eval_steps_per_second": 0.507,
132
+ "eval_validation_pearson_cosine": 0.8085373520361815,
133
+ "eval_validation_spearman_cosine": 0.6588712021140699,
134
+ "step": 396
135
+ }
136
+ ],
137
+ "logging_steps": 25,
138
+ "max_steps": 594,
139
+ "num_input_tokens_seen": 0,
140
+ "num_train_epochs": 3,
141
+ "save_steps": 500,
142
+ "stateful_callbacks": {
143
+ "EarlyStoppingCallback": {
144
+ "args": {
145
+ "early_stopping_patience": 5,
146
+ "early_stopping_threshold": 0.01
147
+ },
148
+ "attributes": {
149
+ "early_stopping_patience_counter": 0
150
+ }
151
+ },
152
+ "TrainerControl": {
153
+ "args": {
154
+ "should_epoch_stop": false,
155
+ "should_evaluate": false,
156
+ "should_log": false,
157
+ "should_save": true,
158
+ "should_training_stop": false
159
+ },
160
+ "attributes": {}
161
+ }
162
+ },
163
+ "total_flos": 0.0,
164
+ "train_batch_size": 8,
165
+ "trial_name": null,
166
+ "trial_params": null
167
+ }
checkpoint-396/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46dac610a17ebeeb163700206483c340d0e06d79c7075b82813c629d2177900f
3
+ size 5624
checkpoint-396/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/all-MiniLM-L6-v2",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.48.0",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.3.1",
4
+ "transformers": "4.48.0",
5
+ "pytorch": "2.4.0"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": "cosine"
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bb559faf5bc9e704608f2974c5daabef414aba3ca97c99e6be236f877135f05
3
+ size 90864192
modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.models.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.models.Pooling"
13
+ },
14
+ {
15
+ "idx": 2,
16
+ "name": "2",
17
+ "path": "2_Normalize",
18
+ "type": "sentence_transformers.models.Normalize"
19
+ }
20
+ ]
runs/Mar03_23-37-48_r-iafa-ut-autotrain-advanced-uxcrpy61-76277-kzlmp/events.out.tfevents.1772581070.r-iafa-ut-autotrain-advanced-uxcrpy61-76277-kzlmp.75.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:812906855dee8286c3c238889626d0a6d43fc73a5d389541f7518522d20da0ea
3
- size 8417
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c38ee0f270ac80c78868eff12fccf2192abded68bd59b9563aff789db4a963a
3
+ size 10869
runs/Mar03_23-37-48_r-iafa-ut-autotrain-advanced-uxcrpy61-76277-kzlmp/events.out.tfevents.1772582095.r-iafa-ut-autotrain-advanced-uxcrpy61-76277-kzlmp.75.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:669510c8e6a91f32bbf6545b514a6cab27a4239dc3eb921b80e04f0c679cd729
3
+ size 498
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 128,
51
+ "model_max_length": 256,
52
+ "never_split": null,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "[PAD]",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "[SEP]",
58
+ "stride": 0,
59
+ "strip_accents": null,
60
+ "tokenize_chinese_chars": true,
61
+ "tokenizer_class": "BertTokenizer",
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "[UNK]"
65
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46dac610a17ebeeb163700206483c340d0e06d79c7075b82813c629d2177900f
3
+ size 5624
training_params.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "narrativesAnalogues-allMiniLM/autotrain-data",
3
+ "model": "sentence-transformers/all-MiniLM-L6-v2",
4
+ "lr": 3e-05,
5
+ "epochs": 3,
6
+ "max_seq_length": 256,
7
+ "batch_size": 8,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 1,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
13
+ "max_grad_norm": 1.0,
14
+ "seed": 42,
15
+ "train_split": "train",
16
+ "valid_split": "validation",
17
+ "logging_steps": -1,
18
+ "project_name": "narrativesAnalogues-allMiniLM",
19
+ "auto_find_batch_size": false,
20
+ "mixed_precision": "fp16",
21
+ "save_total_limit": 1,
22
+ "push_to_hub": true,
23
+ "eval_strategy": "epoch",
24
+ "username": "sidbrahim",
25
+ "log": "tensorboard",
26
+ "early_stopping_patience": 5,
27
+ "early_stopping_threshold": 0.01,
28
+ "trainer": "pair_score",
29
+ "sentence1_column": "autotrain_sentence1",
30
+ "sentence2_column": "autotrain_sentence2",
31
+ "sentence3_column": "autotrain_sentence3",
32
+ "target_column": "autotrain_target"
33
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff