nicolay-r / ARElight

Granular Viewer of Sentiments Between Entities in Massively Large Documents and Collections of Texts, powered by AREkit
https://link.springer.com/chapter/10.1007/978-3-031-56069-9_23
MIT License
37 stars 2 forks source link

Refactoring `SQLite` impemenation for OpenNRE #134

Closed nicolay-r closed 11 months ago

nicolay-r commented 11 months ago

These parameters are both task and AREkit sampling schema specific: https://github.com/nicolay-r/ARElight/blob/927837aadbd761e37dcb2283f7a3379eeb1ada1b/arelight/third_party/torch.py#L26-L30

This operation could be generalized and moved into separated file: https://github.com/nicolay-r/ARElight/blob/927837aadbd761e37dcb2283f7a3379eeb1ada1b/arelight/third_party/torch.py#L45-L48