flow-judge

View on PyPIReverse Dependencies (0)

0.1.2 flow_judge-0.1.2-py3-none-any.whl

Wheel Details

Project: flow-judge
Version: 0.1.2
Filename: flow_judge-0.1.2-py3-none-any.whl
Download: [link]
Size: 81715
MD5: 6f6b4eb0d8075635eb80d64ef8a0427d
SHA256: aa38617fed8311fc7168d3e7830fc9a885c324e408c1b0e72d0e8f7ad3aaa01a
Uploaded: 2024-10-29 07:32:50 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: flow-judge
Version: 0.1.2
Summary: A small yet powerful LM Judge
Author-Email: Bernardo Garcia <bernardo[at]flow-ai.com>, Karolus Sariola <karolus[at]flow-ai.com>, Minaam Shahid <minaam[at]flow-ai.com>, Tiina Vaahtio <tiina[at]flow-ai.com>, Alex Wegrzyn <alex.wegrzyn[at]flow-ai.com>
Project-Url: Homepage, https://github.com/flowaicom/flow-judge
License: Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright 2024 Flow AI Oy Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Keywords: LM-judge,evaluation,LLMs,AI,benchmarking
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Requires-Dist: pydantic (>=2.9.1)
Requires-Dist: requests (>=2.32.3)
Requires-Dist: hf-transfer (>=0.1.1)
Requires-Dist: ipykernel (>=6.29.0)
Requires-Dist: ipywidgets (>=8.1.0)
Requires-Dist: tqdm (>=4.66.1)
Requires-Dist: structlog
Requires-Dist: truss (>=0.9.44); extra == "baseten"
Requires-Dist: openai (>=1.51.0); extra == "baseten"
Requires-Dist: aiohttp (>=3.10.5); extra == "baseten"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: black; extra == "dev"
Requires-Dist: isort; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: codecov; extra == "dev"
Requires-Dist: mypy (>=1.11.2); extra == "dev"
Requires-Dist: types-requests; extra == "dev"
Requires-Dist: types-tqdm; extra == "dev"
Requires-Dist: memray (>=1.14.0); extra == "dev"
Requires-Dist: pytest-memray (>=1.7.0); extra == "dev"
Requires-Dist: pytest-asyncio (<0.24.0,>=0.23.6); extra == "dev"
Requires-Dist: hypothesis; extra == "dev"
Requires-Dist: transformers (>=4.45.0); extra == "hf"
Requires-Dist: torch (>=2.3.0); extra == "hf"
Requires-Dist: bitsandbytes (<=0.42.0,>=0.41.0); extra == "hf"
Requires-Dist: accelerate (>=0.34.2); extra == "hf"
Requires-Dist: llama-index; extra == "integrations-test"
Requires-Dist: llama-index-embeddings-huggingface; extra == "integrations-test"
Requires-Dist: torch (>=2.3.0); extra == "llamafile"
Requires-Dist: openai (>=1.51.0); extra == "llamafile"
Requires-Dist: vllm (==0.6.2); extra == "vllm"
Provides-Extra: baseten
Provides-Extra: dev
Provides-Extra: hf
Provides-Extra: integrations-test
Provides-Extra: llamafile
Provides-Extra: vllm
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 12781 characters]

WHEEL

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

RECORD

Path Digest Size
flow_judge/__init__.py sha256=tHTq08sfTnY7-wxIXOWbZjXFBmJmi8n8cldbdWPhZ0k 1808
flow_judge/eval_data_types.py sha256=ZHzUEQq5WcrEXi9-B4arGe7tOEMHdTjCoV3gtgzYrmc 1586
flow_judge/flow_judge.py sha256=CJD-ZaNRTcJ6damQ0jUPSSEzPaC-dZcpi7o59_cYc2U 9781
flow_judge/integrations/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
flow_judge/integrations/haystack.py sha256=dTiFu04f9af97ApwoIIi8nW86cjrzlFzSKlMaseGWTI 8473
flow_judge/integrations/langchain.py sha256=VE79LxjapAeHEKi8qaoEOz6_YiyaMFEVBNwVGk-GRRc 4252
flow_judge/integrations/llama_index.py sha256=eAuwp0ofRw8MS7Z5CgbaQ90-2P11DEkRcFtYVJKlXRw 12611
flow_judge/metrics/__init__.py sha256=CfrH79wVAdcoitubCb8KPj_DwfOhc_dqD940b5eU8Mo 430
flow_judge/metrics/metric.py sha256=_Yo6g4KBT2Df4neSjMQejS7JcQA9jqFcyab0hNd6bt8 1126
flow_judge/metrics/presets.py sha256=MJPGc9dhZ8w2tmq6CtctocIJVocxjrJER6JWij-I9Us 12120
flow_judge/models/__init__.py sha256=EGHaSYhMw4o4K9LDoleCPnSOKXu9oFhP8lo3XUInFZw 409
flow_judge/models/baseten.py sha256=59ARxTEooh5pblRp3_W5DQcHAsZODGXAnYt7H9BJ4io 8863
flow_judge/models/common.py sha256=tAQvNMGmOamzqqrhU3pxHUwpoy4gm9V2MCWI-FsnkLQ 5502
flow_judge/models/huggingface.py sha256=OL0ZaNs9QbsBeA1Q3v29rKHYM9cdsh-VGcITdH8spW0 10665
flow_judge/models/llamafile.py sha256=ZS5QzoIdlyz2IvzzoHRKOAE_6JxiZXgm3kSbJOdDB08 22316
flow_judge/models/vllm.py sha256=rXpagodoo8pxw1X5joA1VDSTiGBb1CZX1PfP0_3P-cg 12228
flow_judge/models/adapters/base.py sha256=PG1t5vp5EmhEonpTn4XS-1LrfA5Y3tOZb5Oc9JV144U 1373
flow_judge/models/adapters/baseten/README.md sha256=IJCQdD_QXwb5NnQj9SgJUX74xNMIDHutBqOJfu5ixlY 5361
flow_judge/models/adapters/baseten/adapter.py sha256=GFB1mh33PPG4GkfWJKS5ckC6cGLaB154BK5fbVvXauE 23609
flow_judge/models/adapters/baseten/api_auth.py sha256=vrnLxu4lSCw09-ju7zcETeBmiirBUldnGT5WFIXqBPw 6160
flow_judge/models/adapters/baseten/data_io.py sha256=7jug4VqegQW18k9_L4fY6yil36lKohTUWQMqs0TwvFU 2462
flow_judge/models/adapters/baseten/deploy.py sha256=AoC5m0Yblokt5TZsuqg2OvFQDKY0XXx4LnvCeuAbgps 5291
flow_judge/models/adapters/baseten/errors.py sha256=fDOJzdIIdnCrmZ3EEhvqkKqroSNtg77-L5gQ0QTudDQ 2296
flow_judge/models/adapters/baseten/gpu.py sha256=8WmTiC7x7itFL4fx7PCsDTexIoUlcmsgZl7JNTA_JHk 3920
flow_judge/models/adapters/baseten/management.py sha256=ydwMSsIi6JG6cSTNtUDvUuM7Ctu1sQX--8D-3MuEclA 5264
flow_judge/models/adapters/baseten/token_bucket.py sha256=U6NVrg0TdrU2VTeMSAkVxxPrIEAGaq730CMCWB4ZOLY 1633
flow_judge/models/adapters/baseten/util.py sha256=U_M9DTaAIR-f84Q4xGE0QPDSjHe8AWaQEbDrBzCJjz8 232
flow_judge/models/adapters/baseten/validation.py sha256=Gio_mfKWnG8kGp4VxSJA-cm2qXgqmdclZtpf2PAJCSw 1981
flow_judge/models/adapters/baseten/webhook.py sha256=Wqoq_IsGbGQNr1zG1SGdLgOQHfPYa4jCOsLGbIa5zGY 8870
flow_judge/models/adapters/baseten/deployment/config.yaml sha256=f1VHUQQlJk4pANDSZ9C8ceYZwMx_SmMJ5dXBFVNjZh4 6801
flow_judge/models/adapters/baseten/deployment/model/__init__.py sha256=3ZfwqVDX_Yq82fp-R_fCm7TCLspw25paVRr_5Bohmwk 211
flow_judge/models/adapters/baseten/deployment/model/helper.py sha256=Bhox7nNZIZ1fLBGtztb7iWgouULdNXe3oAmRRnm01so 2478
flow_judge/models/adapters/baseten/deployment/model/model.py sha256=VZ22o8V_nLMlsep6AUL9u8Sp3lryieSUQVzInM9GJuU 9453
flow_judge/utils/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
flow_judge/utils/prompt_formatter.py sha256=Knbl0WZM5K1tIGxIZTm2jzuIcrjqBnxmANur29OYwiw 5208
flow_judge/utils/result_writer.py sha256=1ZdXRGa5Ikh5UnjVZj8zgqGBtaZ9mWeCjCC4JTfML6s 9040
flow_judge/utils/validators.py sha256=PpybGOLHbjlkDxanrcUsDfLfZNdqzwon3TLUwYb34Cs 988
flow_judge-0.1.2.dist-info/LICENSE sha256=BAtQANugsK1PHQpod5YKB5KhlomXlBcxAJpEatgUEZo 11340
flow_judge-0.1.2.dist-info/METADATA sha256=7CA76LJQVv_OChJcPtvH7r8t5TANqTNYeh47wzW2SVE 27963
flow_judge-0.1.2.dist-info/WHEEL sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA 91
flow_judge-0.1.2.dist-info/top_level.txt sha256=7n8f6Obcs9utPybrjjFOtj2X0edVJnv5q5Cnw3MhpnE 11
flow_judge-0.1.2.dist-info/RECORD

top_level.txt

flow_judge