zshot

View on PyPIReverse Dependencies (0)

0.0.9 zshot-0.0.9-py3-none-any.whl

Wheel Details

Project: zshot
Version: 0.0.9
Filename: zshot-0.0.9-py3-none-any.whl
Download: [link]
Size: 114311
MD5: 0a82b6b709ea08a6fcbb231ece78a853
SHA256: 8a532a952538b21b3409d88bc16133dcb6a00b34e9a4fb1985e6df6073505876
Uploaded: 2024-07-23 15:51:19 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: zshot
Version: 0.0.9
Summary: Zero and Few shot named entity recognition
Author: IBM Research
Home-Page: https://ibm.github.io/zshot
License: MIT
Keywords: NER Zero-Shot Few-Shot
Requires-Dist: spacy (>=3.4.1)
Requires-Dist: requests (>=2.28)
Requires-Dist: tqdm (>=4.62.3)
Requires-Dist: setuptools (>=65.5.1)
Requires-Dist: prettytable (>=3.4)
Requires-Dist: torch (>=1)
Requires-Dist: transformers (>=4.20)
Requires-Dist: datasets (>=2.9.1)
Requires-Dist: evaluate (>=0.3.0)
Requires-Dist: seqeval (>=1.2.2)
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 16435 characters]

WHEEL

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

RECORD

Path Digest Size
zshot/__init__.py sha256=-GAakswxlF_nGsgM5N2YZ8zkP3bZcOqJysVn48wc0IA 221
zshot/config.py sha256=jIhRiagZTGNJvHMVDyDhp4VRV5l0D3y678lZFTveE4M 164
zshot/pipeline_config.py sha256=MF3_XuYIDKiBYzITX3yvIxuAVfxIV_L50OMNap6sVuE 2878
zshot/zshot.py sha256=0VfQS0b1bwxlkTB-MoL03UQOC_96sgyg4tylEeS8mfE 9602
zshot/evaluation/__init__.py sha256=i5c-TRpsNQa6JNibXyzo8EAMNPKDUbocIa1j31ipnNk 207
zshot/evaluation/evaluator.py sha256=psq75BrpUR8Yd9iqfg4cTlX2r3Q1ACf5hFQ7ZwlmGqU 4302
zshot/evaluation/pipeline.py sha256=87jvN5EeMTZweO4fFND34AznfrEnzLvTF8g0gCMuJp8 2121
zshot/evaluation/run_evaluation.py sha256=jc0DCx9lORf1f5atLIPr_kYdeZAUawa8d8mOfz2yQDo 4969
zshot/evaluation/zshot_evaluate.py sha256=gDOo8dYXM4cdnTZzzq2OAR1AeKTjkoQDTyy8U0bAsr4 4137
zshot/evaluation/dataset/__init__.py sha256=b5NeyqDvvqD5wMJH5fwY9gc3HzIGaPUUUgN85H4Icbg 268
zshot/evaluation/dataset/dataset.py sha256=5tI7m2Z9Kce2TLUXxLi4q-D4YpY9SqNUPBIgZ_2Ma-M 1646
zshot/evaluation/dataset/fewrel/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/evaluation/dataset/fewrel/fewrel.py sha256=VjmnEjHU2tzwTpmFoPyDDKiGurV7BgF_gLUStoQpHyY 1892
zshot/evaluation/dataset/med_mentions/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/evaluation/dataset/med_mentions/entities.py sha256=6O9Ln10PWwobjYXnQ_WhfXRCdi9-n4Y8jqIhmoxkppA 6508
zshot/evaluation/dataset/med_mentions/med_mentions.py sha256=n5a2tivToyDrFoSAm03_LM3R0VZZKV5yvEFXzv-4v7E 1435
zshot/evaluation/dataset/med_mentions/utils.py sha256=xq58omWAIgw7wCnQjpH1Ze6ompPDdiqOIGyBqJBGAjI 5555
zshot/evaluation/dataset/ontonotes/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/evaluation/dataset/ontonotes/entities.py sha256=uo8LZE9erCh_UOe3RmQfwAUpskAYStKnbviKH31gqtw 13273
zshot/evaluation/dataset/ontonotes/onto_notes.py sha256=4RrpyZAxWeE_SMBy5UaKM1FvTnqvw1k2cBjF66lD-s4 4086
zshot/evaluation/metrics/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/evaluation/metrics/rel_eval.py sha256=2guOBGSnzdPu2vLAeoFQIXHFsqZJ7nY5QfFF2Xl_pik 2057
zshot/evaluation/metrics/seqeval/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/evaluation/metrics/seqeval/seqeval.py sha256=nS_wSZ3KzG87UwbF-GNamuVH3U_NlG1PYVOUoiFKTQ0 5902
zshot/knowledge_extractor/__init__.py sha256=vtlHMqaOU9j_rpgDU3dEU1ZSojbTOkJuLU5MBu-Bd-w 184
zshot/knowledge_extractor/knowledge_extractor.py sha256=rPo63eQWr4QAsnlhUpFDg-d5pXXgf3VfKC77AYkBpzE 3631
zshot/knowledge_extractor/knowgl/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/knowledge_extractor/knowgl/knowledge_extractor_knowgl.py sha256=LZDUg7sQa6OKubNns0vo-QiDJ2ptqlzzfsjQTO1xH94 3346
zshot/knowledge_extractor/knowgl/utils.py sha256=JB1uOgN0Fy_E-00ClegTkSwo4ifpmufaDICWWbpnUig 4456
zshot/linker/__init__.py sha256=T9TtVZY6ebBa0EA8-ys-Dpu0T4NRpf4_W-iXAPXjRm8 388
zshot/linker/linker.py sha256=5Kvcxpd40Obcq5PHOXA6-6rq4nCmnwxdRs_mh59pRvc 3483
zshot/linker/linker_blink.py sha256=XV5Z5m63mQFydimBfmjuMTY_XISzv-mKVFksoleN2eU 6533
zshot/linker/linker_smxm.py sha256=bgW8Vv_gkQwIGpiFpNvmrLYHcDbAOfTHtNGYh1LblyU 1985
zshot/linker/linker_tars.py sha256=0-818KCAnjbWOzJ5zvMDignr0ZOO3xoI0DHoTgGxDM8 3277
zshot/linker/linker_ensemble/__init__.py sha256=w6GzHnpC80rh4xeqKquX1M38Kob051OueJa-4DlRst0 86
zshot/linker/linker_ensemble/linker_ensemble.py sha256=vvx5uxxntLe9YPWVb4YoCxGcdfc_zRa5b20vcxveY00 3509
zshot/linker/linker_ensemble/utils.py sha256=8FmoaoHxQM8GoI2ibcii_8p1Gg88OXaT4gxkB-Y1mrc 1145
zshot/linker/linker_regen/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/linker/linker_regen/linker_regen.py sha256=8Gkyb59Xg650mjW3CMPj4oC9cyQL856FRE1xb1S8cfE 5430
zshot/linker/linker_regen/trie.py sha256=6BlmZKSqW_SpmWVj9E1bcddMNlI3fH14GK7U1QCZ36U 746
zshot/linker/linker_regen/utils.py sha256=aKQ2OO1Axzf7Mm1Avf2rPk_69lg361o_yTb0vvIMtXo 2171
zshot/mentions_extractor/__init__.py sha256=cNL7qKswktFd-qcAahyo-jfGg5YfuFRFJPxfqsyn0cQ 480
zshot/mentions_extractor/mentions_extractor.py sha256=uEv1wDx5LGY7psNp3iRAhLmx4-Q6T5wFtSe5UOHjMkI 3007
zshot/mentions_extractor/mentions_extractor_flair.py sha256=y4ZsP2GSdD9nIvJmDC7UehcRVKC65GHZvXIFqV_Drxw 3832
zshot/mentions_extractor/mentions_extractor_smxm.py sha256=Czay8_nziTloYaYBAdqfhYAmxjLyzKM7KU2DY6za7Ag 1949
zshot/mentions_extractor/mentions_extractor_spacy.py sha256=5axonTi_3sYMxWjUN9yBLKP3LRijeNz3M2e2Sjcsf0I 3112
zshot/mentions_extractor/mentions_extractor_tars.py sha256=qy1O0CKYF3D-meeAyPVw3u9UKHaTmXSuACSqT2iDCCE 3336
zshot/mentions_extractor/utils/ExtractorType.py sha256=wY2SdznIXa3vQCIK-EZT6BcAiZw9CBlMiIy2hRSBR30 91
zshot/mentions_extractor/utils/__init__.py sha256=bcWLPrs71OsECbNoL2_YkAkG4AJM-TI4MhR0wHVP71w 85
zshot/relation_extractor/__init__.py sha256=CTb9DAnusPvx_vzQn3KYhtk86yavHm4ZIGu09uyC7w8 188
zshot/relation_extractor/relation_extractor_zsrc.py sha256=SfkO64d1Qj0I8bjldx_cEThSi-9whzQ6jPDtpENXBiY 3769
zshot/relation_extractor/relations_extractor.py sha256=4aZG_DcnkIzG3JcOFwinzsarLx2Vetr8nhOJNCmrElI 2891
zshot/relation_extractor/zsrc/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/relation_extractor/zsrc/data_helper.py sha256=MhIRVimqZJMJraBhcg5Dv5D0o04X7ctSs1II9kmJpq0 4493
zshot/relation_extractor/zsrc/decide_entity_order.py sha256=2YrfxTVTDj7j4v4OXMi0x79TJ0qw4CKdqqkHcI32kI0 1232
zshot/relation_extractor/zsrc/zero_shot_rel_class.py sha256=nwD2uEUHFVy4S8BIV24HIgC-6mSftUMmTNA3Jdq6t-Y 3465
zshot/tests/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/tests/config.py sha256=XJRwKVJ_mv663owbq3pyu6U9FQ2ir_-oTe567Bs7yD4 3923
zshot/tests/test_zshot.py sha256=EXUkHIE5jXOcGjReTU9tU7YQRXsHvt8_ieOZLz6qw1o 4510
zshot/tests/evaluation/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/tests/evaluation/test_datasets.py sha256=gDhA3tmJXGgq_c2wll0ot_zkEX6zIB3qFpbF68BSSn8 2124
zshot/tests/evaluation/test_evaluation.py sha256=9ZHZvZ6rL3IyQCMZjcSv3M56AQvemh07Z5BZUoFPK9U 16991
zshot/tests/knowledge_extractor/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/tests/knowledge_extractor/test_knowgl_knowledge_extractor.py sha256=8KvQ374XmmlGqdiCIIFIJ-K4lEpXsyavgTRwxObjLZs 3209
zshot/tests/knowledge_extractor/test_knowledge_extractor.py sha256=-cWAH4O4IrutJGByLTIUKtQgBSAO8VAXpkTv0_AVCOY 2558
zshot/tests/linker/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/tests/linker/test_blinker_linker.py sha256=5sppdz3uznKfZWlv2Rr61eHcSeNELlcbAJ6qVkCyxOQ 2230
zshot/tests/linker/test_ensemble_linker.py sha256=RsNAOSB7OQ3xeMmZMXARBWqtodorrjPXfnk5SST7YHI 1745
zshot/tests/linker/test_linker.py sha256=trnuxjRryFu3pNNluumEIjJw5zjQW0beJs6WwKK-7uI 2991
zshot/tests/linker/test_regen_linker.py sha256=6WakJJSEDgZBuuZ2CpPEneQn68S_QQ6EDrBCgJZI_Ng 3368
zshot/tests/linker/test_smxm_linker.py sha256=WSnbV-e8DtaPIYpRvijeAJsn-RpxOwnkIt1g3XDlJgk 1571
zshot/tests/linker/test_tars_linker.py sha256=opvjoakHJZgpYTnxaSa-Cv0oiPOricZcgJbei3Q9Xmc 5003
zshot/tests/mentions_extractor/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/tests/mentions_extractor/test_flair_mentions_extractor.py sha256=2Tfqu91Q-5l6KDD5HbOFv1E_jfkZ9w1ge6DvRZuqDGI 2933
zshot/tests/mentions_extractor/test_mention_extractor.py sha256=gIxrymxuH8tfN5c876BCtjwTTZKhl87Pnn1M15PWguQ 2128
zshot/tests/mentions_extractor/test_smxm_mentions_extractor.py sha256=ltQiA0-w-oRDf_qw1KpAmAdZt7Q1Y_9MrXiBn-2jJQM 1817
zshot/tests/mentions_extractor/test_spacy_mentions_extractor.py sha256=kVLTAbK17CuGRDVJKoj2bpWVsKFZ-YQ9X0aiCAg3ONU 2476
zshot/tests/mentions_extractor/test_tars_mentions_extractor.py sha256=o3TbX_OenRxI5ki2IPnLiLU8mgMBoeDnW6-XoiE19Ls 2882
zshot/tests/relations_extractor/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/tests/relations_extractor/test_relations_extractor.py sha256=c0HMhCZ4YjpDYyi9BPxS2kLnEEDdA6f0FK16eCdsQX4 1875
zshot/tests/relations_extractor/test_zsrc_relations_extractor.py sha256=wsGlJLgeoNO98fe7N6fY3_KS4QVpcVHOHODmHraiJ5U 979
zshot/tests/utils/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/tests/utils/test_data_models.py sha256=pLKqDIauQARHRacQG8LkvqdjApTjaM7E2OW8L5hbJ18 3969
zshot/tests/utils/test_description_enrichment.py sha256=kSVJ_1bs4U6zTVhEi1N8lOEylgLMROraj_hZFr0iVcA 3462
zshot/tests/utils/test_displacy.py sha256=1sKIppMWxnlcqooz9s1M-JUb5hbkhpwDK6JW8kJVdYU 4108
zshot/tests/utils/test_ensembler.py sha256=w-FYi01wt6dwuxz54VKpNltCSCSf9Vm90vbfxA6bNdE 2738
zshot/tests/utils/test_mappings.py sha256=HaH-qqYYXSg87N_BYR7ycCfw-4u1oS4wfIwlhpPMd7M 780
zshot/tests/utils/test_utils.py sha256=SZBcwjVmuJU1zIgjAyty0zOhUeoEZhrqILRLZFX0HMs 6399
zshot/utils/__init__.py sha256=3R1N1-Y0VWTpYreApzKTwxWhJhCNfjXzhp_1dekFloU 63
zshot/utils/alignment_utils.py sha256=vKxSioGUoN3fmKzMf3OxF197fNR6K-z5PkK6kr-xMFI 5304
zshot/utils/download_models.py sha256=qNV1y-gvDv84Oh8bcRp2ONIyItC3SJaGQ8WVnlrqz4s 1214
zshot/utils/ensembler.py sha256=QYPXUtPpmGi5PrsaSpuLZFew1vwiiWmxzeUl5BTDnQE 3887
zshot/utils/file_utils.py sha256=VL6m_gSz3aft-bfZENcdnV7vFe5LLYlL1AtKptAKp6E 1037
zshot/utils/mappings.py sha256=Pv5myBB11Ao-o5ByXy7GKUYhM0zktc2PLvHuW1WT28E 2004
zshot/utils/data_models/__init__.py sha256=VLKhuMCi6TfehCThbUCP7uo4ZAFFOOyuwNnjrC2-4hs 192
zshot/utils/data_models/entity.py sha256=XdG6pS5ALMqCtwwOLk1LJbLLOBoXAa9Q3alRrfYUBiY 340
zshot/utils/data_models/relation.py sha256=rxTA8CZcx3dv1cEpJdXrNq2U8yjeb4Z_7rbhxoz7Uo8 287
zshot/utils/data_models/relation_span.py sha256=SAFP0xCF6qzPaT18UEzzeUf5mZn4RUqXgmT0NSIffiY 1095
zshot/utils/data_models/span.py sha256=g9th5ABq__OPBEuBAk01lR7mMc-i6zWq1wIapK_9aYk 2416
zshot/utils/displacy/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/utils/displacy/colors.py sha256=wnb8MivX6Ng1z7CIu6iXEai9KhY0xRVSeMHbPaZX7Wo 361
zshot/utils/displacy/displacy.py sha256=_Kle8D6A9pzkcj3MbknLmbJ-GJ12l7IfFhqiwGt07X8 3397
zshot/utils/displacy/relations_render.py sha256=9R4asWHeppNJp_AzHBQucZypLJGlvuND_2hJ0esSQgM 10846
zshot/utils/displacy/templates.py sha256=jzb_m8Qr21YH9_VzeeggLAifjERN4ogaz2QQ7nqU-ic 6123
zshot/utils/enrichment/__init__.py sha256=oW1_pmJWAUml6lw4VS1xN9UQR50MExMHhBn9RMMvz7Y 207
zshot/utils/enrichment/description_enrichment.py sha256=zKsnIxb7zrSI47y8P7kvSTnflYkusU4UwTjxSi8IkAQ 12972
zshot/utils/enrichment/evaluate_variations.py sha256=YdspyRg5HPAFfiPd_EK3Dl4odAWKIeK4mYMHVomWzAs 4714
zshot/utils/enrichment/prepare_evaluation.py sha256=7t7ar9lszxaciecxEzup9J2GwkTDuY37ZnYYalA88Fs 4601
zshot/utils/models/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/utils/models/smxm/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/utils/models/smxm/data.py sha256=Zo-a2IXGdIGGHe73a3qNbGbMAdvpRh4SX5iLrGZabJ0 4745
zshot/utils/models/smxm/model.py sha256=tQY2_vyq4oJDND0kUnq1trM1j8fU18ZP8ERl_6oKGI8 3493
zshot/utils/models/smxm/utils.py sha256=Wk-bT10zOImtCmDdbZ8Hsg9sQx45t0v2e10A0U_-RIo 6127
zshot/utils/models/tars/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
zshot/utils/models/tars/utils.py sha256=80ew_ODTXoYjeOzqufChMd5ajXj2NaGaaRpgi1nGINs 528
zshot-0.0.9.dist-info/LICENSE sha256=m91k-qBl2fRDpR_0tFaOWy1NdaH1GzVsLrAtmC6Bq94 1087
zshot-0.0.9.dist-info/METADATA sha256=RQ4mjH01Jm-EJQG_B8QfmTe1NOWH5iqY6rM_xMKhYhU 17032
zshot-0.0.9.dist-info/WHEEL sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk 91
zshot-0.0.9.dist-info/top_level.txt sha256=Oi-OnJqnlgA8WPmXUpifSkCWF9WDmvWnH7lRYbaXPO8 6
zshot-0.0.9.dist-info/RECORD

top_level.txt

zshot