AndriyMulyar / semantic-text-similarity

an easy-to-use interface to fine-tuned BERT models for computing semantic similarity in clinical and web text. that's it.
MIT License
213 stars 51 forks source link

Issue in initialising the clinicalSimilarity class. #4

Closed spandeyDRG closed 4 years ago

spandeyDRG commented 4 years ago

model = ClinicalBertSimilarity() TypeError: init_weights() takes 1 positional argument but 2 were given

vijaysaimutyala commented 4 years ago

@spandeyDRG Any luck with that ?

spandeyDRG commented 4 years ago

No its still giving the same error. It seems in some of the classes the parameters setting is mismatch .

From: Vijay Sai Mutyala notifications@github.com Reply to: AndriyMulyar/semantic-text-similarity reply@reply.github.com Date: Saturday, 5 October 2019 at 7:18 AM To: AndriyMulyar/semantic-text-similarity semantic-text-similarity@noreply.github.com Cc: "Pandey, Sujeet" spandey@teamdrg.com, Mention mention@noreply.github.com Subject: Re: [AndriyMulyar/semantic-text-similarity] Issue in initialising the clinicalSimilarity class. (#4)

@spandeyDRGhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FspandeyDRG&data=02%7C01%7Cspandey%40teamdrg.com%7C5b6f40804ec843c3f55908d749362bef%7C5d6495b15cd44a4fa6dd1f5f3bf58831%7C0%7C0%7C637058369355394382&sdata=%2B7ywZl928HryWZeT0ZSv8HR2vBhq6d%2F0%2Fp%2FZAnn14dk%3D&reserved=0 Any luck with that ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAndriyMulyar%2Fsemantic-text-similarity%2Fissues%2F4%3Femail_source%3Dnotifications%26email_token%3DAJT3SDLCQYXHGEANRMX5MM3QM7XAFA5CNFSM4IYJVGM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEANHUMY%23issuecomment-538606131&data=02%7C01%7Cspandey%40teamdrg.com%7C5b6f40804ec843c3f55908d749362bef%7C5d6495b15cd44a4fa6dd1f5f3bf58831%7C0%7C0%7C637058369355404377&sdata=kvYdPL3S4%2Fq0Pr8qdgJwpWOaT9nlsyI3%2BJrDgU363gM%3D&reserved=0, or mute the threadhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAJT3SDPOBWCSI4FOVWWFRSLQM7XAFANCNFSM4IYJVGMQ&data=02%7C01%7Cspandey%40teamdrg.com%7C5b6f40804ec843c3f55908d749362bef%7C5d6495b15cd44a4fa6dd1f5f3bf58831%7C0%7C0%7C637058369355404377&sdata=%2FvP%2FaF24KQET8MFGaWthZZEyh%2Bp94qkCLn1mE%2FR2Z4c%3D&reserved=0.

AndriyMulyar commented 4 years ago

Hi I apologize for the late reply. This has been fixed. I bumped down the version requirements in the setup.py.