apiprompting

View on PyPIReverse Dependencies (0)

0.1.0rc2 apiprompting-0.1.0rc2-py3-none-any.whl

Wheel Details

Project: apiprompting
Version: 0.1.0rc2
Filename: apiprompting-0.1.0rc2-py3-none-any.whl
Download: [link]
Size: 1448251
MD5: d01d5188749a1821f01eb0cb0fcb1eea
SHA256: ff619990414b20ba72f25019e4b8f40f0f3d8c8cfacf9e06f68c9826f03d3761
Uploaded: 2024-09-06 10:07:57 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: apiprompting
Version: 0.1.0rc2
Summary: Package for an easy implementation of paper "Attention Prompting on Image for Large Vision-Language Models".
Author: runpeng yu
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10,<4.0
Requires-Dist: accelerate (==0.21.0)
Requires-Dist: apillava (==0.1.0)
Requires-Dist: bitsandbytes (==0.41.0)
Requires-Dist: einops (==0.6.1)
Requires-Dist: einops-exts (==0.0.4)
Requires-Dist: fastapi (<0.113.0,>=0.112.2)
Requires-Dist: ftfy (==6.2.3)
Requires-Dist: gradio (==3.35.2)
Requires-Dist: gradio_client (==0.2.9)
Requires-Dist: h5py (==3.11.0)
Requires-Dist: httpx (==0.24.0)
Requires-Dist: imageio (==2.35.1)
Requires-Dist: markdown2[all] (<3.0.0,>=2.5.0)
Requires-Dist: numpy (==1.24.0)
Requires-Dist: opencv-python (==4.10.0.84)
Requires-Dist: peft (==0.4.0)
Requires-Dist: pydantic (<2,>=1)
Requires-Dist: regex (==2024.7.24)
Requires-Dist: requests (<3.0.0,>=2.32.3)
Requires-Dist: scikit-image (==0.24.0)
Requires-Dist: scikit-learn (==1.2.2)
Requires-Dist: scipy (==1.14.1)
Requires-Dist: sentencepiece (==0.1.99)
Requires-Dist: shortuuid (==1.0.13)
Requires-Dist: timm (==0.6.13)
Requires-Dist: tokenizers (<0.14,>=0.12.1)
Requires-Dist: torch (==2.0.1)
Requires-Dist: torchvision (==0.15.2)
Requires-Dist: transformers (==4.31.0)
Requires-Dist: uvicorn (<0.31.0,>=0.30.6)
Description-Content-Type: text/markdown
[Description omitted; length: 4900 characters]

WHEEL

Wheel-Version: 1.0
Generator: poetry-core 1.9.0
Root-Is-Purelib: true
Tag: py3-none-any

RECORD

Path Digest Size
apiprompting/__init__.py sha256=FeuT-6yVK-yM-8S148Pc7BIXrFXI-1jrXWXKxKNwUVc 73
apiprompting/api_clip/clip_prs/.gitignore sha256=mFhsSY2IdHQkigF0iRcTPdcKgjpYib6OrZvoK34YS-M 77
apiprompting/api_clip/clip_prs/LICENSE.txt sha256=vI9g7lBUSy3XC0vJDiLeUDqiOzF9KEBGpHmBHy4G85Y 19333
apiprompting/api_clip/clip_prs/README.md sha256=YuWC67V0fct4EM8c6FoazsRs30CaVA8o94N8BVPqYnc 4674
apiprompting/api_clip/clip_prs/environment.yml sha256=ZKmCWlLMsgCqmsbjsaDJPK7duaW9nPiIEiDft0wACqE 275
apiprompting/api_clip/clip_prs/utils/__init__.py sha256=K9COaBNXgfgBxaD2OMlupG74IlpWMUcS677-0_Kq1Q0 656
apiprompting/api_clip/clip_prs/utils/binary_waterbirds.py sha256=0qRTDcJ_7cDBmFsDJGwr9KX7DbJ84quBpK4bg7va8fI 1725
apiprompting/api_clip/clip_prs/utils/constants.py sha256=7plDdbiHgaR7EcTQCsqsvfDuDsRMJRLc45_798FEVaA 115
apiprompting/api_clip/clip_prs/utils/cub_classes.py sha256=YOUEBhb1PbsQPcYXmeGnsVWmnkdVo2x0DXEdqIFEdW4 3992
apiprompting/api_clip/clip_prs/utils/factory.py sha256=aM4kbi9OBarFdwdp85Xl8V4Wg1IrruVnkAgLjzv5pZA 14362
apiprompting/api_clip/clip_prs/utils/hook.py sha256=Q9WtdN1HMxD9KRSym44jpgm7HlFQUcAYrybwPT7hDKA 3935
apiprompting/api_clip/clip_prs/utils/imagenet_classes.py sha256=SpvV_u136t1SuTt6GociKOSieqEqB64VPWiXHvqfKao 14833
apiprompting/api_clip/clip_prs/utils/imagenet_segmentation.py sha256=A_8EUZxoQZB0uxLzJkLQJyCHyclmaZTG07ekIxKI_Ao 1367
apiprompting/api_clip/clip_prs/utils/misc.py sha256=DtSW5_Sf-cw2X-3_lkRLtqhDG61B8Y-r9B9nVyYon1Q 4269
apiprompting/api_clip/clip_prs/utils/model.py sha256=6Lyj7fVSyBNYtj6GjWJsFioSIS6ixWdzXpfHWj1Kd2Y 15866
apiprompting/api_clip/clip_prs/utils/model_configs/EVA01-g-14-plus.json sha256=gYprvWYeJ6az_w1MJuU5RRbPQHsG_VxFsFP9Nguo_YA 401
apiprompting/api_clip/clip_prs/utils/model_configs/EVA01-g-14.json sha256=FYgy4kV7ClILBOs_byIGzDreki68_nRgtXzEm1CcRYo 400
apiprompting/api_clip/clip_prs/utils/model_configs/EVA02-B-16.json sha256=cQxG9f_j6FDRXgcP97YPUZd71bF4fSqugccqUkPLkfs 404
apiprompting/api_clip/clip_prs/utils/model_configs/EVA02-E-14-plus.json sha256=bl7Tr0zCY9tlNcjuv1_Ru_cN9wbA8FbiPONj7gsuxjA 411
apiprompting/api_clip/clip_prs/utils/model_configs/EVA02-E-14.json sha256=ZJC9wal4bCzThPtPlkJe00OHXC9Hkajtt6WaDO4GCx8 411
apiprompting/api_clip/clip_prs/utils/model_configs/EVA02-L-14-336.json sha256=_TkQOAbWMWpiDnCxU9Ga_f5tHJJdYMVG6PX__rAilh8 406
apiprompting/api_clip/clip_prs/utils/model_configs/EVA02-L-14.json sha256=JzxP7DlkbLDyX1-FzRM7AN3K6BffxpK3mRViF_2T0r4 406
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-B-16-plus-240.json sha256=CbKmXqe_dXRAuJtS56Cf-F1VZjXw46TKdhCeQqrG41E 295
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-B-16-plus.json sha256=jgxkXJGQs0xIwoHLwkPh7Xw_08HuXyxYhf6cF7EcMno 295
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-B-16.json sha256=ZtSHZ6sRWR9K8tLRvyGEXD8r6hescOCYmZH_FmpTrlI 294
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-B-32-plus-256.json sha256=_LdxkUxZNx7CIvBd1a9Epdp0xyhVwcaG8_lwHJXWRzI 295
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-B-32-quickgelu.json sha256=Q33GrMhFUmfCZG6E-ICgJtkawggo25sQCxil7boOdno 318
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-B-32.json sha256=dD9PzuOuoXBcGGX4mjdn2BZRN2n1frSDqe6j5hDr5jM 294
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-H-14.json sha256=i1vRHhd18P15InugXAfzM5scTaLg8h9UJmMXdKhKYFg 324
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-H-16.json sha256=RclQ6MmDALXgCFeB6fkcxvEv-UtD0O0PloftmTIJ6O8 324
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-L-14-280.json sha256=hI9C2yS-2lXOBE-4LMT_rjT6OnaRhMIYenHlB03yCcE 296
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-L-14-336.json sha256=mA2NomvxG2UUJq3bETiB8k9wdYnr7Me4giaeNnizPoQ 296
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-L-14.json sha256=YWdQqSfqjYsLjk7JMXnKs9-eTxUxy2DMXdaILLBjiIs 296
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-L-16-320.json sha256=5Ldmh1qlsbMD24BLtEbUx4IT7TS8CJ55KXsUKHuVIzE 296
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-L-16.json sha256=6uiTJ3E35s1PBxJlQj0TVmNSgBjME72_UHCf6qgChPo 296
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-M-16-alt.json sha256=p4iNq4dGbSbN1_5rHfmVwXAoyiG45oSKqf9UnNV_3wg 325
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-M-16.json sha256=IoUu5tHkyXf5m3nYN_4ibDFfdcFqIvgJoW32osF5LUk 294
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-M-32-alt.json sha256=ob4sUqgT91KEJoPGBHJxK75s8QqK2-7P-Uz-DJ9e8xA 294
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-M-32.json sha256=MLhmw8SIqEGQPwzgiSIkz2zYiSQYai8b9cypD-PlKe8 294
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-S-16-alt.json sha256=N3_5asMSYSXC1Z9xVnVCq0VjIwsc-UKHYU3RLfhueP8 294
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-S-16.json sha256=aKOyZ9otmNqlLW33-ed2Tf5othni3c2gq3oAdNUFe-s 294
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-S-32-alt.json sha256=jmDaGagupC58lxAq5VHTFJfaZtuxF5OACHVYT8tGx2A 294
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-S-32.json sha256=-O7vFHWaY6J2hqvX66Ra5Ftp8DRMMvv_Z8BZyPAW2js 294
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-bigG-14.json sha256=b1_E6Fc5yjVGgE4wF49SQbO-K-zYz1LCgrbpDHQqnzA 354
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-e-14.json sha256=J-jTKhx3J--E-0qywze2n8t6rpYkPIvPtLS7r_0qg9E 354
apiprompting/api_clip/clip_prs/utils/model_configs/ViT-g-14.json sha256=RjFgqTL3V3Te0kHUIX7r0XL-fAPCRkZTCiS4myAUjfU 353
apiprompting/api_clip/clip_prs/utils/model_configs/coca_ViT-B-32.json sha256=XcCpp4A_77RfrdeK5TSDnSrcJY7-S3Mv35w3C0nK7uU 659
apiprompting/api_clip/clip_prs/utils/model_configs/coca_ViT-L-14.json sha256=cJdoI5plmP4T8Z8cz_0VLVA8TFGEfqIR9K7-whWKkfg 664
apiprompting/api_clip/clip_prs/utils/model_configs/coca_base.json sha256=QeqIUpxScAcV66XpCsDk7cpEUzRhldHDBctxq32MdeA 669
apiprompting/api_clip/clip_prs/utils/model_configs/coca_roberta-ViT-B-32.json sha256=MXO94qCV5-Z9-G5fz2mM7lJmOyyvD82tkSgLnN-GPB4 517
apiprompting/api_clip/clip_prs/utils/model_configs/mt5-base-ViT-B-32.json sha256=3qEED4_Fzgl6e6OEVOMIsZ0ALfb5ChdVbUju2UwZqWA 325
apiprompting/api_clip/clip_prs/utils/model_configs/mt5-xl-ViT-H-14.json sha256=NWtl4eMbDk7jdLPS8zJjGxMVW41i9ZelaJmSkuPj1uo 349
apiprompting/api_clip/clip_prs/utils/model_configs/roberta-ViT-B-32.json sha256=Sm1xQlLJcDfA9RlBWYgtGjmRRvNUgydVgazCfJlKvhE 343
apiprompting/api_clip/clip_prs/utils/model_configs/swin_base_patch4_window7_224.json sha256=HLgjufq5vYUdgawK91HMt_qe0euzGhbOop4Byow-3Yc 380
apiprompting/api_clip/clip_prs/utils/model_configs/vit_medium_patch16_gap_256.json sha256=UEJjl_xuKOIF31W5qt7cScR-c5BCKepYj87yng5loH8 377
apiprompting/api_clip/clip_prs/utils/model_configs/vit_relpos_medium_patch16_cls_224.json sha256=sFOa4Z2v-Y1O36v9cRqAjgG8Ni4jQUQ43RWOxDDdeyg 384
apiprompting/api_clip/clip_prs/utils/model_configs/xlm-roberta-base-ViT-B-32.json sha256=8sPUVCy0p3L-zr6qKapKmBwpvwM38IpQIQzG1KU3Jms 327
apiprompting/api_clip/clip_prs/utils/model_configs/xlm-roberta-large-ViT-H-14.json sha256=F_vd07VqRT8U7Z3_GipIq-NCX2BobTzwUxlAkh-Km74 357
apiprompting/api_clip/clip_prs/utils/modified_resnet.py sha256=8Kr3Ek6ttfO3ekkI1GGGzAgxpSjp2u4DL8p7fgNqlOA 7024
apiprompting/api_clip/clip_prs/utils/openai_models.py sha256=mLwf73i8dWjPBlTRu-svRXhOgDEWaRD24ylV9Paprd0 3200
apiprompting/api_clip/clip_prs/utils/openai_templates.py sha256=hmSnF5seKgpwMBaZAudf9XXrcIWoLuAoIqArUJ6kJfU 3302
apiprompting/api_clip/clip_prs/utils/pretrained.py sha256=_h7oh_Ia60SwefA8lyYoC18kSEWEcIry1WnyV6qx8uM 17700
apiprompting/api_clip/clip_prs/utils/segmentation_utils.py sha256=nG6VDYBn91LToO4Hp7QkjTQ1LowaK4bGvbdt8DTG8z0 23723
apiprompting/api_clip/clip_prs/utils/timm_model.py sha256=dJuFTZGHFkpViCrc370_vZgt6rDfSWIlFJDoJ7p_NiI 5751
apiprompting/api_clip/clip_prs/utils/tokenizer.py sha256=cDvRUxMD3G7-p5DQd8zwEeyrKel8KpG3G0QCa-CtDI8 7416
apiprompting/api_clip/clip_prs/utils/transform.py sha256=ypifu3Z20G6Qs0mwwkdSZOzWLr6cZI3FKFltVBUYfag 4778
apiprompting/api_clip/clip_prs/utils/transformer.py sha256=uWUhvoerNZfPcppH0BuTOttz6wh-4WaupFR4gSFlFdo 34869
apiprompting/api_clip/clip_prs/utils/vocab/bpe_simple_vocab_16e6.txt.gz sha256=kkaRrCiOVECSNhFWUq1KolD0ggPeUKnkcipuzUjWgEo 1356917
apiprompting/api_clip/hook.py sha256=iYdSolIBzfWdkcpWqKyELWjVDQYI5jIvolQzExGYb9E 4488
apiprompting/api_clip/main.py sha256=j5aTfYCwl0wmAtbc1HwbqY54KtpOM75buHSvBDNwSDQ 7048
apiprompting/api_llava/functions.py sha256=9ubyu-cEgm2yG2DL6i2sOCwZU8OebxkQiOClj0aFCYQ 5779
apiprompting/api_llava/hook.py sha256=7hfLoGNbxloWLS2GofMugfYoiU-etLYvKmyzImHzvjA 3577
apiprompting/api_llava/main.py sha256=a7yJa5MsAX-T2Ap6ftHfnCHjMZi9yhB-WlUGrfqPa_Q 5231
apiprompting-0.1.0rc2.dist-info/LICENSE sha256=4dXJRJMqfBHqrs7VQPN2MmjHOWMxlHmXPxSlhSxF-t4 1066
apiprompting-0.1.0rc2.dist-info/METADATA sha256=nBGapmBj29cHrNnyNmUQ3tcZVZWg15vq9ILzy2oMckA 6539
apiprompting-0.1.0rc2.dist-info/WHEEL sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg 88
apiprompting-0.1.0rc2.dist-info/RECORD