Skip to content

Commit

Permalink
Merge pull request #315 from se-schmitt/HANNA-v1.0.0
Browse files Browse the repository at this point in the history
Update HANNA Model to v1.0.0
  • Loading branch information
longemen3000 authored Nov 27, 2024
2 parents 94417e7 + 691c684 commit 210bac5
Show file tree
Hide file tree
Showing 16 changed files with 1,206 additions and 1,175 deletions.
4 changes: 3 additions & 1 deletion lib/ClapeyronHANNA/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Clapeyron = "7c7805af-46cc-48c9-995b-ed0ed2dc909a"
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
JSON3 = "0f8b85d8-7281-11e9-16c2-39a750bddbf1"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Transformers = "21ca0261-441d-5938-ace7-c90938fde4d4"

[compat]
CSV = "0.10"
Clapeyron = "0.6"
Clapeyron = "^0.6.3"
Flux = "0.14 - 0.14.22"
JLD2 = "0.5"
JSON3 = "1.14.1"
LinearAlgebra = "1"
Transformers = "0.3"
julia = "1.6"
Expand Down
1 change: 1 addition & 0 deletions lib/ClapeyronHANNA/data/ChemBERTa/vocab.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"[PAD]":0,"[unused1]":1,"[unused2]":2,"[unused3]":3,"[unused4]":4,"[unused5]":5,"[unused6]":6,"[unused7]":7,"[unused8]":8,"[unused9]":9,"[unused10]":10,"[UNK]":11,"[CLS]":12,"[SEP]":13,"[MASK]":14,"c":15,"C":16,"(":17,")":18,"O":19,"1":20,"2":21,"=":22,"N":23,".":24,"n":25,"3":26,"F":27,"Cl":28,">>":29,"~":30,"-":31,"4":32,"[C@H]":33,"S":34,"[C@@H]":35,"[O-]":36,"Br":37,"#":38,"/":39,"[nH]":40,"[N+]":41,"s":42,"5":43,"o":44,"P":45,"[Na+]":46,"[Si]":47,"I":48,"[Na]":49,"[Pd]":50,"[K+]":51,"[K]":52,"[P]":53,"B":54,"[C@]":55,"[C@@]":56,"[Cl-]":57,"6":58,"[OH-]":59,"\\":60,"[N-]":61,"[Li]":62,"[H]":63,"[2H]":64,"[NH4+]":65,"[c-]":66,"[P-]":67,"[Cs+]":68,"[Li+]":69,"[Cs]":70,"[NaH]":71,"[H-]":72,"[O+]":73,"[BH4-]":74,"[Cu]":75,"7":76,"[Mg]":77,"[Fe+2]":78,"[n+]":79,"[Sn]":80,"[BH-]":81,"[Pd+2]":82,"[CH]":83,"[I-]":84,"[Br-]":85,"[C-]":86,"[Zn]":87,"[B-]":88,"[F-]":89,"[Al]":90,"[P+]":91,"[BH3-]":92,"[Fe]":93,"[C]":94,"[AlH4]":95,"[Ni]":96,"[SiH]":97,"8":98,"[Cu+2]":99,"[Mn]":100,"[AlH]":101,"[nH+]":102,"[AlH4-]":103,"[O-2]":104,"[Cr]":105,"[Mg+2]":106,"[NH3+]":107,"[S@]":108,"[Pt]":109,"[Al+3]":110,"[S@@]":111,"[S-]":112,"[Ti]":113,"[Zn+2]":114,"[PH]":115,"[NH2+]":116,"[Ru]":117,"[Ag+]":118,"[S+]":119,"[I+3]":120,"[NH+]":121,"[Ca+2]":122,"[Ag]":123,"9":124,"[Os]":125,"[Se]":126,"[SiH2]":127,"[Ca]":128,"[Ti+4]":129,"[Ac]":130,"[Cu+]":131,"[S]":132,"[Rh]":133,"[Cl+3]":134,"[cH-]":135,"[Zn+]":136,"[O]":137,"[Cl+]":138,"[SH]":139,"[H+]":140,"[Pd+]":141,"[se]":142,"[PH+]":143,"[I]":144,"[Pt+2]":145,"[C+]":146,"[Mg+]":147,"[Hg]":148,"[W]":149,"[SnH]":150,"[SiH3]":151,"[Fe+3]":152,"[NH]":153,"[Mo]":154,"[CH2+]":155,"%10":156,"[CH2-]":157,"[CH2]":158,"[n-]":159,"[Ce+4]":160,"[NH-]":161,"[Co]":162,"[I+]":163,"[PH2]":164,"[Pt+4]":165,"[Ce]":166,"[B]":167,"[Sn+2]":168,"[Ba+2]":169,"%11":170,"[Fe-3]":171,"[18F]":172,"[SH-]":173,"[Pb+2]":174,"[Os-2]":175,"[Zr+4]":176,"[N]":177,"[Ir]":178,"[Bi]":179,"[Ni+2]":180,"[P@]":181,"[Co+2]":182,"[s+]":183,"[As]":184,"[P+3]":185,"[Hg+2]":186,"[Yb+3]":187,"[CH-]":188,"[Zr+2]":189,"[Mn+2]":190,"[CH+]":191,"[In]":192,"[KH]":193,"[Ce+3]":194,"[Zr]":195,"[AlH2-]":196,"[OH2+]":197,"[Ti+3]":198,"[Rh+2]":199,"[Sb]":200,"[S-2]":201,"%12":202,"[P@@]":203,"[Si@H]":204,"[Mn+4]":205,"p":206,"[Ba]":207,"[NH2-]":208,"[Ge]":209,"[Pb+4]":210,"[Cr+3]":211,"[Au]":212,"[LiH]":213,"[Sc+3]":214,"[o+]":215,"[Rh-3]":216,"%13":217,"[Br]":218,"[Sb-]":219,"[S@+]":220,"[I+2]":221,"[Ar]":222,"[V]":223,"[Cu-]":224,"[Al-]":225,"[Te]":226,"[13c]":227,"[13C]":228,"[Cl]":229,"[PH4+]":230,"[SiH4]":231,"[te]":232,"[CH3-]":233,"[S@@+]":234,"[Rh+3]":235,"[SH+]":236,"[Bi+3]":237,"[Br+2]":238,"[La]":239,"[La+3]":240,"[Pt-2]":241,"[N@@]":242,"[PH3+]":243,"[N@]":244,"[Si+4]":245,"[Sr+2]":246,"[Al+]":247,"[Pb]":248,"[SeH]":249,"[Si-]":250,"[V+5]":251,"[Y+3]":252,"[Re]":253,"[Ru+]":254,"[Sm]":255,"*":256,"[3H]":257,"[NH2]":258,"[Ag-]":259,"[13CH3]":260,"[OH+]":261,"[Ru+3]":262,"[OH]":263,"[Gd+3]":264,"[13CH2]":265,"[In+3]":266,"[Si@@]":267,"[Si@]":268,"[Ti+2]":269,"[Sn+]":270,"[Cl+2]":271,"[AlH-]":272,"[Pd-2]":273,"[SnH3]":274,"[B+3]":275,"[Cu-2]":276,"[Nd+3]":277,"[Pb+3]":278,"[13cH]":279,"[Fe-4]":280,"[Ga]":281,"[Sn+4]":282,"[Hg+]":283,"[11CH3]":284,"[Hf]":285,"[Pr]":286,"[Y]":287,"[S+2]":288,"[Cd]":289,"[Cr+6]":290,"[Zr+3]":291,"[Rh+]":292,"[CH3]":293,"[N-3]":294,"[Hf+2]":295,"[Th]":296,"[Sb+3]":297,"%14":298,"[Cr+2]":299,"[Ru+2]":300,"[Hf+4]":301,"[14C]":302,"[Ta]":303,"[Tl+]":304,"[B+]":305,"[Os+4]":306,"[PdH2]":307,"[Pd-]":308,"[Cd+2]":309,"[Co+3]":310,"[S+4]":311,"[Nb+5]":312,"[123I]":313,"[c+]":314,"[Rb+]":315,"[V+2]":316,"[CH3+]":317,"[Ag+2]":318,"[cH+]":319,"[Mn+3]":320,"[Se-]":321,"[As-]":322,"[Eu+3]":323,"[SH2]":324,"[Sm+3]":325,"[IH+]":326,"%15":327,"[OH3+]":328,"[PH3]":329,"[IH2+]":330,"[SH2+]":331,"[Ir+3]":332,"[AlH3]":333,"[Sc]":334,"[Yb]":335,"[15NH2]":336,"[Lu]":337,"[sH+]":338,"[Gd]":339,"[18F-]":340,"[SH3+]":341,"[SnH4]":342,"[TeH]":343,"[Si@@H]":344,"[Ga+3]":345,"[CaH2]":346,"[Tl]":347,"[Ta+5]":348,"[GeH]":349,"[Br+]":350,"[Sr]":351,"[Tl+3]":352,"[Sm+2]":353,"[PH5]":354,"%16":355,"[N@@+]":356,"[Au+3]":357,"[C-4]":358,"[Nd]":359,"[Ti+]":360,"[IH]":361,"[N@+]":362,"[125I]":363,"[Eu]":364,"[Sn+3]":365,"[Nb]":366,"[Er+3]":367,"[123I-]":368,"[14c]":369,"%17":370,"[SnH2]":371,"[YH]":372,"[Sb+5]":373,"[Pr+3]":374,"[Ir+]":375,"[N+3]":376,"[AlH2]":377,"[19F]":378,"%18":379,"[Tb]":380,"[14CH]":381,"[Mo+4]":382,"[Si+]":383,"[BH]":384,"[Be]":385,"[Rb]":386,"[pH]":387,"%19":388,"%20":389,"[Xe]":390,"[Ir-]":391,"[Be+2]":392,"[C+4]":393,"[RuH2]":394,"[15NH]":395,"[U+2]":396,"[Au-]":397,"%21":398,"%22":399,"[Au+]":400,"[15n]":401,"[Al+2]":402,"[Tb+3]":403,"[15N]":404,"[V+3]":405,"[W+6]":406,"[14CH3]":407,"[Cr+4]":408,"[ClH+]":409,"b":410,"[Ti+6]":411,"[Nd+]":412,"[Zr+]":413,"[PH2+]":414,"[Fm]":415,"[N@H+]":416,"[RuH]":417,"[Dy+3]":418,"%23":419,"[Hf+3]":420,"[W+4]":421,"[11C]":422,"[13CH]":423,"[Er]":424,"[124I]":425,"[LaH]":426,"[F]":427,"[siH]":428,"[Ga+]":429,"[Cm]":430,"[GeH3]":431,"[IH-]":432,"[U+6]":433,"[SeH+]":434,"[32P]":435,"[SeH-]":436,"[Pt-]":437,"[Ir+2]":438,"[se+]":439,"[U]":440,"[F+]":441,"[BH2]":442,"[As+]":443,"[Cf]":444,"[ClH2+]":445,"[Ni+]":446,"[TeH3]":447,"[SbH2]":448,"[Ag+3]":449,"%24":450,"[18O]":451,"[PH4]":452,"[Os+2]":453,"[Na-]":454,"[Sb+2]":455,"[V+4]":456,"[Ho+3]":457,"[68Ga]":458,"[PH-]":459,"[Bi+2]":460,"[Ce+2]":461,"[Pd+3]":462,"[99Tc]":463,"[13C@@H]":464,"[Fe+6]":465,"[c]":466,"[GeH2]":467,"[10B]":468,"[Cu+3]":469,"[Mo+2]":470,"[Cr+]":471,"[Pd+4]":472,"[Dy]":473,"[AsH]":474,"[Ba+]":475,"[SeH2]":476,"[In+]":477,"[TeH2]":478,"[BrH+]":479,"[14cH]":480,"[W+]":481,"[13C@H]":482,"[AsH2]":483,"[In+2]":484,"[N+2]":485,"[N@@H+]":486,"[SbH]":487,"[60Co]":488,"[AsH4+]":489,"[AsH3]":490,"[18OH]":491,"[Ru-2]":492,"[Na-2]":493,"[CuH2]":494,"[31P]":495,"[Ti+5]":496,"[35S]":497,"[P@@H]":498,"[ArH]":499,"[Co+]":500,"[Zr-2]":501,"[BH2-]":502,"[131I]":503,"[SH5]":504,"[VH]":505,"[B+2]":506,"[Yb+2]":507,"[14C@H]":508,"[211At]":509,"[NH3+2]":510,"[IrH]":511,"[IrH2]":512,"[Rh-]":513,"[Cr-]":514,"[Sb+]":515,"[Ni+3]":516,"[TaH3]":517,"[Tl+2]":518,"[64Cu]":519,"[Tc]":520,"[Cd+]":521,"[1H]":522,"[15nH]":523,"[AlH2+]":524,"[FH+2]":525,"[BiH3]":526,"[Ru-]":527,"[Mo+6]":528,"[AsH+]":529,"[BaH2]":530,"[BaH]":531,"[Fe+4]":532,"[229Th]":533,"[Th+4]":534,"[As+3]":535,"[NH+3]":536,"[P@H]":537,"[Li-]":538,"[7NaH]":539,"[Bi+]":540,"[PtH+2]":541,"[p-]":542,"[Re+5]":543,"[NiH]":544,"[Ni-]":545,"[Xe+]":546,"[Ca+]":547,"[11c]":548,"[Rh+4]":549,"[AcH]":550,"[HeH]":551,"[Sc+2]":552,"[Mn+]":553,"[UH]":554,"[14CH2]":555,"[SiH4+]":556,"[18OH2]":557,"[Ac-]":558,"[Re+4]":559,"[118Sn]":560,"[153Sm]":561,"[P+2]":562,"[9CH]":563,"[9CH3]":564,"[Y-]":565,"[NiH2]":566,"[Si+2]":567,"[Mn+6]":568,"[ZrH2]":569,"[C-2]":570,"[Bi+5]":571,"[24NaH]":572,"[Fr]":573,"[15CH]":574,"[Se+]":575,"[At]":576,"[P-3]":577,"[124I-]":578,"[CuH2-]":579,"[Nb+4]":580,"[Nb+3]":581,"[MgH]":582,"[Ir+4]":583,"[67Ga+3]":584,"[67Ga]":585,"[13N]":586,"[15OH2]":587,"[2NH]":588,"[Ho]":589,"[Cn]":590}
192 changes: 96 additions & 96 deletions lib/ClapeyronHANNA/data/HANNA/alpha_1_b.csv
Original file line number Diff line number Diff line change
@@ -1,96 +1,96 @@
1.113308519124984741e-01
-3.546121343970298767e-02
-2.988076396286487579e-02
1.303256005048751831e-01
-4.425702989101409912e-02
1.375684738159179688e-01
-5.593518167734146118e-02
-9.229625761508941650e-02
8.451537787914276123e-02
4.212076961994171143e-02
-1.848700791597366333e-01
-3.610199317336082458e-02
8.203893899917602539e-03
2.458231523633003235e-02
3.563912212848663330e-02
2.128550708293914795e-01
-5.403746291995048523e-02
-1.766296476125717163e-01
2.704654075205326080e-02
-2.685149386525154114e-02
-2.528327405452728271e-01
1.990177854895591736e-02
1.698033884167671204e-02
-3.050247021019458771e-02
1.130666062235832214e-01
2.015298046171665192e-02
-1.044731885194778442e-01
5.582036823034286499e-02
6.931944750249385834e-03
-2.916050888597965240e-02
-4.082124680280685425e-02
-7.832813076674938202e-03
9.896343201398849487e-02
7.808592170476913452e-02
-7.288336008787155151e-02
7.714473456144332886e-02
-1.301961839199066162e-01
1.848527044057846069e-01
-9.081019461154937744e-02
-6.976915174163877964e-04
2.244408428668975830e-02
1.066876295953989029e-02
-1.295847147703170776e-01
-1.634128987789154053e-01
-1.808844506740570068e-02
1.170610636472702026e-01
-1.211571842432022095e-01
1.830134838819503784e-01
-7.467282563447952271e-02
-6.085983291268348694e-02
1.003524512052536011e-01
-5.922634620219469070e-03
-2.771023809909820557e-01
2.167193889617919922e-01
2.497787624597549438e-01
8.387377485632896423e-03
-8.958818018436431885e-02
8.705596625804901123e-02
4.273151606321334839e-02
7.838320732116699219e-02
1.398132294416427612e-01
9.128690510988235474e-02
-4.772248119115829468e-02
1.197547689080238342e-01
1.196535304188728333e-01
-4.464437440037727356e-02
-3.807823732495307922e-02
7.059801369905471802e-02
-7.576800137758255005e-02
2.559782005846500397e-02
-9.628463536500930786e-02
-1.367197372019290924e-02
-6.887884438037872314e-02
6.069872900843620300e-02
-8.091127872467041016e-02
-2.887403964996337891e-02
-9.738531708717346191e-02
6.537929177284240723e-02
-1.219131425023078918e-01
-5.297732725739479065e-02
2.407472766935825348e-02
-2.052211947739124298e-02
-3.601079434156417847e-02
1.621966511011123657e-01
1.322714388370513916e-01
-3.138993680477142334e-01
-4.285698011517524719e-02
-3.461194783449172974e-02
-2.725695259869098663e-02
1.069103553891181946e-01
-9.631482884287834167e-03
1.439846958965063095e-02
2.368983924388885498e-01
-5.414661020040512085e-02
4.547450318932533264e-02
-1.666521281003952026e-01
2.473775111138820648e-02
-1.136900931596755981e-01
1.687052287161350250e-02
-9.458030015230178833e-02
-7.805740088224411011e-02
8.732769638299942017e-02
-5.126219987869262695e-02
-2.073925733566284180e-02
1.721844524145126343e-01
1.442868113517761230e-01
-1.922877281904220581e-01
-3.099402040243148804e-02
-3.522427007555961609e-02
1.443241387605667114e-01
-1.546892225742340088e-01
2.010277062654495239e-01
-1.422393918037414551e-01
-6.831699609756469727e-02
-8.249977976083755493e-02
-2.286455966532230377e-02
-1.120667234063148499e-01
1.001069024205207825e-01
2.393370680510997772e-02
2.879851125180721283e-02
1.891572494059801102e-03
-3.548463433980941772e-02
-2.301543392241001129e-02
4.294373095035552979e-02
1.136151179671287537e-01
6.019441038370132446e-02
-1.305899322032928467e-01
-2.899496257305145264e-01
1.144491061568260193e-01
1.803635209798812866e-01
-1.866962909698486328e-01
1.323931366205215454e-01
-3.713963031768798828e-01
9.283409267663955688e-02
-2.734407782554626465e-01
1.773553937673568726e-01
-6.942902505397796631e-02
-6.636496633291244507e-02
-1.701757893897593021e-03
2.565585970878601074e-01
-2.951716305688023567e-03
2.349335551261901855e-01
-1.080180630087852478e-01
1.999241858720779419e-01
-1.065586358308792114e-01
8.509537577629089355e-02
2.033377252519130707e-02
4.365312680602073669e-02
-7.956804335117340088e-02
2.017326503992080688e-01
1.700568199157714844e-01
1.101481495425105095e-03
-1.085274741053581238e-01
-1.132163554430007935e-01
2.921389229595661163e-02
-9.457086771726608276e-02
3.243955075740814209e-01
1.737740486860275269e-01
-1.036531105637550354e-02
9.850227087736129761e-02
9.318245947360992432e-02
-7.940078526735305786e-02
4.915594682097434998e-02
-1.132293343544006348e-01
5.461781099438667297e-02
3.448989242315292358e-02
-1.326503008604049683e-01
2.518417835235595703e-01
-1.089003458619117737e-01
-5.092116817831993103e-02
-8.771963417530059814e-02
-8.896719664335250854e-02
-5.833837017416954041e-02
-6.928106397390365601e-02
-5.635780096054077148e-02
-5.313283577561378479e-02
2.083413004875183105e-01
4.224296659231185913e-02
-1.220817416906356812e-01
-6.176498904824256897e-02
1.453601866960525513e-01
-7.662021368741989136e-02
-5.377908796072006226e-02
6.417687982320785522e-02
-2.815641276538372040e-02
-2.768572978675365448e-02
-8.705803006887435913e-02
-8.699027448892593384e-02
2.130408883094787598e-01
3.382872641086578369e-01
1.700877994298934937e-01
-1.380035579204559326e-01
Loading

0 comments on commit 210bac5

Please sign in to comment.