Skip to content

Commit

Permalink
Pin transformers to 4.45.2 (#4689)
Browse files Browse the repository at this point in the history
Also updates nl goldens
  • Loading branch information
n-h-diaz authored Oct 24, 2024
1 parent c073189 commit 4fbd786
Show file tree
Hide file tree
Showing 8 changed files with 302 additions and 301 deletions.
3 changes: 2 additions & 1 deletion nl_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ torchvision==0.17.2
# TODO: this is pinned because latest huggingface_hub is not compatible with
# sentence-transformers v2.2.2. Look into upgrading sentence-transformers to
# v2.3.0 or newer
huggingface_hub==0.25.2
huggingface_hub==0.25.2
transformers==4.45.2
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@
"query_with_places_removed": "what is the phylum of",
"sv_matching": {
"CosineScore": [
0.35510891675949097,
0.34608712792396545,
0.34525778889656067,
0.34484589099884033,
0.3411365747451782,
0.3384982645511627,
0.3349902927875519,
0.33166080713272095,
0.32600581645965576,
0.32424452900886536,
0.32060614228248596,
0.3142656087875366,
0.31276530027389526,
0.3126294016838074,
0.31250450015068054,
0.35510897636413574,
0.3460872769355774,
0.3452577292919159,
0.344845712184906,
0.34113651514053345,
0.3384983241558075,
0.3349902033805847,
0.3316609561443329,
0.3260059356689453,
0.32424432039260864,
0.3206062316894531,
0.31426557898521423,
0.3127653896808624,
0.31262922286987305,
0.31250447034835815,
0.31177398562431335,
0.31033891439437866,
0.3100748062133789,
0.3098834156990051,
0.30805402994155884,
0.3074587285518646,
0.31033921241760254,
0.31007489562034607,
0.30988338589668274,
0.3080539405345917,
0.30745869874954224,
0.30719631910324097,
0.3039420545101166
0.3039420247077942
],
"MultiSV": {},
"Query": "what is the phylum of",
Expand Down Expand Up @@ -64,34 +64,34 @@
},
"props_matching": {
"CosineScore": [
1.0000001192092896,
0.47528403997421265,
0.3615415692329407,
0.3420097827911377,
0.32933083176612854,
0.3184516429901123,
0.3146698474884033,
0.3083950877189636,
0.30794060230255127,
0.3046301305294037,
0.2827085256576538,
0.2818753123283386,
0.28082767128944397,
0.28045278787612915,
0.2742983102798462,
0.2715049386024475,
0.27071818709373474,
0.2695465385913849,
0.25990062952041626,
0.25990062952041626,
0.24827902019023895,
0.24662014842033386,
0.24632105231285095,
0.24616341292858124,
0.24212220311164856,
0.23135532438755035,
0.2296244204044342,
0.2277354896068573
0.9999998807907104,
0.4752839505672455,
0.36154165863990784,
0.34200993180274963,
0.3293309211730957,
0.31845176219940186,
0.31466981768608093,
0.3083951473236084,
0.3079407513141632,
0.30463001132011414,
0.28270864486694336,
0.28187549114227295,
0.2808278203010559,
0.2804529666900635,
0.27429836988449097,
0.27150505781173706,
0.2707182466983795,
0.26954683661460876,
0.2599008083343506,
0.2599008083343506,
0.24827907979488373,
0.24662044644355774,
0.24632112681865692,
0.24616354703903198,
0.24212250113487244,
0.23135541379451752,
0.2296244502067566,
0.22773587703704834
],
"PROP": [
"phylum",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,30 @@
"query_with_places_removed": "what types of genes are and",
"sv_matching": {
"CosineScore": [
0.5237791538238525,
0.4451894164085388,
0.41981467604637146,
0.41922128200531006,
0.4136667847633362,
0.4096526503562927,
0.40661105513572693,
0.4013715982437134,
0.4010191261768341,
0.400637686252594,
0.39874640107154846,
0.39836061000823975,
0.39052367210388184,
0.3890332579612732,
0.38846099376678467,
0.3883823752403259,
0.3873301148414612,
0.38642191886901855,
0.3858962655067444,
0.3856789469718933,
0.38543426990509033,
0.38533884286880493,
0.3818426728248596,
0.37970495223999023
0.5237788558006287,
0.44518929719924927,
0.4198145568370819,
0.41922125220298767,
0.4136667251586914,
0.4096524715423584,
0.4066111147403717,
0.40137141942977905,
0.40101921558380127,
0.40063756704330444,
0.3987462520599365,
0.3983607292175293,
0.39052334427833557,
0.3890331983566284,
0.38846108317375183,
0.3883824050426483,
0.3873300850391388,
0.3864220678806305,
0.38589635491371155,
0.385678768157959,
0.3854341208934784,
0.38533875346183777,
0.3818424642086029,
0.37970471382141113
],
"MultiSV": {},
"Query": "what types of genes are and",
Expand Down Expand Up @@ -68,29 +68,29 @@
},
"props_matching": {
"CosineScore": [
0.908610999584198,
0.7445293664932251,
0.7330226898193359,
0.7175887823104858,
0.6834691166877747,
0.6590197086334229,
0.6340402960777283,
0.5988124012947083,
0.9086108803749084,
0.7445291876792908,
0.7330227494239807,
0.7175889611244202,
0.6834693551063538,
0.6590196490287781,
0.6340398192405701,
0.5988121628761292,
0.595878541469574,
0.5850145220756531,
0.5810791850090027,
0.5850147604942322,
0.5810789465904236,
0.5432419776916504,
0.5399730205535889,
0.5320467948913574,
0.5309585928916931,
0.5142703056335449,
0.5125278234481812,
0.46105992794036865,
0.44410809874534607,
0.3982294797897339,
0.3944428563117981,
0.392289936542511,
0.38480231165885925
0.5142701268196106,
0.5125278830528259,
0.4610598683357239,
0.4441079795360565,
0.3982292413711548,
0.3944430947303772,
0.3922898471355438,
0.38480237126350403
],
"PROP": [
"typeOfGene",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,43 +8,43 @@
"query_with_places_removed": "compare male population with female population",
"sv_matching": {
"CosineScore": [
0.9187595844268799,
0.8590543866157532,
0.9187589883804321,
0.8590542674064636,
0.8354092836380005,
0.7823134660720825,
0.7773187756538391,
0.7823135852813721,
0.7773193120956421,
0.7762894630432129,
0.7663271427154541,
0.766107439994812,
0.7614184617996216,
0.7606041431427002,
0.7595797181129456,
0.7573733329772949,
0.7573024034500122,
0.757297158241272,
0.7553009390830994,
0.7533451318740845,
0.7532937526702881,
0.7509560585021973,
0.7482578754425049,
0.7451456785202026,
0.7443947792053223,
0.7431552410125732,
0.7426693439483643,
0.7396597862243652,
0.7371534109115601,
0.7366002798080444,
0.7347153425216675,
0.733651876449585,
0.732607901096344,
0.7325160503387451,
0.7302997708320618,
0.7299268841743469,
0.7661072611808777,
0.7614185810089111,
0.7606043219566345,
0.7595799565315247,
0.7573726773262024,
0.757302463054657,
0.7572974562644958,
0.7553005814552307,
0.753344714641571,
0.7532935738563538,
0.7509563565254211,
0.7482579350471497,
0.7451451420783997,
0.7443950176239014,
0.7431556582450867,
0.7426689267158508,
0.7396599650382996,
0.7371536493301392,
0.7365996241569519,
0.7347152829170227,
0.7336517572402954,
0.7326081991195679,
0.7325156927108765,
0.7302993535995483,
0.729926347732544,
0.7289118766784668,
0.7289034724235535,
0.7280722260475159,
0.7259584665298462,
0.7259330153465271
0.728903591632843,
0.7280725836753845,
0.7259583473205566,
0.7259331345558167
],
"MultiSV": {
"Candidates": [
Expand All @@ -54,7 +54,7 @@
"Parts": [
{
"CosineScore": [
0.9257857799530029
0.9257851839065552
],
"QueryPart": "male population",
"SV": [
Expand All @@ -64,7 +64,7 @@
{
"CosineScore": [
0.92969810962677,
0.884743332862854
0.8847430348396301
],
"QueryPart": "female population",
"SV": [
Expand All @@ -80,7 +80,7 @@
"Parts": [
{
"CosineScore": [
0.9117770791053772
0.9117769002914429
],
"QueryPart": "male population female",
"SV": [
Expand All @@ -89,8 +89,8 @@
},
{
"CosineScore": [
0.8982378840446472,
0.8723467588424683
0.8982371687889099,
0.8723466992378235
],
"QueryPart": "population",
"SV": [
Expand All @@ -106,10 +106,10 @@
"Parts": [
{
"CosineScore": [
0.808887243270874,
0.8034241199493408,
0.8017654418945312,
0.775155782699585
0.8088874816894531,
0.8034244179725647,
0.8017649054527283,
0.7751561999320984
],
"QueryPart": "male",
"SV": [
Expand All @@ -121,8 +121,8 @@
},
{
"CosineScore": [
0.9170327186584473,
0.873018741607666
0.9170326590538025,
0.8730189204216003
],
"QueryPart": "population female population",
"SV": [
Expand Down
Loading

0 comments on commit 4fbd786

Please sign in to comment.