transformers-cfg

View on PyPIReverse Dependencies (0)

0.2.1 transformers_cfg-0.2.1-py3-none-any.whl

Wheel Details

Project: transformers-cfg
Version: 0.2.1
Filename: transformers_cfg-0.2.1-py3-none-any.whl
Download: [link]
Size: 67159
MD5: df0b8669f8d27ec9e97d895da21bb53b
SHA256: c0feb72fbd64587db7c6cd113f93f45dbe59037ba60e68a12eba06f780f37645
Uploaded: 2024-05-15 19:17:49 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: transformers_cfg
Version: 0.2.1
Summary: Extension of Transformers library for Context-Free Grammar Constrained Decoding with EBNF grammars
Author: EPFL-dlab
Author-Email: saibo.geng[at]epfl.ch
Home-Page: https://github.com/epfl-dlab/transformers-CFG
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Dist: torch (>=2.0.0)
Requires-Dist: numpy (>=1.24.2)
Requires-Dist: transformers (>=4.37.2)
Requires-Dist: tokenizers (>=0.15.2)
Requires-Dist: termcolor (>=2.4.0)
Requires-Dist: sentencepiece (>=0.1.99)
Requires-Dist: protobuf (>=4.25.2)
Requires-Dist: setuptools (>=69.0.3)
Requires-Dist: line-profiler
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 8832 characters]

WHEEL

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

RECORD

Path Digest Size
tests/__init__.py sha256=4jIHla4XNsHYaR2T75O529sffn0IvPM3dM2EFsEVgj0 75
tests/_tokenizer_common.py sha256=OMnm8LB4Ck9woQsxzemT0ialXgb9PFOIzq6Vu0utbDM 6793
tests/json_utils.py sha256=ZheIIDV5sVVUse4ChIZ6tOnMGd1nA8h5tqRrt7sQEsI 269
tests/test_examples.py sha256=ffxPuJnVRNN5BbkdeEzGr7Prg45KfZtqNMUyCf8vAIU 906
tests/test_grammar_constrained_decoding.py sha256=7aN2DOkGBAhY97FF6oSrAkl5NvDkle7C_hd0tklCBCU 5307
tests/test_mapping.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
tests/test_parsing/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
tests/test_parsing/test_parsing.py sha256=67cIhaQRCh44IBYx6uH3oDF92gZ5jVKpw9YduymmbDU 18154
tests/test_string_recognizer/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
tests/test_string_recognizer/test_calflow.py sha256=PumHqGdiDZ0WTCe38RnFsMOkvGyxeC_yytVHcXzxA8g 13763
tests/test_string_recognizer/test_decode_utf8.py sha256=W07ombaEugCbGQO5ZxCgPTNmsuaBX9SBNmWaavst1_E 2589
tests/test_string_recognizer/test_geo_query.py sha256=0ZjOMQzhwm7gsvUySyK804pfOj-6i3lXagNL45pkgeE 3625
tests/test_string_recognizer/test_json.py sha256=J2v5eW1xsvbNOWf38y99KRR7qW4AwloZeSOHKMjRlx4 3242
tests/test_string_recognizer/test_json_arr.py sha256=Jdf0AV73aoIHhGvxOrRiUPgHmnh9_qJxBmLpYFgZ71g 1117
tests/test_string_recognizer/test_overnight.py sha256=qZ1WvXbgICKj10M73-kfXiTsir3juALb2h8ek_QOj-Q 5951
tests/test_string_recognizer/test_pddl.py sha256=ovO25zDyHtpF2md5280PIxxvMSR63RlsawjYBZDonww 9022
tests/test_string_recognizer/test_smiles.py sha256=YJ794MsSe13YOYTJy5OwC4MALW3ps5LA6jMylszdTZM 8945
tests/test_string_recognizer/test_unicode.py sha256=yVEUhQU0SZn_oK22dJUhKuX7tNKkpTO3ENfwFY3DZbE 1305
tests/test_token_sequence_recognizer/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
tests/test_token_sequence_recognizer/test_accept_unicode_bytes.py sha256=BtYLulWvXW7g3PP-AJaPVRChhuIalkrN8uioc89YWMY 3151
tests/test_tokenizers/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
tests/test_tokenizers/test_bloom.py sha256=vsdVXbvbZC11mbQbQw5VXSuyaBxxJRdhvr3b6quvQj8 408
tests/test_tokenizers/test_codegen.py sha256=GCtSy5bEOqCwsPcBmKsklAZBefGm6zDpJmqB5tsdKtI 340
tests/test_tokenizers/test_falcon.py sha256=VWRSOXMOe6de-wkN6gAALxZpjXPttTXjObhKeeEMZwQ 345
tests/test_tokenizers/test_gpt2.py sha256=w-VR83qBflsQdWQ40vhtwCDw9Qg1VTtcM5lGsYQ4Xx8 318
tests/test_tokenizers/test_gpt_neox.py sha256=YL9UiH990nGGhIz9FZRtb8K-J9_zEGiyqCGU4PAqi-I 353
tests/test_tokenizers/test_llama.py sha256=Rf3AnSK0BuvKa9op4ZEncfoexnyVkKfVI8FkB5ax1EE 331
tests/test_tokenizers/test_t5.py sha256=KNOyfWp9R-BS0K8ht1OMETyD1DNCF7jD_JjSTqWjm30 389
tests/test_tokenizers/test_xglm.py sha256=XC_WbEc3WMRefWx74368necxLAv8o67LLVFiFun8jJs 375
transformers_cfg/__init__.py sha256=oXwNlJTmRhNM3EjKwGc_HjGqSQ1xKLXpkMLViiStP3Y 82
transformers_cfg/grammar_utils.py sha256=d4fYKj8zDouF-pkZrpNUiYnsSiQ9nnQy9vfxkQZ5UWs 544
transformers_cfg/logging_config.py sha256=kjvCvH8aCTM78mpiN5YAAOcYQhpgKim8KIwja9UeO_s 481
transformers_cfg/mapping.py sha256=pHRXfLGIOQ22suMGUCAFwPBwSMB95qwed9kkEddjcVE 8183
transformers_cfg/parser.py sha256=3A64Fk8VzXurrECLwZZjiW7NjIUIBCymXG2zDAYiumM 19934
transformers_cfg/recognizer.py sha256=LAN_-9CjsMlOYCs3QgJsNpsw-RuOaOuAs_20NNyiQ4s 21500
transformers_cfg/token_grammar_recognizer.py sha256=LtCaDJcb5XxA2yZv8XELIDHlxazqxtCn19j5L5dygTg 13640
transformers_cfg/trie.py sha256=d8KrGPLNXFkyaGHbA4w0VtNXh1c9xFRr3r7Wi_Mu5mg 7229
transformers_cfg/utf8_utils.py sha256=3WFTzKrIdnMweZo-YhGzJodlbygNnAGuRiB-3VD8ACQ 6677
transformers_cfg/utils.py sha256=SpFgN63oIWvagJQo6YjfaeWJE8xV5Yal_4XcApto5CA 3275
transformers_cfg/vocab_struct.py sha256=RwkZQuLegfUMB4ctROzv3eoz01uXg4yof-IvxYT564s 3022
transformers_cfg/generation/__init__.py sha256=BET0I4zTN5cHURQ5Cz30NBOdKBAw68Z_bpMV4vHPhAI 62
transformers_cfg/generation/logits_process.py sha256=z47Lr5OnfRnktIs4xifpA9JwpnN3EiLm5EmXuUguuKQ 4120
transformers_cfg/metrics/__init__.py sha256=oIQV9owQVncaAPsFW_yV--zDEhRqjQlWb667RRotLNo 47
transformers_cfg/metrics/metrics.py sha256=6ZhEW5LuVHtwgaVQrG3UWPt8VgfLH0Sk6dOuiJxAhkg 12351
transformers_cfg/tokenization/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
transformers_cfg/tokenization/mapping.py sha256=_X-rS6SFW7A56u2lqRCdQ-w6RqJGQME4bCWgnVQI810 8219
transformers_cfg/tokenization/trie.py sha256=d8KrGPLNXFkyaGHbA4w0VtNXh1c9xFRr3r7Wi_Mu5mg 7229
transformers_cfg/tokenization/vocab_struct.py sha256=mu7H2cduIGqmK4U_oV-WfBIF6N0Ji6NIlmCU0H8Gmyw 3134
transformers_cfg-0.2.1.dist-info/LICENSE sha256=8zgRMA09B0nAlOycWcq_LSR6jJf26D1xH6yYmz8LDa0 1085
transformers_cfg-0.2.1.dist-info/METADATA sha256=GWV0dOhgPITOI2Bt2Hls19RKtMQjqxk0VaFU1h8-iG4 9887
transformers_cfg-0.2.1.dist-info/WHEEL sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM 92
transformers_cfg-0.2.1.dist-info/top_level.txt sha256=1iVpZg98PXH-iqimWFZ73ujt-ZRXtZNMb5iHUNSvfrM 23
transformers_cfg-0.2.1.dist-info/RECORD

top_level.txt

tests
transformers_cfg