sidbrahim commited on
Commit
71bc816
·
verified ·
1 Parent(s): 6ea6a62

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: 0.015061055310070515
25
+
26
+ validation_pearson_cosine: 0.9472155706694764
27
+
28
+ validation_spearman_cosine: 0.7500197100461503
29
+
30
+ runtime: 16.5278
31
+
32
+ samples_per_second: 11.617
33
+
34
+ steps_per_second: 0.726
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-199/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-199/README.md ADDED
@@ -0,0 +1,595 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:1592
8
+ - loss:CoSENTLoss
9
+ base_model: sentence-transformers/all-MiniLM-L6-v2
10
+ widget:
11
+ - source_sentence: '1962: Born on July 3 in Syracuse, New York | 1980: In the early
12
+ 1980s, Tom Cruise has a romance with Melissa Gilbert, then Heather Locklear. |
13
+ 1980: Education: Graduated from Shattuck–St. Mary''s School in 1980. | 1981: Obtains
14
+ his first leading role in Taps | 1983: Appears in American Teenagers, Risky Business,
15
+ and The Outsiders | 1983: Meets Rebecca De Mornay on the set of Risky Business.
16
+ | 1986: Consolidation with Top Gun | 1986: Converted to Scientology by Mimi Rogers
17
+ | 1986: Becomes famous with Top Gun | 1986: First major role in The Color of Money
18
+ | 1986: Inaugurates his star on the Walk of Fame | 1986: Member of the Church
19
+ of Scientology International since 1986 | 1986: Wears Aviator Ray-Ban glasses
20
+ | 1986: First role in The Color of Money'
21
+ sentences:
22
+ - '2001: Graduated from York University in 2001 with a BFA in theatre. | 2004: Starred
23
+ in the comedy film Mean Girls as Regina George. | 2004: Starred in The Notebook
24
+ with Ryan Gosling | 2005: Starred in Red Eye with Cillian Murphy | 2005: Starred
25
+ in the romantic comedy Wedding Crashers, the psychological thriller Red Eye, and
26
+ the comedy-drama The Family Sto | 2005: Starred in Wedding Crashers with Owen
27
+ Wilson, Vince Vaughn, and Bradley Cooper | 2005: volunteered in Biloxi, Mississippi,
28
+ and Louisiana for clean-up following Hurricane Katrina | 2005: Won MTV Movie Award
29
+ and four Teen Choice Awards | 2006: One-off stage appearance in The Vagina Monologues
30
+ at St. Lawrence Centre for the Arts, Toronto | 2006: Received a Rising Star Award
31
+ nomination from the British Academy of Film and Television Arts | 2006: Turned
32
+ down roles in The Devil Wears Prada, Casino Royale, Mission: Impossible III, Iron
33
+ Man, and Get Smart (2006-2008) | 2007: sat on a TreeHugger/Live Earth judging
34
+ panel | 2008: Starred in Married Life with Pierce Brosnan and Chris Cooper | 2009:
35
+ Starred in Sherlock Holmes with Robert Downey, Jr. and Jude Law'
36
+ - '1962: Born on July 3 in Syracuse, New York | 1980: Education: Graduated from
37
+ Shattuck–St. Mary''s School in 1980. | 1986: Converted to Scientology by Mimi
38
+ Rogers | 1986: First major role in The Color of Money | 1987: Married Mimi Rogers
39
+ on May 9, 1987 | 1988: Starred in Rain Man | 1989: Portrayed Ron Kovic in ''Born
40
+ on the Fourth of July'' | 1990: Married Nicole Kidman on December 24, 1990 | 1990:
41
+ Met Nicole Kidman on set of Days of Thunder | 1990: Starred in ''Days of Thunder''
42
+ | 1992: Publicly announced following Scientology | 1994: Starred in ''Interview
43
+ with the Vampire'' | 1996: Starred as Ethan Hunt in ''Mission: Impossible'' |
44
+ 1999: Marty Rathbun was sent to convince him to return to the Church'
45
+ - '1988: Born in Paris | 2016: First breakthrough in Heaven Will Wait | 2019: Starred
46
+ in Portrait of a Lady on Fire | 2019: Won Lumière Award for Best Actress | 2021:
47
+ Made feature directorial debut with Mi Iubita Mon Amour | 2022: Portrayed Francesca
48
+ Lentini in Tár | 2023: Announced to play Emmanuelle in reboot | 2023: Invited
49
+ to become a member of the Academy of Motion Picture Arts and Sciences | NA: Parents
50
+ are real estate agents | NA: Raised in Rezé near Nantes'
51
+ - source_sentence: '1988: Born in Paris | 2006: returns to Paris | 2008: begins her
52
+ career | 2009: plays Éléonore in L''Orpheline with an additional arm | 2013: selected
53
+ to play in a short film | 2016: First breakthrough in Heaven Will Wait | 2019:
54
+ career breakthrough with ''Portrait de la jeune fille en feu'' | 2019: wins the
55
+ Lumière Award for Best Actress | 2019: film receives the screenplay prize at the
56
+ Cannes Film Festival | 2019: plays Marianne in ''Portrait de la jeune fille en
57
+ feu'' | 2019: Starred in Portrait of a Lady on Fire | 2019: wins the Lumière Award
58
+ for Best Actress | 2020: plays the role of an autistic young woman in ''Jumbo''
59
+ | 2020: presents her second short film, Shakira'
60
+ sentences:
61
+ - '1981: Born on 9 February in Westminster, London | 1981: Born on February 9 in
62
+ London | 1999: Debut in Journey''s End | 2005: Graduated from Royal Academy of
63
+ Dramatic Art | 2006: First film role in Unrelated | 2007: Started boarding at
64
+ Windlesham House School | 2007: Won Laurence Olivier Award for Best Newcomer in
65
+ a Play | 2008: Began career with Inspector Wallander | 2010: International celebrity
66
+ | 2011: First career milestone: Midnight in Paris, War Horse | 2011: Nominated
67
+ for BAFTA Rising Star Award | 2011: Portrayed Loki in Thor | 2011: Major role
68
+ in Thor | 2011: Voiceover: The Ancient Egyptian Book of the Dead'
69
+ - '1967: Born in Shirebrook, Derbyshire, England on 26 July | 1978: Attended local
70
+ grammar school | 1990: Competed for England in the 1990 Commonwealth Games | 1998:
71
+ Casted in Lock, Stock and Two Smoking Barrels | 2000: Casted in Snatch | 2010:
72
+ Casted in The Expendables | 2011: First career milestone - The Mechanic | 2012:
73
+ Awards - Box office success | 2013: Advocated for stunt performers at Academy
74
+ Awards (2013) | 2013: Cameo - Fast & Furious 6 | 2013: Casted in Fast & Furious
75
+ franchise | 2014: Inducted into International Sports Hall of Fame (2014) | 2016:
76
+ Engaged to Rosie Huntington-Whiteley (2016) | 2017: Son born (2017)'
77
+ - '1981: Born on 9 February in Westminster, London | 1999: Debut in Journey''s End
78
+ | 2005: Graduated from Royal Academy of Dramatic Art | 2006: First film role in
79
+ Unrelated | 2007: Started boarding at Windlesham House School | 2007: Won Laurence
80
+ Olivier Award for Best Newcomer in a Play | 2011: First career milestone: Midnight
81
+ in Paris, War Horse | 2011: Nominated for BAFTA Rising Star Award | 2011: Portrayed
82
+ Loki in Thor | 2011: Voiceover: The Ancient Egyptian Book of the Dead | 2012:
83
+ Television: The Hollow Crown | 2013: Film: Thor: The Dark World | 2013: Traveled
84
+ to Guinea to raise awareness about hunger and malnutrition | 2014: Film: Muppets
85
+ Most Wanted'
86
+ - source_sentence: '1979: Born in Guatemala City | 2005: Graduated from Juilliard
87
+ | 2005: Played Proteus in Two Gentlemen of Verona | 2006: First major role in
88
+ The Nativity Story | 2006: had a small role in The Pacifier | 2007: Engaged to
89
+ Maria Miranda in 2007 | 2007: Played Romeo in Romeo and Juliet | 2008: had his
90
+ first turn under the direction of a Hollywood big director | 2009: won the AACTA
91
+ Award for Best Actor in a Supporting Role for Balibo | 2010: Played King John
92
+ in Robin Hood | 2011: Played a security guard in Madonna''s W.E. | 2012: Nominated
93
+ for ALMA Award for Favorite Movie Actor – Supporting Role for For Greater Glory
94
+ | 2013: confirmed with Llewyn Davis in Inside Llewyn Davis | 2013: Nominated for
95
+ Golden Globe Award for Best Actor – Motion Picture Musical or Comedy for Inside
96
+ Llewyn Davis'
97
+ sentences:
98
+ - '1980: Born in London, Ontario, Canada | 1993: Joined The All New Mickey Mouse
99
+ Club | 1995: Returned to Canada | 1996: Appeared in Goosebumps | 1998: Filmed
100
+ Young Hercules in New Zealand | 2000: Debuts in cinema in ''The Most Beautiful
101
+ Thing'' | 2000: Film breakthrough in Remember the Titans | 2000: Published solo
102
+ album ''Angel With Tatooed Wings'' | 2001: Lead role in The Believer | 2002: Co-star
103
+ in Murder by Numbers | 2002: Co-star in The Slaughter Rule | 2003: Starred in
104
+ The United States of Leland | 2004: Achieved mainstream popularity for The Notebook
105
+ | 2004: Signed with Terrence Malick for Che (2004)'
106
+ - '1962: Born on July 3 in Syracuse, New York | 1980: In the early 1980s, Tom Cruise
107
+ has a romance with Melissa Gilbert, then Heather Locklear. | 1980: Education:
108
+ Graduated from Shattuck–St. Mary''s School in 1980. | 1981: Obtains his first
109
+ leading role in Taps | 1983: Appears in American Teenagers, Risky Business, and
110
+ The Outsiders | 1983: Meets Rebecca De Mornay on the set of Risky Business. |
111
+ 1986: Consolidation with Top Gun | 1986: Converted to Scientology by Mimi Rogers
112
+ | 1986: Becomes famous with Top Gun | 1986: First major role in The Color of Money
113
+ | 1986: Inaugurates his star on the Walk of Fame | 1986: Member of the Church
114
+ of Scientology International since 1986 | 1986: Wears Aviator Ray-Ban glasses
115
+ | 1986: First role in The Color of Money'
116
+ - '1979: Born in Guatemala City | 2005: Graduated from Juilliard | 2005: Played
117
+ Proteus in Two Gentlemen of Verona | 2006: First major role in The Nativity Story
118
+ | 2007: Engaged to Maria Miranda in 2007 | 2007: Played Romeo in Romeo and Juliet
119
+ | 2009: Won AACTA Award for Best Actor in a Supporting Role | 2009: Won AACTA
120
+ Award for Best Actor in a Supporting Role for Balibo | 2010: Played King John
121
+ in Robin Hood | 2011: Played a security guard in Madonna''s W.E. | 2012: Nominated
122
+ for ALMA Award for Favorite Movie Actor – Supporting Role for For Greater Glory
123
+ | 2013: Nominated for Golden Globe Award for Best Actor – Motion Picture Musical
124
+ or Comedy for Inside Llewyn Davis | 2014: Starred in A Most Violent Year | 2014:
125
+ Starred in The Two Faces of January'
126
+ - source_sentence: '1986: Personal relationship with Zhang Yimou started in 1986 |
127
+ 1987: Debut in Zhang Yimou''s Red Sorghum | 1989: Enrolled at Central Academy
128
+ of Drama in Beijing | 1989: Graduated from Central Academy of Drama | 1990: Won
129
+ Best Actress at Varna International Film Festival for Ju Dou | 1991: Won Hundred
130
+ Flowers Awards for Best Actress for Raise the Red Lantern | 1992: Won Golden Lion
131
+ at Venice Film Festival for The Story of Qiu Ju | 1993: Won New York Film Critics
132
+ Circle award for Farewell My Concubine | 1994: Won Grand Prix at Cannes Film Festival
133
+ for To Live | 1995: Shanghai Triad, 7th collaboration with Zhang Yimou | 1996:
134
+ 1996: Collaborated with Chen Kaige on Temptress Moon | 1996: 1996: Nominated for
135
+ Best Actress at Hong Kong Film Awards | 1996: Married Ooi Hoe Seong in November
136
+ 1996 | 1997: 1997: Invited to be a jury at 1997 Cannes Film Festival'
137
+ sentences:
138
+ - '1985: admitted to the Central Academy of Drama in Beijing | 1986: Personal relationship
139
+ with Zhang Yimou started in 1986 | 1987: Debut in Zhang Yimou''s Red Sorghum |
140
+ 1988: first role in 1988, Red Sorghum | 1989: Enrolled at Central Academy of Drama
141
+ in Beijing | 1989: Graduated from Central Academy of Drama | 1990: participates
142
+ in Ju Dou | 1990: Won Best Actress at Varna International Film Festival for Ju
143
+ Dou | 1991: Won Hundred Flowers Awards for Best Actress for Raise the Red Lantern
144
+ | 1992: wins the Volpi Cup for Best Actress at the 49th Venice Film Festival |
145
+ 1992: Won Golden Lion at Venice Film Festival for The Story of Qiu Ju | 1993:
146
+ Won New York Film Critics Circle award for Farewell My Concubine | 1994: Won Grand
147
+ Prix at Cannes Film Festival for To Live | 1995: separation from Zhang Yimou'
148
+ - '1964: Born on July 26, 1964, in Arlington County, Virginia | 1982: attends at
149
+ Washington-Liberty High School | 1982: Graduated from Washington-Lee High School
150
+ | 1987: Moved to Manhattan, New York | 1987: obtains a BFA in dramatic art from
151
+ East Carolina University in Greenville | 1989: Cameos in Bionic Showdown: The
152
+ Six Million Dollar Man and the Bionic Woman | 1993: gets the role of Lieutenant
153
+ Lenina Huxley in Demolition Man | 1994: plays a bus driver in Speed | 1994: Lead
154
+ role in Speed | 1995: Headlined While You Were Sleeping | 1995: leads in Love
155
+ at First Sight | 1995: Won Best Actress at the 21st Saturn Awards | 1996: Starred
156
+ in A Time to Kill | 1996: is in the cast of The Right to Kill?'
157
+ - '1986: Personal relationship with Zhang Yimou started in 1986 | 1987: Debut in
158
+ Zhang Yimou''s Red Sorghum | 1989: Enrolled at Central Academy of Drama in Beijing
159
+ | 1989: Graduated from Central Academy of Drama | 1990: Won Best Actress at Varna
160
+ International Film Festival for Ju Dou | 1991: Won Hundred Flowers Awards for
161
+ Best Actress for Raise the Red Lantern | 1992: Won Golden Lion at Venice Film
162
+ Festival for The Story of Qiu Ju | 1993: Won New York Film Critics Circle award
163
+ for Farewell My Concubine | 1994: Won Grand Prix at Cannes Film Festival for To
164
+ Live | 1995: Shanghai Triad, 7th collaboration with Zhang Yimou | 1996: 1996:
165
+ Collaborated with Chen Kaige on Temptress Moon | 1996: 1996: Nominated for Best
166
+ Actress at Hong Kong Film Awards | 1996: Married Ooi Hoe Seong in November 1996
167
+ | 1997: 1997: Invited to be a jury at 1997 Cannes Film Festival'
168
+ - source_sentence: '1981: Born on 9 February in Westminster, London | 1999: Debut
169
+ in Journey''s End | 2005: Graduated from Royal Academy of Dramatic Art | 2006:
170
+ First film role in Unrelated | 2007: Started boarding at Windlesham House School
171
+ | 2007: Won Laurence Olivier Award for Best Newcomer in a Play | 2011: First career
172
+ milestone: Midnight in Paris, War Horse | 2011: Nominated for BAFTA Rising Star
173
+ Award | 2011: Portrayed Loki in Thor | 2011: Voiceover: The Ancient Egyptian Book
174
+ of the Dead | 2012: Television: The Hollow Crown | 2013: Film: Thor: The Dark
175
+ World | 2013: Traveled to Guinea to raise awareness about hunger and malnutrition
176
+ | 2014: Film: Muppets Most Wanted'
177
+ sentences:
178
+ - '1959: Born in Los Angeles, California | 1961: Born in Indianapolis, Indiana |
179
+ 1968: Parents divorced in 1968 | 1977: Younger brother Wesley died at 16 | 1983:
180
+ Appeared in The Slab Boys | 1985: Played lead in Real Genius | 1988: Married Joanne
181
+ Whalley | 1990: Debut as Jim Morrison in ''The Doors'' | 1993: Played Doc Holliday
182
+ in ''Tombstone'' | 1995: Starred in ''Wings of Courage'' and ''Heat'' | 1996:
183
+ Decided not to return for another ''Batman'' film | 1996: Divorced Joanne Whalley
184
+ | 1998: Traveled to Iraq with AmeriCares to deliver humanitarian aid | 1998: Voiced
185
+ Moses and God in ''The Prince of Egypt'''
186
+ - '1970: Born on 7 March in Westminster, London | 1983: education at North London
187
+ Collegiate School | 1986: education at Benenden School | 1988: Graduated from
188
+ Trinity Hall, Cambridge with upper second-class honours | 1990: studies at Trinity
189
+ Hall, University of Cambridge | 1994: Stage debut in ''Design for Living'' | 1999:
190
+ lands the role of Evelyn Carnahan in The Mummy | 1999: International breakthrough
191
+ in ''The Mummy'' | 1999: lives with Sam Mendes | 2001: Began dating Darren Aronofsky
192
+ | 2004: Appeared in the comedy Envy | 2005: Starred in The Constant Gardener |
193
+ 2005: Won Laurence Olivier Award for Best Actress for ''A Streetcar Named Desire''
194
+ | 2006: Received BAFTA Britannia Award for British Artist of the Year'
195
+ - '1989: Born on 23 July in Queen Charlotte''s and Chelsea Hospital, London | 2000:
196
+ Auditioned for the role of Harry Potter in the film adaptation of Harry Potter
197
+ and the Philosopher''s Stone | 2001: Debut in the film ''The Tailor of Panama''
198
+ | 2001: Received a seven-figure salary for the lead role in ''Harry Potter and
199
+ the Philosopher''s Stone'' | 2002: Starred in ''Harry Potter and the Chamber of
200
+ Secrets'' | 2004: Starred in ''Harry Potter and the Prisoner of Azkaban'' | 2005:
201
+ Starred in ''Harry Potter and the Goblet of Fire'' | 2007: Signed on for the final
202
+ Harry Potter films | 2008: Auctioned jeans for Broadway Cares/Equity Fights AIDS
203
+ | 2008: revealed having dyspraxia in 2008 | 2011: Received The Trevor Project''s
204
+ Hero Award | 2012: Starred in The Woman in Black | 2013: accidentally drank antifreeze
205
+ in 2013 | 2015: Starred in Victor Frankenstein'
206
+ pipeline_tag: sentence-similarity
207
+ library_name: sentence-transformers
208
+ metrics:
209
+ - pearson_cosine
210
+ - spearman_cosine
211
+ model-index:
212
+ - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
213
+ results:
214
+ - task:
215
+ type: semantic-similarity
216
+ name: Semantic Similarity
217
+ dataset:
218
+ name: validation
219
+ type: validation
220
+ metrics:
221
+ - type: pearson_cosine
222
+ value: 0.9472155706694764
223
+ name: Pearson Cosine
224
+ - type: spearman_cosine
225
+ value: 0.7500197100461503
226
+ name: Spearman Cosine
227
+ ---
228
+
229
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
230
+
231
+ 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.
232
+
233
+ ## Model Details
234
+
235
+ ### Model Description
236
+ - **Model Type:** Sentence Transformer
237
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
238
+ - **Maximum Sequence Length:** 256 tokens
239
+ - **Output Dimensionality:** 384 dimensions
240
+ - **Similarity Function:** Cosine Similarity
241
+ <!-- - **Training Dataset:** Unknown -->
242
+ <!-- - **Language:** Unknown -->
243
+ <!-- - **License:** Unknown -->
244
+
245
+ ### Model Sources
246
+
247
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
248
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
249
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
250
+
251
+ ### Full Model Architecture
252
+
253
+ ```
254
+ SentenceTransformer(
255
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
256
+ (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})
257
+ (2): Normalize()
258
+ )
259
+ ```
260
+
261
+ ## Usage
262
+
263
+ ### Direct Usage (Sentence Transformers)
264
+
265
+ First install the Sentence Transformers library:
266
+
267
+ ```bash
268
+ pip install -U sentence-transformers
269
+ ```
270
+
271
+ Then you can load this model and run inference.
272
+ ```python
273
+ from sentence_transformers import SentenceTransformer
274
+
275
+ # Download from the 🤗 Hub
276
+ model = SentenceTransformer("sentence_transformers_model_id")
277
+ # Run inference
278
+ sentences = [
279
+ "1981: Born on 9 February in Westminster, London | 1999: Debut in Journey's End | 2005: Graduated from Royal Academy of Dramatic Art | 2006: First film role in Unrelated | 2007: Started boarding at Windlesham House School | 2007: Won Laurence Olivier Award for Best Newcomer in a Play | 2011: First career milestone: Midnight in Paris, War Horse | 2011: Nominated for BAFTA Rising Star Award | 2011: Portrayed Loki in Thor | 2011: Voiceover: The Ancient Egyptian Book of the Dead | 2012: Television: The Hollow Crown | 2013: Film: Thor: The Dark World | 2013: Traveled to Guinea to raise awareness about hunger and malnutrition | 2014: Film: Muppets Most Wanted",
280
+ "1970: Born on 7 March in Westminster, London | 1983: education at North London Collegiate School | 1986: education at Benenden School | 1988: Graduated from Trinity Hall, Cambridge with upper second-class honours | 1990: studies at Trinity Hall, University of Cambridge | 1994: Stage debut in 'Design for Living' | 1999: lands the role of Evelyn Carnahan in The Mummy | 1999: International breakthrough in 'The Mummy' | 1999: lives with Sam Mendes | 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",
281
+ "1959: Born in Los Angeles, California | 1961: Born in Indianapolis, Indiana | 1968: Parents divorced in 1968 | 1977: Younger brother Wesley died at 16 | 1983: Appeared in The Slab Boys | 1985: Played lead in Real Genius | 1988: Married Joanne Whalley | 1990: Debut as Jim Morrison in 'The Doors' | 1993: Played Doc Holliday in 'Tombstone' | 1995: Starred in 'Wings of Courage' and 'Heat' | 1996: Decided not to return for another 'Batman' film | 1996: Divorced Joanne Whalley | 1998: Traveled to Iraq with AmeriCares to deliver humanitarian aid | 1998: Voiced Moses and God in 'The Prince of Egypt'",
282
+ ]
283
+ embeddings = model.encode(sentences)
284
+ print(embeddings.shape)
285
+ # [3, 384]
286
+
287
+ # Get the similarity scores for the embeddings
288
+ similarities = model.similarity(embeddings, embeddings)
289
+ print(similarities.shape)
290
+ # [3, 3]
291
+ ```
292
+
293
+ <!--
294
+ ### Direct Usage (Transformers)
295
+
296
+ <details><summary>Click to see the direct usage in Transformers</summary>
297
+
298
+ </details>
299
+ -->
300
+
301
+ <!--
302
+ ### Downstream Usage (Sentence Transformers)
303
+
304
+ You can finetune this model on your own dataset.
305
+
306
+ <details><summary>Click to expand</summary>
307
+
308
+ </details>
309
+ -->
310
+
311
+ <!--
312
+ ### Out-of-Scope Use
313
+
314
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
315
+ -->
316
+
317
+ ## Evaluation
318
+
319
+ ### Metrics
320
+
321
+ #### Semantic Similarity
322
+
323
+ * Dataset: `validation`
324
+ * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
325
+
326
+ | Metric | Value |
327
+ |:--------------------|:---------|
328
+ | pearson_cosine | 0.9472 |
329
+ | **spearman_cosine** | **0.75** |
330
+
331
+ <!--
332
+ ## Bias, Risks and Limitations
333
+
334
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
335
+ -->
336
+
337
+ <!--
338
+ ### Recommendations
339
+
340
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
341
+ -->
342
+
343
+ ## Training Details
344
+
345
+ ### Training Dataset
346
+
347
+ #### Unnamed Dataset
348
+
349
+
350
+ * Size: 1,592 training samples
351
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
352
+ * Approximate statistics based on the first 1000 samples:
353
+ | | sentence1 | sentence2 | score |
354
+ |:--------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:------------------------------------------------|
355
+ | type | string | string | int |
356
+ | details | <ul><li>min: 59 tokens</li><li>mean: 159.23 tokens</li><li>max: 248 tokens</li></ul> | <ul><li>min: 59 tokens</li><li>mean: 160.39 tokens</li><li>max: 248 tokens</li></ul> | <ul><li>0: ~76.30%</li><li>1: ~23.70%</li></ul> |
357
+ * Samples:
358
+ | sentence1 | sentence2 | score |
359
+ |:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------|
360
+ | <code>1940: Born on April 25, 1940, in Spanish Harlem, New York, United States | 1962: Mother died at the age of 43. | 1962: Loses his mother at 22 years old | 1963: Maternal grandfather died. | 1966: Joins the Actors Studio | 1966: Successfully auditioned for the Actors Studio. | 1967: Artistic career begins on stage | 1967: Plays in Awake and Sing! by Clifford Odets | 1968: Wins an Obie Award for The Indian Wants the Bronx | 1969: Makes his film debut in Me, Natalie | 1969: First Broadway performance | 1971: Does not marry Marcheline Bertrand in 1971 | 1971: Obtains the lead role in Panic at Needle Park | 1972: Portrays Michael Corleone in The Godfather</code> | <code>1954: Secured first role in a play titled Spell for a Rhyme | 1986: Born on 13 May in Barnes, London, England | 2004: First film role in Mira Nair's Vanity Fair | 2005: Cedric Diggory in Harry Potter and the Goblet of Fire | 2008: Attended drama school | 2008: Portrayed Salvador Dalí in Little Ashes | 2009: Documentary Robsessed released | 2009: Presented at 81st Academy Awards | 2009: Reprised role as Edward Cullen in New Moon | 2010: declined £1 million deal to become the face of Burberry | 2010: Participates in Hope for Haiti Now: A Global Benefit for Earthquake Relief charity telethon | 2010: Starred in Remember Me | 2010: Won BBC Radio 1 Teen Awards for Best Dressed and Best Actor | 2011: Raises $80,000 for GO Campaign by auctioning private screening of The Twilight Saga: Breaking Dawn – Part 1</code> | <code>0</code> |
361
+ | <code>1960: Born in Berchem-Sainte-Agathe, Brussels, Belgium | 1960: Born on October 18 in Berchem-Sainte-Agathe | 1977: Karate lightweight champion | 1978: Bodybuilder, won Mr. Belgium bodybuilding Championships (1978) | 1979: Won middleweight championship of the European Professional Karate Association | 1980: Karate tournament champion (Silver) | 1982: Emigrates to the United States | 1982: Moved to the United States | 1982: Moved to the US with childhood friend Michel Qissi to work as actors | 1984: Danced in the background in the film 'Breakin' | 1984: Worked as a bouncer at Woody's Wharf owned by Chuck Norris | 1986: Cameos in 'No Retreat, No Surrender' | 1986: Marries Gladys Portugues, two children born (Kristopher, Bianca) | 1987: Worked as an early version of the Predator in 'Predator'</code> | <code>1951: Born in London, England | 1959: Born on 11 June in Blackbird Leys, Oxford, England | 1980: Achieved a Blue while taking part in the 1980 Oxford and Cambridge Boat Race | 1980: Final year at university, president of the Footlights | 1981: Graduated with third-class honours in 1981 | 1982: Won the first Perrier Comedy Award | 1985: Starred in Letters from a Bomber Pilot | 1986: Appeared in three series of the period comedy Blackadder | 1989: Married Jo Green | 1989: Mother died from motor neurone disease | 2004: Starred as Dr. Gregory House in House | 2004: Starred as Dr. Gregory House on the Fox medical drama series House | 2005: Nominated for an Emmy Award for House | 2006: Hosted Saturday Night Live (2006)</code> | <code>0</code> |
362
+ | <code>1959: Born in Hammersmith, London | 1959: born on April 15 in London | 1977: Started studying at Newnham College, Cambridge | 1980: Served as Vice President of Footlights | 1982: First professional role in Not the Nine O'Clock News | 1983: Starred in the BBC series Alfresco | 1985: plays in Me and My Girl | 1985: Starred in the West End revival of Me and My Girl | 1985: Wrote and starred in Emma Thompson: Up for Grabs | 1987: Leading roles in Fortunes of War and Tutti Frutti | 1987: Met Kenneth Branagh while filming Fortunes of War | 1987: Won BAFTA TV Award for Best Actress | 1989: appears in The Tall Guy | 1989: Cinema debut in The Tall Guy</code> | <code>1959: Born in South Orange, New Jersey | 1976: Worked on Jimmy Carter's 1976 presidential campaign | 1977: Graduated co-valedictorian from Chatsworth High School | 1979: Studied drama at Juilliard School | 1981: First professional stage appearance in Henry VI, Part 1 | 1986: First film appearance in Heartburn | 1991: Won Tony Award for Lost in Yonkers | 1992: Casted as malevolent office manager in Glengarry Glen Ross | 1994: Played Connecticut couple in The Ref | 1994: Played news reporter Harry Kingsley in Iron Will | 1995: Appeared in Seven | 1995: Played enigmatic criminal Verbal Kint in The Usual Suspects | 1995: Played malicious Hollywood studio boss in Swimming with Sharks | 1995: Won Academy Award for Best Supporting Actor</code> | <code>0</code> |
363
+ * Loss: [<code>CoSENTLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
364
+ ```json
365
+ {
366
+ "scale": 20.0,
367
+ "similarity_fct": "pairwise_cos_sim"
368
+ }
369
+ ```
370
+
371
+ ### Evaluation Dataset
372
+
373
+ #### Unnamed Dataset
374
+
375
+
376
+ * Size: 192 evaluation samples
377
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>score</code>
378
+ * Approximate statistics based on the first 192 samples:
379
+ | | sentence1 | sentence2 | score |
380
+ |:--------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:------------------------------------------------|
381
+ | type | string | string | int |
382
+ | details | <ul><li>min: 109 tokens</li><li>mean: 158.88 tokens</li><li>max: 251 tokens</li></ul> | <ul><li>min: 109 tokens</li><li>mean: 161.86 tokens</li><li>max: 251 tokens</li></ul> | <ul><li>0: ~75.00%</li><li>1: ~25.00%</li></ul> |
383
+ * Samples:
384
+ | sentence1 | sentence2 | score |
385
+ |:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------|
386
+ | <code>2001: Graduated from York University in 2001 with a BFA in theatre. | 2004: Starred in the comedy film Mean Girls as Regina George. | 2004: Starred in The Notebook with Ryan Gosling | 2005: Starred in Red Eye with Cillian Murphy | 2005: Starred in the romantic comedy Wedding Crashers, the psychological thriller Red Eye, and the comedy-drama The Family Sto | 2005: Starred in Wedding Crashers with Owen Wilson, Vince Vaughn, and Bradley Cooper | 2005: volunteered in Biloxi, Mississippi, and Louisiana for clean-up following Hurricane Katrina | 2005: Won MTV Movie Award and four Teen Choice Awards | 2006: One-off stage appearance in The Vagina Monologues at St. Lawrence Centre for the Arts, Toronto | 2006: Received a Rising Star Award nomination from the British Academy of Film and Television Arts | 2006: Turned down roles in The Devil Wears Prada, Casino Royale, Mission: Impossible III, Iron Man, and Get Smart (2006-2008) | 2007: sat on a TreeHugger/Live Earth judging panel | 2008: Starred...</code> | <code>1988: born on November 6 in Scottsdale (Arizona) | 2004: Debut on television in In Search of the New Partridge Family | 2004: made her acting debut in 2004 | 2007: Feature film debut in Superbad | 2009: Moved from Los Angeles to Greenwich Village, New York | 2009: got her first major role in the comedy Easy Girl | 2009: Starred in Paper Man | 2009: Starred in Zombieland | 2009: lived in Los Angeles for 5 years | 2010: dated Kieran Culkin (1 year) | 2010: Hosted Saturday Night Live | 2010: Voice role in Marmaduke | 2011: joined the cast of La La Land | 2011: Starred in Crazy, Stupid, Love and The Help</code> | <code>0</code> |
387
+ | <code>1970: Born on May 25 in Montgomery, Alabama | 1988: Graduated from Jefferson Davis High School | 1996: Made film debut as a nurse in A Time to Kill | 2012: Won Academy Award for Best Supporting Actress for The Help | 2012: Won BAFTA for Best Supporting Actress for The Help | 2013: Won National Board of Review Award for Best Supporting Actress for Fruitvale Station | 2016: Starred in Hidden Figures, won Golden Globe and Screen Actors Guild Award | 2017: Co-starred with Sally Hawkins in The Shape of Water | 2017: Described herself as Southern Baptist in 2017 | 2017: Earned Golden Globe and BAFTA Award nominations for The Shape of Water | 2017: Starred in The Shack and Gifted | 2017: The Shape of Water premiered at 74th Venice International Film Festival | 2018: Starring roles in A Kid Like Jake and Instant Family | 2019: Executive produced and starred in Green Book</code> | <code>1962: Born on 6 August in Ipoh, Perak, Malaysia | 1977: sent to boarding school in London | 1983: wins the title of Miss Malaysia and Miss Moomba | 1983: Won Miss Malaysia World beauty contest | 1984: lands her first role in Police Story 2 | 1985: First lead role in Yes, Madam | 1986: stars in Duty Bound and Magnificent Warriors | 1987: Married Dickson Poon | 1988: Married Dickson Poon from 1988 to 1992 | 1990: divorces Dickson Poon | 1995: decides to expand her range to drama | 1997: Starred in Tomorrow Never Dies | 1998: Dated Alan Heldman from 1998 to 2000 | 2000: Starred in Crouching Tiger, Hidden Dragon</code> | <code>0</code> |
388
+ | <code>1985: admitted to the Central Academy of Drama in Beijing | 1986: Personal relationship with Zhang Yimou started in 1986 | 1987: Debut in Zhang Yimou's Red Sorghum | 1988: first role in 1988, Red Sorghum | 1989: Enrolled at Central Academy of Drama in Beijing | 1989: Graduated from Central Academy of Drama | 1990: participates in Ju Dou | 1990: Won Best Actress at Varna International Film Festival for Ju Dou | 1991: Won Hundred Flowers Awards for Best Actress for Raise the Red Lantern | 1992: wins the Volpi Cup for Best Actress at the 49th Venice Film Festival | 1992: Won Golden Lion at Venice Film Festival for The Story of Qiu Ju | 1993: Won New York Film Critics Circle award for Farewell My Concubine | 1994: Won Grand Prix at Cannes Film Festival for To Live | 1995: separation from Zhang Yimou</code> | <code>1989: Born on 23 July in Queen Charlotte's and Chelsea Hospital, London | 2000: Auditioned for the role of Harry Potter in the film adaptation of Harry Potter and the Philosopher's Stone | 2001: Debut in the film 'The Tailor of Panama' | 2001: Received a seven-figure salary for the lead role in 'Harry Potter and the Philosopher's Stone' | 2002: Starred in 'Harry Potter and the Chamber of Secrets' | 2004: Starred in 'Harry Potter and the Prisoner of Azkaban' | 2005: Starred in 'Harry Potter and the Goblet of Fire' | 2007: Signed on for the final Harry Potter films | 2008: Auctioned jeans for Broadway Cares/Equity Fights AIDS | 2008: revealed having dyspraxia in 2008 | 2011: Received The Trevor Project's Hero Award | 2012: Starred in The Woman in Black | 2013: accidentally drank antifreeze in 2013 | 2015: Starred in Victor Frankenstein</code> | <code>0</code> |
389
+ * Loss: [<code>CoSENTLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
390
+ ```json
391
+ {
392
+ "scale": 20.0,
393
+ "similarity_fct": "pairwise_cos_sim"
394
+ }
395
+ ```
396
+
397
+ ### Training Hyperparameters
398
+ #### Non-Default Hyperparameters
399
+
400
+ - `eval_strategy`: epoch
401
+ - `per_device_eval_batch_size`: 16
402
+ - `learning_rate`: 3e-05
403
+ - `warmup_ratio`: 0.1
404
+ - `fp16`: True
405
+ - `load_best_model_at_end`: True
406
+ - `ddp_find_unused_parameters`: False
407
+
408
+ #### All Hyperparameters
409
+ <details><summary>Click to expand</summary>
410
+
411
+ - `overwrite_output_dir`: False
412
+ - `do_predict`: False
413
+ - `eval_strategy`: epoch
414
+ - `prediction_loss_only`: True
415
+ - `per_device_train_batch_size`: 8
416
+ - `per_device_eval_batch_size`: 16
417
+ - `per_gpu_train_batch_size`: None
418
+ - `per_gpu_eval_batch_size`: None
419
+ - `gradient_accumulation_steps`: 1
420
+ - `eval_accumulation_steps`: None
421
+ - `torch_empty_cache_steps`: None
422
+ - `learning_rate`: 3e-05
423
+ - `weight_decay`: 0.0
424
+ - `adam_beta1`: 0.9
425
+ - `adam_beta2`: 0.999
426
+ - `adam_epsilon`: 1e-08
427
+ - `max_grad_norm`: 1.0
428
+ - `num_train_epochs`: 3
429
+ - `max_steps`: -1
430
+ - `lr_scheduler_type`: linear
431
+ - `lr_scheduler_kwargs`: {}
432
+ - `warmup_ratio`: 0.1
433
+ - `warmup_steps`: 0
434
+ - `log_level`: passive
435
+ - `log_level_replica`: warning
436
+ - `log_on_each_node`: True
437
+ - `logging_nan_inf_filter`: True
438
+ - `save_safetensors`: True
439
+ - `save_on_each_node`: False
440
+ - `save_only_model`: False
441
+ - `restore_callback_states_from_checkpoint`: False
442
+ - `no_cuda`: False
443
+ - `use_cpu`: False
444
+ - `use_mps_device`: False
445
+ - `seed`: 42
446
+ - `data_seed`: None
447
+ - `jit_mode_eval`: False
448
+ - `use_ipex`: False
449
+ - `bf16`: False
450
+ - `fp16`: True
451
+ - `fp16_opt_level`: O1
452
+ - `half_precision_backend`: auto
453
+ - `bf16_full_eval`: False
454
+ - `fp16_full_eval`: False
455
+ - `tf32`: None
456
+ - `local_rank`: 0
457
+ - `ddp_backend`: None
458
+ - `tpu_num_cores`: None
459
+ - `tpu_metrics_debug`: False
460
+ - `debug`: []
461
+ - `dataloader_drop_last`: False
462
+ - `dataloader_num_workers`: 0
463
+ - `dataloader_prefetch_factor`: None
464
+ - `past_index`: -1
465
+ - `disable_tqdm`: False
466
+ - `remove_unused_columns`: True
467
+ - `label_names`: None
468
+ - `load_best_model_at_end`: True
469
+ - `ignore_data_skip`: False
470
+ - `fsdp`: []
471
+ - `fsdp_min_num_params`: 0
472
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
473
+ - `fsdp_transformer_layer_cls_to_wrap`: None
474
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
475
+ - `deepspeed`: None
476
+ - `label_smoothing_factor`: 0.0
477
+ - `optim`: adamw_torch
478
+ - `optim_args`: None
479
+ - `adafactor`: False
480
+ - `group_by_length`: False
481
+ - `length_column_name`: length
482
+ - `ddp_find_unused_parameters`: False
483
+ - `ddp_bucket_cap_mb`: None
484
+ - `ddp_broadcast_buffers`: False
485
+ - `dataloader_pin_memory`: True
486
+ - `dataloader_persistent_workers`: False
487
+ - `skip_memory_metrics`: True
488
+ - `use_legacy_prediction_loop`: False
489
+ - `push_to_hub`: False
490
+ - `resume_from_checkpoint`: None
491
+ - `hub_model_id`: None
492
+ - `hub_strategy`: every_save
493
+ - `hub_private_repo`: None
494
+ - `hub_always_push`: False
495
+ - `gradient_checkpointing`: False
496
+ - `gradient_checkpointing_kwargs`: None
497
+ - `include_inputs_for_metrics`: False
498
+ - `include_for_metrics`: []
499
+ - `eval_do_concat_batches`: True
500
+ - `fp16_backend`: auto
501
+ - `push_to_hub_model_id`: None
502
+ - `push_to_hub_organization`: None
503
+ - `mp_parameters`:
504
+ - `auto_find_batch_size`: False
505
+ - `full_determinism`: False
506
+ - `torchdynamo`: None
507
+ - `ray_scope`: last
508
+ - `ddp_timeout`: 1800
509
+ - `torch_compile`: False
510
+ - `torch_compile_backend`: None
511
+ - `torch_compile_mode`: None
512
+ - `dispatch_batches`: None
513
+ - `split_batches`: None
514
+ - `include_tokens_per_second`: False
515
+ - `include_num_input_tokens_seen`: False
516
+ - `neftune_noise_alpha`: None
517
+ - `optim_target_modules`: None
518
+ - `batch_eval_metrics`: False
519
+ - `eval_on_start`: False
520
+ - `use_liger_kernel`: False
521
+ - `eval_use_gather_object`: False
522
+ - `average_tokens_across_devices`: False
523
+ - `prompts`: None
524
+ - `batch_sampler`: batch_sampler
525
+ - `multi_dataset_batch_sampler`: proportional
526
+
527
+ </details>
528
+
529
+ ### Training Logs
530
+ | Epoch | Step | Training Loss | Validation Loss | validation_spearman_cosine |
531
+ |:------:|:----:|:-------------:|:---------------:|:--------------------------:|
532
+ | 0.1256 | 25 | 0.0532 | - | - |
533
+ | 0.2513 | 50 | 0.0006 | - | - |
534
+ | 0.3769 | 75 | 0.0027 | - | - |
535
+ | 0.5025 | 100 | 0.0257 | - | - |
536
+ | 0.6281 | 125 | 0.0021 | - | - |
537
+ | 0.7538 | 150 | 0.0043 | - | - |
538
+ | 0.8794 | 175 | 0.0074 | - | - |
539
+ | 1.0 | 199 | - | 0.0151 | 0.7500 |
540
+
541
+
542
+ ### Framework Versions
543
+ - Python: 3.10.16
544
+ - Sentence Transformers: 3.3.1
545
+ - Transformers: 4.48.0
546
+ - PyTorch: 2.4.0
547
+ - Accelerate: 1.2.1
548
+ - Datasets: 3.2.0
549
+ - Tokenizers: 0.21.0
550
+
551
+ ## Citation
552
+
553
+ ### BibTeX
554
+
555
+ #### Sentence Transformers
556
+ ```bibtex
557
+ @inproceedings{reimers-2019-sentence-bert,
558
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
559
+ author = "Reimers, Nils and Gurevych, Iryna",
560
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
561
+ month = "11",
562
+ year = "2019",
563
+ publisher = "Association for Computational Linguistics",
564
+ url = "https://arxiv.org/abs/1908.10084",
565
+ }
566
+ ```
567
+
568
+ #### CoSENTLoss
569
+ ```bibtex
570
+ @online{kexuefm-8847,
571
+ title={CoSENT: A more efficient sentence vector scheme than Sentence-BERT},
572
+ author={Su Jianlin},
573
+ year={2022},
574
+ month={Jan},
575
+ url={https://kexue.fm/archives/8847},
576
+ }
577
+ ```
578
+
579
+ <!--
580
+ ## Glossary
581
+
582
+ *Clearly define terms in order to be accessible across audiences.*
583
+ -->
584
+
585
+ <!--
586
+ ## Model Card Authors
587
+
588
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
589
+ -->
590
+
591
+ <!--
592
+ ## Model Card Contact
593
+
594
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
595
+ -->
checkpoint-199/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-199/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-199/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bd5d02ecee36bb6f675b93235894980fd7fd7c133cb61757341852cc5298550
3
+ size 90864192
checkpoint-199/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-199/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e73004e9ecb5976299855c6a6a248414511b5af0cbe514b7feb0da6e3e329eb
3
+ size 180604922
checkpoint-199/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b0c1c15059d93435d2a0495d85eeb0989e20c9bdc3f586372438405d9abe4b3
3
+ size 13990
checkpoint-199/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb8c398540f4b1b896c8311acffd11bf22012b8b53efafb8152d8428dc6dd74f
3
+ size 1064
checkpoint-199/sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
checkpoint-199/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-199/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-199/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-199/trainer_state.json ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.015061055310070515,
3
+ "best_model_checkpoint": "autotrain-NarrativesAnalogues-allMiniLM/checkpoint-199",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 199,
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.12562814070351758,
13
+ "grad_norm": 0.0008692884002812207,
14
+ "learning_rate": 1.25e-05,
15
+ "loss": 0.0532,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.25125628140703515,
20
+ "grad_norm": 0.03837887570261955,
21
+ "learning_rate": 2.5e-05,
22
+ "loss": 0.0006,
23
+ "step": 50
24
+ },
25
+ {
26
+ "epoch": 0.3768844221105528,
27
+ "grad_norm": 0.12774178385734558,
28
+ "learning_rate": 2.9162011173184356e-05,
29
+ "loss": 0.0027,
30
+ "step": 75
31
+ },
32
+ {
33
+ "epoch": 0.5025125628140703,
34
+ "grad_norm": 0.0004956149496138096,
35
+ "learning_rate": 2.776536312849162e-05,
36
+ "loss": 0.0257,
37
+ "step": 100
38
+ },
39
+ {
40
+ "epoch": 0.628140703517588,
41
+ "grad_norm": 0.012539675459265709,
42
+ "learning_rate": 2.6368715083798882e-05,
43
+ "loss": 0.0021,
44
+ "step": 125
45
+ },
46
+ {
47
+ "epoch": 0.7537688442211056,
48
+ "grad_norm": 1.136651873588562,
49
+ "learning_rate": 2.4972067039106143e-05,
50
+ "loss": 0.0043,
51
+ "step": 150
52
+ },
53
+ {
54
+ "epoch": 0.8793969849246231,
55
+ "grad_norm": 0.00016576406778767705,
56
+ "learning_rate": 2.3575418994413408e-05,
57
+ "loss": 0.0074,
58
+ "step": 175
59
+ },
60
+ {
61
+ "epoch": 1.0,
62
+ "eval_loss": 0.015061055310070515,
63
+ "eval_runtime": 14.7089,
64
+ "eval_samples_per_second": 13.053,
65
+ "eval_steps_per_second": 0.816,
66
+ "eval_validation_pearson_cosine": 0.9472155706694764,
67
+ "eval_validation_spearman_cosine": 0.7500197100461503,
68
+ "step": 199
69
+ }
70
+ ],
71
+ "logging_steps": 25,
72
+ "max_steps": 597,
73
+ "num_input_tokens_seen": 0,
74
+ "num_train_epochs": 3,
75
+ "save_steps": 500,
76
+ "stateful_callbacks": {
77
+ "EarlyStoppingCallback": {
78
+ "args": {
79
+ "early_stopping_patience": 5,
80
+ "early_stopping_threshold": 0.01
81
+ },
82
+ "attributes": {
83
+ "early_stopping_patience_counter": 0
84
+ }
85
+ },
86
+ "TrainerControl": {
87
+ "args": {
88
+ "should_epoch_stop": false,
89
+ "should_evaluate": false,
90
+ "should_log": false,
91
+ "should_save": true,
92
+ "should_training_stop": false
93
+ },
94
+ "attributes": {}
95
+ }
96
+ },
97
+ "total_flos": 0.0,
98
+ "train_batch_size": 8,
99
+ "trial_name": null,
100
+ "trial_params": null
101
+ }
checkpoint-199/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8dc58720bcf0301f2642d5b46f09c2bbf308366259d3acb0b84538f039421ce
3
+ size 5624
checkpoint-199/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:6bd5d02ecee36bb6f675b93235894980fd7fd7c133cb61757341852cc5298550
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/Mar01_19-28-14_r-iafa-ut-autotrain-advanced-gmczj114-5d482-fvczg/events.out.tfevents.1772393297.r-iafa-ut-autotrain-advanced-gmczj114-5d482-fvczg.649.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fef2e470b0dc4fb04618d7df4ed8d7a33230206cb3b8b55fdda2fc9ff5fe5a12
3
- size 9291
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f2bf6ce2c3c75761e431ee3c52b58881478e7c2b12ddb5614e251f1c0aa4bcd
3
+ size 10899
runs/Mar01_19-28-14_r-iafa-ut-autotrain-advanced-gmczj114-5d482-fvczg/events.out.tfevents.1772394090.r-iafa-ut-autotrain-advanced-gmczj114-5d482-fvczg.649.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c09883fc2f510a8adb5c288be80cffd3dc86409c6ac427adf8abdfa61c3d54ef
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:f8dc58720bcf0301f2642d5b46f09c2bbf308366259d3acb0b84538f039421ce
3
+ size 5624
training_params.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-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": "autotrain-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