torch-grammar

View on PyPIReverse Dependencies (0)

0.3.3 torch_grammar-0.3.3-py3-none-any.whl

Wheel Details

Project: torch-grammar
Version: 0.3.3
Filename: torch_grammar-0.3.3-py3-none-any.whl
Download: [link]
Size: 8256
MD5: b4be367b5f425a85524506aa338b095e
SHA256: 245312dcfa29fb9072a74c5ecd385a35081b9ce1df60448af5e7b27250ca9192
Uploaded: 2023-07-20 16:00:56 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: torch-grammar
Version: 0.3.3
Summary: Restrict LLM generations to a context-free grammar
Author: Burke Libbey
Author-Email: burke.libbey[at]shopify.com
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.9,<4.0
Requires-Dist: sentencepiece (<0.2.0,>=0.1.99)
Requires-Dist: torch (<3.0.0,>=2.0.0)
Requires-Dist: transformers (<5.0,>=4.29)
Description-Content-Type: text/markdown
[Description omitted; length: 1891 characters]

WHEEL

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

RECORD

Path Digest Size
torch_grammar/__init__.py sha256=h9jlXHpzsEPRviR2ZVCf6klqFlPtbpLOZ2J7F8v3laQ 74
torch_grammar/grammar_parser.py sha256=ZDA_iRIlel22OggAuw6PnCnnRZeJk2J7P59W1J2DdW0 9709
torch_grammar/grammar_sampler.py sha256=eps_S-1WxbH1GxdMmo_SkyW3yRoUlli4eqXAJlvpT4Y 6976
torch_grammar/token_trie.py sha256=fc7SN2URQFtPKDzQKAtdZPOEuJ9Fv_wGGJl4a4yYzLM 2626
torch_grammar-0.3.3.dist-info/METADATA sha256=BT9a7drL5u8j6pKwDxyE_aTITx13z2nybowoygeXxi8 2528
torch_grammar-0.3.3.dist-info/WHEEL sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk 88
torch_grammar-0.3.3.dist-info/RECORD