relik

View on PyPIReverse Dependencies (2)

1.0.7 relik-1.0.7-py3-none-any.whl

Wheel Details

Project: relik
Version: 1.0.7
Filename: relik-1.0.7-py3-none-any.whl
Download: [link]
Size: 222099
MD5: 8e7e19fdb80c9260cacfccf7e2ec7940
SHA256: c70f3d4f4b1c0860ca2c4044de4b951851f09297ee38b5c27ad4b525dd04b53e
Uploaded: 2024-09-12 10:24:17 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: relik
Version: 1.0.7
Summary: Fast and Accurate Entity Linking and Relation Extraction on an Academic Budget
Author: Edoardo Barba, Riccardo Orlando, Pere-Lluís Huguet Cabot
Author-Email: orlandorcc[at]gmail.com
Home-Page: https://github.com/SapienzaNLP/relik
License: Apache
Keywords: NLP Sapienza sapienzanlp deep learning transformer pytorch retriever entity linking relation extraction reader budget
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10,<3.12
Requires-Dist: torch (==2.3.1)
Requires-Dist: transformers[sentencepiece] (<4.42,>=4.41)
Requires-Dist: rich (<14.0.0,>=13.0.0)
Requires-Dist: scikit-learn (<1.6,>=1.5)
Requires-Dist: overrides (<7.9,>=7.4)
Requires-Dist: art (==6.2)
Requires-Dist: pprintpp (==0.4.0)
Requires-Dist: colorama (==0.4.6)
Requires-Dist: termcolor (==2.4.0)
Requires-Dist: spacy (<3.8,>=3.7)
Requires-Dist: typer (<0.13,>=0.12)
Requires-Dist: lightning (<2.4,>=2.3)
Requires-Dist: datasets (<2.15,>=2.13)
Requires-Dist: hydra-core (<1.4,>=1.3)
Requires-Dist: hydra-colorlog
Requires-Dist: wandb (<0.18,>=0.15)
Requires-Dist: faiss-cpu (==1.8.0); extra == "all"
Requires-Dist: fastapi (<0.113,>=0.112); extra == "all"
Requires-Dist: uvicorn[standard] (==0.23.2); extra == "all"
Requires-Dist: gunicorn (==22.0.0); extra == "all"
Requires-Dist: streamlit (<1.29,>=1.28); extra == "all"
Requires-Dist: streamlit-extras (<0.4,>=0.3); extra == "all"
Requires-Dist: gradio (<4.38,>=4.37); extra == "all"
Requires-Dist: pyvis; extra == "all"
Requires-Dist: ray[serve] (<=2.35,>=2.34); extra == "all"
Requires-Dist: pre-commit; extra == "all"
Requires-Dist: black[d]; extra == "all"
Requires-Dist: isort; extra == "all"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: black[d]; extra == "dev"
Requires-Dist: isort; extra == "dev"
Requires-Dist: faiss-cpu (==1.8.0); extra == "faiss"
Requires-Dist: fastapi (<0.113,>=0.112); extra == "ray"
Requires-Dist: uvicorn[standard] (==0.23.2); extra == "ray"
Requires-Dist: gunicorn (==22.0.0); extra == "ray"
Requires-Dist: streamlit (<1.29,>=1.28); extra == "ray"
Requires-Dist: streamlit-extras (<0.4,>=0.3); extra == "ray"
Requires-Dist: gradio (<4.38,>=4.37); extra == "ray"
Requires-Dist: pyvis; extra == "ray"
Requires-Dist: ray[serve] (<=2.35,>=2.34); extra == "ray"
Requires-Dist: fastapi (<0.113,>=0.112); extra == "serve"
Requires-Dist: uvicorn[standard] (==0.23.2); extra == "serve"
Requires-Dist: gunicorn (==22.0.0); extra == "serve"
Requires-Dist: streamlit (<1.29,>=1.28); extra == "serve"
Requires-Dist: streamlit-extras (<0.4,>=0.3); extra == "serve"
Requires-Dist: gradio (<4.38,>=4.37); extra == "serve"
Requires-Dist: pyvis; extra == "serve"
Provides-Extra: all
Provides-Extra: dev
Provides-Extra: faiss
Provides-Extra: ray
Provides-Extra: serve
Description-Content-Type: text/markdown
[Description omitted; length: 50636 characters]

WHEEL

Wheel-Version: 1.0
Generator: bdist_wheel (0.43.0)
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
relik/__init__.py sha256=m4NbPv16lZzn2yw7AWjFjBPsI3sFlPoWRqqBT3cIYjI 242
relik/version.py sha256=t57D35yq7JbtKOF4UoJMSWVFHJcXQanE3nTjU-uUUCc 458
relik/cli/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/cli/cli.py sha256=Z3xm44WVmMg8pkYVCxGFjbQ0jXcJ-81kxC8sto71jUs 6866
relik/cli/data.py sha256=zQrjzDvbfSNhbiryeC0CJI8GMuIyRkYxkv7j08KKig0 61529
relik/cli/reader.py sha256=0FniSATmcbL5ZLrueiv293mbNscXZOV26ltg4E1iz9U 1995
relik/cli/retriever.py sha256=-2k7dCaM-CtBv_OJfXiWpUMtGSh4KbgHcuC1WVjcVS4 16288
relik/cli/utils.py sha256=QwkDAjkp21FBFWhjzYcsEV2dMaap0tvU3rWcyxAYfFM 2386
relik/common/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/common/log.py sha256=26CZz874zkA0DSJRgZP8Z5EQySDCA2B3J2jdK6WywJU 4899
relik/common/torch_utils.py sha256=9w5PQELdPBusrOZOUtRKpOJR49Q_7crv90hdaERmCmM 869
relik/common/upload.py sha256=VWIxWsm-xQ2gl8bKomIQK-haWHUJ_LUBK2LbD5leoA4 4540
relik/common/utils.py sha256=Ls4LDT0d6NXUwRQUb_IL-H0_LYqJlpRSUAXCwGfsP_s 21316
relik/inference/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/inference/annotator.py sha256=oSQmMGe1OeNlGZ0fp0QpwGsWwrLsWmiIn5NIQm5Xx5s 44045
relik/inference/utils.py sha256=muQnU8ASJ_xSX4Eqq3EwzdYJXAJVpOexxckjNTh8Cp8 14082
relik/inference/data/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/inference/data/objects.py sha256=95ouiKFr6oWjXI-T8Nw3UfmMG3z4OBAWo4Al9iDfxPA 3913
relik/inference/data/splitters/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/inference/data/splitters/base_sentence_splitter.py sha256=-F3s00IKjWKiUYrffwvPwz7qAsZRRBNBmB7hw5hHBmk 1717
relik/inference/data/splitters/blank_sentence_splitter.py sha256=ypQQMCHxXIEuXbE7qNQ957C6dZRsCvfdLk9M9v1FD18 835
relik/inference/data/splitters/spacy_sentence_splitter.py sha256=ux470xRt9c_7b6W6NbxDI1SoxuwuBp95PxrllXNqrSg 5726
relik/inference/data/splitters/window_based_splitter.py sha256=l8LAPmfAs0C0wglyuIIyRMTtjc5vvsPO2SN7cidbdc4 2404
relik/inference/data/tokenizers/__init__.py sha256=x02-911dOoHIKONQ9mM5lfrwUcxH5gWQh4IqzNRgqow 3325
relik/inference/data/tokenizers/base_tokenizer.py sha256=KzhrqzdVsulfJWvFoSS1d_dzzr7FDXlDTOiWQkd-41Q 2572
relik/inference/data/tokenizers/spacy_tokenizer.py sha256=iVqyAWiqfZFGNhmY8bEbd6W7iUNXHV_DIl0y4DAO8ic 7332
relik/inference/data/window/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/inference/data/window/manager.py sha256=LVmSzlNETTX7ccZhRP_nhWWKVEfUFQIRdKrWcJ43tBY 20989
relik/inference/serve/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/inference/serve/backend/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/inference/serve/backend/fastapi_be.py sha256=cwCrAfIN9QZU1AtDTFeYpcl7b0VOI_O2staudiTI6i0 10156
relik/inference/serve/backend/ray.py sha256=zzUmmVChfS1L9BSVAUHd9dprO5RVR0fO7EgOqzPZQy8 5592
relik/inference/serve/backend/utils.py sha256=I5OWDO_T4t2bmRVbNyAeFYog22BPc0A3tmic1JGeprM 1933
relik/inference/serve/frontend/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/inference/serve/frontend/gradio_fe.py sha256=TnL1u65H5amt5FBBiO9vx2Yu5Z--KYeqz5k9b4BOCPk 31130
relik/inference/serve/frontend/relik_front.py sha256=qsh_nHgwWAAEnd2gCoZOCNOgoeC4BYP5O-5DmMd2Rrg 8298
relik/inference/serve/frontend/relik_re_front.py sha256=btdmss4Kz7-GFkQjiuSNW2D3jlu-uUKAy62Lpul4CJw 8918
relik/inference/serve/frontend/utils.py sha256=vYhd1hcyWrrnvThqIM9jq-3pdLxNUWH8_-8WJRRv2z8 4490
relik/reader/__init__.py sha256=3npn7Gsd1xBgW-d7beDcNAAhlIqqQbIuXopqVBbp4WM 224
relik/reader/data/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/reader/data/patches.py sha256=KcCVKnTejKVbAhRZQ1pWN32q7kBVbHpyXrgZL_44L28 1949
relik/reader/data/relik_reader_data.py sha256=uETiu5fxXF3jENCMK0ujtzHgOkRhUtEo1CeC4uTSLhI 39037
relik/reader/data/relik_reader_data_utils.py sha256=I__COzPx9bJiJeQU_Z0xG3uKCWPONEkQznYsU1GtFh4 1597
relik/reader/data/relik_reader_re_data.py sha256=GwMULNGk8MUncf-zxmvag-OteXBUrSHw7quKvI1tM0o 51933
relik/reader/data/relik_reader_sample.py sha256=Bx6ORfO6-4HJIx3h4ARNyPf6F4c_Uh_NHVJYtB2FFaw 2010
relik/reader/lightning_modules/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/reader/lightning_modules/relik_reader_pl_module.py sha256=Z6J3t0Q19edLwDc7DU8mhhTKf-mfWJtRJA31OCO242I 1645
relik/reader/lightning_modules/relik_reader_re_pl_module.py sha256=0wqFrCsY0AaobC6UuLUcg6N2XjAcjOoeJqokIQiIIaQ 2404
relik/reader/pytorch_modules/__init__.py sha256=he4buUJvbbKRIBaCYnPymL9YYIieLG5iRnAOgQakQPY 465
relik/reader/pytorch_modules/base.py sha256=jHjZNd8cWiUGEaf16DD506IkCC3mkS-9CAkSU04oFZM 11583
relik/reader/pytorch_modules/span.py sha256=-NBlqkXVXxLl6HDUBTCyPbEEbCCfMZXI4-momX-aRgQ 17211
relik/reader/pytorch_modules/triplet.py sha256=AR2GGu3ZAxjN7wt0mj56m4527TdlF2TUAkT0FGNBWv0 20217
relik/reader/pytorch_modules/hf/__init__.py sha256=0NMI7kowTcTyCZjAWzIdMHd-iSOr9OmDcou_66FxogI 98
relik/reader/pytorch_modules/hf/configuration_relik.py sha256=AfaeMvPnWsutLoWmS8aWSOaC-Km5gS8sd_c6QLs7MHk 1703
relik/reader/pytorch_modules/hf/modeling_relik.py sha256=Oan7M40COTtJhBvWgvRV5d1EoiJTxXKoeJvtjJ7Oyd8 39552
relik/reader/pytorch_modules/optim/__init__.py sha256=QkuHMPB1tvvxr8VPkK1pxmZWTkhG3AQyUXXxjLm58NI 201
relik/reader/pytorch_modules/optim/adamw_with_warmup.py sha256=KWqJfNIomcFa7-PCz0rdWJrJmXviTpiSY3TApiPOKcs 2508
relik/reader/pytorch_modules/optim/layer_wise_lr_decay.py sha256=GRWDdgPPv7Ve33kKhAEeuSV-GYJrRdwS3v0kFoOQ6jE 7174
relik/reader/trainer/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/reader/trainer/predict.py sha256=CI7hNJPIJRbk3LmPacFSA1DhZIhSMLaTIa2g4ml6jpc 1718
relik/reader/trainer/predict_cie.py sha256=fdreCLZNfMLhF4lZLrjaG2RX-mLPAx3VbjC_HTLnt0c 3966
relik/reader/trainer/predict_re.py sha256=fdreCLZNfMLhF4lZLrjaG2RX-mLPAx3VbjC_HTLnt0c 3966
relik/reader/trainer/train.py sha256=hf5EopyP5W1U6S-2vNI-claGjx0hxcp8Rb47YvM_11o 4406
relik/reader/trainer/train_cie.py sha256=MSYeE6rjgu8-n1ZWvdm_iAoJLWF1dd23btSGzBZKmOw 5278
relik/reader/trainer/train_re.py sha256=PTd7PvgmbCazGGegvPxDgBkFE3Y7n7H-DrUkaSFi3Eo 4830
relik/reader/utils/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/reader/utils/gerbil.py sha256=uLGWh4D01EQE9fOq18tmUCWEKdYFe2RbvS7whzbCZOc 8758
relik/reader/utils/metrics.py sha256=jP79N-MYAHm0xy5eUyXgcbBQkSiwtX8JXKeKzvmjWJg 548
relik/reader/utils/relation_matching_eval.py sha256=50akAAlM2oFk6jQ-PE2ifHGSFj82HrPdEeyT0vrgi-w 15256
relik/reader/utils/relik_reader_predictor.py sha256=NVDgPxN5wgIcojWben6-4EwiTrSKc5zM8_7-2J8sP1c 6428
relik/reader/utils/save_load_utilities.py sha256=tmnXP1122ZBlKC70Q0fZX2yvqVeYRmeIHC9ICPpSiUE 2048
relik/reader/utils/shuffle_train_callback.py sha256=4EIAVP1rdIxjFQXRgc2BazmswMsPD2lcgZUX20lwiOA 787
relik/reader/utils/special_symbols.py sha256=tDw_EQ0Ycrn1STxDDzD5ymSxeT2dOKVlx-4SnShAuhE 415
relik/reader/utils/strong_matching_eval.py sha256=z32ejT5g3bmlKZha1bOOZ7fO9T6cRcRz52YWDhofofY 5812
relik/retriever/__init__.py sha256=2RJ4GBhrW1WYx98prvIe_doE4CcDO-ht2V-B5SJV8T8 66
relik/retriever/callbacks/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/retriever/callbacks/base.py sha256=sPMkBXBqEoilbzwcRH2ryNzPLjRf3JJBtquNvUYw8Ro 5810
relik/retriever/callbacks/evaluation_callbacks.py sha256=TZwQcYqCYm4qDx4KgXPTi8_-7Y6vGYgXHrt-FWqyR04 8721
relik/retriever/callbacks/prediction_callbacks.py sha256=-oPqc6M43-XQW8LI1-8Gpvm_rP90FPGTuljnEGe_Rk0 8033
relik/retriever/callbacks/training_callbacks.py sha256=jU6DF5m08v85zvNJQpCSyp27invSMjZepG_4JC7hc4g 8428
relik/retriever/callbacks/utils_callbacks.py sha256=2Zz-cDJVnOrQBGA4Hm_Tx1rwkya9sYK-U408eh0HUEQ 10396
relik/retriever/common/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/retriever/common/model_inputs.py sha256=hLc3kR6bUjIMeXGaZLYJqj_L-F4KW5C9JgOGf4dktsU 1551
relik/retriever/common/sampler.py sha256=F8hFSVAQxry4jm1xk0EdtNKTzKMwbqbhyz0wwQQ3YIU 4030
relik/retriever/data/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/retriever/data/datasets.py sha256=tscvXjyOnM-EOmcGTa6PuBg3Z8gm2AjQ6xUgvSEgWZo 27064
relik/retriever/data/labels.py sha256=7mcJjfsJ42odTyVDY7Lis2qFm_JMsPrqeemxqECd1vs 6820
relik/retriever/data/utils.py sha256=pAJTop3J0bSv73SIvr3cC16BpNEoUYrG3Czfm_e6ODw 5490
relik/retriever/data/base/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/retriever/data/base/datasets.py sha256=5onLriDKXNrX4gigxjsIoCwP2PzRKOlFpTOrIdr9f5E 2488
relik/retriever/indexers/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/retriever/indexers/base.py sha256=ahtWMRZqPFSv7aCyX0z40MXD2pxW8OsRkDkOIqe_tJc 20479
relik/retriever/indexers/document.py sha256=ZD9EkPvaVzAkLApVEbuUMjggauqs-uhf_Xsyb0Z8xug 12836
relik/retriever/indexers/faissindex.py sha256=9SdjrnIbgEqTg4kruBJa2GdbOl6tznQgeXG9_xyRVoU 17292
relik/retriever/indexers/inmemory.py sha256=U1Djf7gm0kEfZv7XuCAnGBn28ZR6zRW-1pbcKjoIFyc 12736
relik/retriever/lightning_modules/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
relik/retriever/lightning_modules/pl_data_modules.py sha256=OyuQa7_yn58p9H4xdBxzlgF5c_9s8DHtLl6sQNecYlE 4461
relik/retriever/lightning_modules/pl_modules.py sha256=4DLji_xH-j2KL0kQq_0wemRFPB9kbR9C8XRTScKx_NU 4244
relik/retriever/pytorch_modules/__init__.py sha256=8U1Fkhx6RojYdN7QZn22-8caftIkYZ9hfaihYa5dJJw 731
relik/retriever/pytorch_modules/hf.py sha256=T85TK86BxQxEvalyMw6toAvaXDBfNAEprC6mg0lAFMI 3256
relik/retriever/pytorch_modules/loss.py sha256=1vxWA5jLAYB62OY2v7gdinEniq2-KqReH-S6CQWypu4 1156
relik/retriever/pytorch_modules/model.py sha256=sT9j-LOcEy3aCEeEs8rKn-Qety0YqgtbsaSu2f-4KoM 24873
relik/retriever/pytorch_modules/optim.py sha256=JhHhmSrSd6nG9ub95jMD--suCUzIXHzznyYo9eNqylY 4338
relik/retriever/pytorch_modules/scheduler.py sha256=SkQNT_50oGjMZE8B5F2tFgSGGWZWo8BlNhnYJ9wKcpo 1762
relik/retriever/trainer/__init__.py sha256=P4NeKfuGaa8IAHCXpQPewEO_k2r_L-027REtq8wA_KU 59
relik/retriever/trainer/train.py sha256=urtKyq8PLEXC5Lmr98j6nVhng4YxRSC3SM2jeEyO2wM 39539
relik-1.0.7.dist-info/METADATA sha256=_XPTR0NJqjmjWUwQvC9NbzcKWwG9sEHMBQiuSGxdp_0 57545
relik-1.0.7.dist-info/WHEEL sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ 92
relik-1.0.7.dist-info/entry_points.txt sha256=lpo78Dw0jtG93d5g9bZlzUNh0O5nK4ykRPHBrGtjKzg 44
relik-1.0.7.dist-info/top_level.txt sha256=ZrvT97i11I32xdu-HaC7JhRMt2W7U8dSKJK7Jw9ordg 6
relik-1.0.7.dist-info/RECORD

top_level.txt

relik

entry_points.txt

relik = relik.cli.cli:app