ai2-olmo-core

View on PyPIReverse Dependencies (1)

1.4.0 ai2_olmo_core-1.4.0-py3-none-any.whl

Wheel Details

Project: ai2-olmo-core
Version: 1.4.0
Filename: ai2_olmo_core-1.4.0-py3-none-any.whl
Download: [link]
Size: 160443
MD5: 4c4bb78f9da6e5ae3def839584e23ad1
SHA256: ea1b069f1f629ba6e3ee474f2c9e2e0f02e5ec1b28562d62d8e2eb6da1f14d24
Uploaded: 2024-10-02 18:22:26 +0000

dist-info

METADATA

Metadata-Version: 2.1
Name: ai2-olmo-core
Version: 1.4.0
Summary: Core training module for the Open Language Model (OLMo)
Author-Email: Allen Institute for Artificial Intelligence <olmo[at]allenai.org>
Project-Url: Homepage, https://github.com/allenai/OLMo-core
Project-Url: Documentation, https://olmo-core.readthedocs.io/en/latest/
Project-Url: Changelog, https://github.com/allenai/OLMo-core/blob/main/CHANGELOG.md
License: Apache License Version 2.0, January 2004 https://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 {yyyy} {name of copyright owner} 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 https://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.
Requires-Python: >=3.9
Requires-Dist: numpy
Requires-Dist: torch (<=2.5.0.dev20240826,>=2.4)
Requires-Dist: cached-path
Requires-Dist: requests
Requires-Dist: packaging
Requires-Dist: rich
Requires-Dist: omegaconf
Requires-Dist: safetensors
Requires-Dist: importlib-resources
Requires-Dist: ai2-olmo-core[beaker,dev,wandb]; extra == "all"
Requires-Dist: beaker-py; extra == "beaker"
Requires-Dist: GitPython (<4.0,>=3.0); extra == "beaker"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: mypy (<1.4,>=1.0); extra == "dev"
Requires-Dist: black (<24.0,>=23.1); extra == "dev"
Requires-Dist: isort (<5.13,>=5.12); extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-sphinx; extra == "dev"
Requires-Dist: pytest-xdist; extra == "dev"
Requires-Dist: twine (>=1.11.0); extra == "dev"
Requires-Dist: setuptools; extra == "dev"
Requires-Dist: wheel; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: boto3; extra == "dev"
Requires-Dist: google-cloud-storage; extra == "dev"
Requires-Dist: Sphinx (<7.0.2,>=6.0); extra == "dev"
Requires-Dist: furo (==2023.5.20); extra == "dev"
Requires-Dist: myst-parser (<2.1,>=1.0); extra == "dev"
Requires-Dist: sphinx-copybutton (==0.5.2); extra == "dev"
Requires-Dist: sphinx-autobuild (==2021.3.14); extra == "dev"
Requires-Dist: sphinx-autodoc-typehints (==1.23.3); extra == "dev"
Requires-Dist: wandb; extra == "wandb"
Provides-Extra: all
Provides-Extra: beaker
Provides-Extra: dev
Provides-Extra: wandb
Description-Content-Type: text/markdown
License-File: LICENSE
[Description omitted; length: 4258 characters]

WHEEL

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

RECORD

Path Digest Size
olmo_core/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
olmo_core/aliases.py sha256=XWvWxUnmyAlg4lSNLHHATI6Vr1wsw2csndP81UhWVEs 114
olmo_core/config.py sha256=U4fJsiC7BNJw7-I6N3QzPQOZ8ckDz8Lm5eLv558VII0 6672
olmo_core/exceptions.py sha256=u0oCmf59x7_R4obINMj6SUycbjPxf46CD4UscTr1ecY 476
olmo_core/float8.py sha256=dtyvpyyzSWotACpWTBhneR8HZ4H1vTx1pjV56JuGuaY 7389
olmo_core/io.py sha256=VRv9EyNcO_XQJbu7gNNSuDlNYkGTP8t12M0CevFTeMg 23858
olmo_core/py.typed sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
olmo_core/utils.py sha256=0Q536I7k8Pfs_zet0HTFVnqWay-YLLqJQDWPnCc9qs8 17572
olmo_core/version.py sha256=xCd1I-U3UwakpvJu-p5Ja7D9tlSoeo3Szg2qx3cD8o0 308
olmo_core/data/__init__.py sha256=uNBT9dfA4x7jLzFGdCvL61CjqSa0ZsxrfLZQeJgQCwU 1813
olmo_core/data/collator.py sha256=U80KWVZCIEmbrHYGkjXoeilkQ31RJEuArUV3dkBnCc0 5508
olmo_core/data/data_loader.py sha256=ubo_If-jsMFGMnEZFOIndqUBPkvLg8d7MqJbsQO4Obs 36212
olmo_core/data/numpy_dataset.py sha256=9iGZKyWH1Iv6RSKIrKG09OIf_ju7VUbMoF8piV5u_RQ 61449
olmo_core/data/tokenizer.py sha256=mo17hI5BeuTXpLwsX408pm0JDviIultshw_w8X7Q-70 1643
olmo_core/data/utils.py sha256=qqTLS_Z4VnBruqaJYtUFKQrhU12SuSjSsU9PCwf1aX0 16651
olmo_core/data/mixes/OLMoE-mix-0824.txt sha256=t4S7KjhnrE7LDlS9urh7_v1kgItLXqZJu3HQfwueCg8 120656
olmo_core/data/mixes/__init__.py sha256=ElGSj9Ff1lmdr_srG_E0H0ma-qzCaiCIB0wooZ-ZUOU 2263
olmo_core/data/mixes/dolma17.txt sha256=5csryxCmpE2y-H1wOkGu7O0-eAaqAiITkmOo8J89Gqo 105758
olmo_core/data/mixes/v3-small-ppl-validation.txt sha256=8Vnqlegr0YgLh9hrfMCzWDOLa3th6VHVTO_WsBpP5UM 1105
olmo_core/distributed/__init__.py sha256=CacGOPn8um0fqmNB5z4E6uXRCNO52ZasI_ucYrOJojY 76
olmo_core/distributed/utils.py sha256=LXhZgxMHrFE0JW_4rdW_L1oiU_IqNwcUuTnthOtmT9o 11900
olmo_core/distributed/checkpoint/__init__.py sha256=kfKZLbovJ3J75Ok7Phvvt5DueYMcE0Kp5m3QhtubxWg 12244
olmo_core/distributed/checkpoint/filesystem.py sha256=38eGy5056zxYSKYMnI_pf_RyCm7zT7QVrml0exM_pso 13444
olmo_core/distributed/parallel/__init__.py sha256=mb4nZ6YHBXzUwFuZyTWCOLgs9LmrzSFNn4FFcmOxATc 118
olmo_core/distributed/parallel/data_parallel.py sha256=MGtBNv8AQUaHqXZVFup3ncNtDlt2SJOi03tsGCIFA5w 338
olmo_core/eval/__init__.py sha256=ZpvrlpSrgD-Mj_7nnlAilJfqJe2xSQXndluxFsP_dL0 215
olmo_core/eval/evaluator.py sha256=AbZInPQ9pJcbCmB_5wXU8RQk1AD_T0Zd8DvW1oloOyU 2877
olmo_core/eval/lm_evaluator.py sha256=DRFxCFW8wuFhubyKWF13BzxOk4laxyza2rfj-TcODGA 4601
olmo_core/eval/metrics.py sha256=dCHAoMDv26fJWXF_ihp1SIEKIb3whlcPClNERKOdQI4 2498
olmo_core/internal/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
olmo_core/internal/experiment.py sha256=PNuUBhxq7IlNzyN1kdQANUMA3YSDGOhutkERvLIEpKM 11173
olmo_core/launch/__init__.py sha256=7nvo9YJev0oHqyn4hmxUogGjlzQWicrju5VQxsGjmfU 63
olmo_core/launch/beaker.py sha256=VLWbzcdCV3gQQuGO1tcw-9NmqKnbrcMPa99ZNgMWoFs 13345
olmo_core/launch/utils.py sha256=6a9_1mQZSVXjw0YG_up73baEPNYGN9Gl628tW1GeWAw 1165
olmo_core/nn/__init__.py sha256=C1yT4sObTBqoIyRk4dvoRRGB3zLg2mimAE5RlZkIJpQ 57
olmo_core/nn/attention.py sha256=Dn1MSTJe7nJ3cWbRXWWOfklOT8sQUeFZHTEuwzr89rY 14378
olmo_core/nn/buffer_cache.py sha256=PVfhfHUjNkP13Q3oVpe6qh5zWBXNEmh0D-GaCUUC1vY 675
olmo_core/nn/feed_forward.py sha256=cpC_sWGHpnkn2RaOHmkLZk9KkI9bqsU54GUnzKqgPCE 1587
olmo_core/nn/layer_norm.py sha256=A3gvsBQk7G2-uuY-rE7MGnYPiIhqbMfLs23_zc62H60 7231
olmo_core/nn/rope.py sha256=l_I78pUKHsKm8f3oZiPgRLQTJjm8-KWyIdHKDQ8W_dY 14074
olmo_core/nn/functional/__init__.py sha256=jC4LhuDljw6rcPk-uo_1R9Qo0UzcmNO5csoXzFCAGKM 145
olmo_core/nn/functional/cross_entropy_loss.py sha256=Owch5S3uF_6YjAuhusV8tG6AVqWkY48-C5WJNxlCZ5U 3753
olmo_core/nn/transformer/__init__.py sha256=Omcw2OWJA7Lzx6oMppgNdBKy0XBydxkNVC5IUicZZRE 554
olmo_core/nn/transformer/block.py sha256=1sjp-REPfmkPovZWrL0p-n03OBewOLW4Rl5rhhD1TLo 4862
olmo_core/nn/transformer/init.py sha256=dLx1yCnBgfnJIuNQGOJlwFv4kUj6idD69ncbcOAFFq8 3133
olmo_core/nn/transformer/model.py sha256=23vsB3YtqMtmwod7SgaaXbQfoTCnAZiWJBe70PgTqgo 32415
olmo_core/optim/__init__.py sha256=me3GmgOvl49_L31tbZPZ8s8e4Z69bdqQLF7-SL3e8O8 513
olmo_core/optim/adamw.py sha256=cGW0s3hXDh3XESKkhzQOIcyhzFsn8Cj8LKHM0bIUZaA 1690
olmo_core/optim/config.py sha256=ey3pMvsu5dOqWGAmA8X8FBvDzullY-JfUCUKgKWbh0A 3965
olmo_core/optim/lion.py sha256=6aCDZsTfcZPqsIbuTC5MvgT7xrlbAgiQiihBAdcxyAs 4605
olmo_core/optim/scheduler.py sha256=d6ML3IS7YxZrBB_KcTn3XQO0YD32pv8wa668n2I7-o8 1888
olmo_core/optim/skip_step_optimizer.py sha256=5pICpJfJT7QhiQUutw6GDHgmEZUxypPiyYChDNmZ1Z8 4281
olmo_core/train/__init__.py sha256=zvGsZRf5zzX1eO58gC0NdGtlCUEaLaZKmEo20E-KGf8 4578
olmo_core/train/checkpoint.py sha256=VXewLJvZhGaI6-xY2N4n_KaV4BMUzvbHuiudLwaS7b0 12861
olmo_core/train/common.py sha256=szLC6XECQtWLua_sJVDZzon7L73UJZ8QC8Iq7gO9iQA 2451
olmo_core/train/config.py sha256=eyxm1KHg74uD4y6s7LPRRwfVO6TJinGoRB4oMrkCJz4 4078
olmo_core/train/trainer.py sha256=b9Ppqq3OvEGf_WqYGzetdnRI2D_kv3oMxLmF9cL7_Yo 44070
olmo_core/train/utils.py sha256=EXMhZIQJVgd0yWz-T8JnXXyEbV5B8pAtexAB5lHoA5M 8743
olmo_core/train/callbacks/__init__.py sha256=YcpDi_vUOQcxuyMiJOimcPHhT9gK9Ac91E2fZ3vMaOA 1220
olmo_core/train/callbacks/callback.py sha256=5Xusgle0VZxVqIyRCY6OmoAnlND9yBwVPvhPfnac4QQ 3728
olmo_core/train/callbacks/checkpointer.py sha256=H7dusnohpt0P0AAon3MLfRaqpiB5iAz6tAUKT-5jyWE 8359
olmo_core/train/callbacks/config_saver.py sha256=Gxv2aWI8aMB1msZGWXuC7RFXE7g-EI33hTiudHlIuWc 855
olmo_core/train/callbacks/console_logger.py sha256=W9jMD8PyQx6ASp04e6QPrLnN2FVAtC7koVpn-pRd78s 2293
olmo_core/train/callbacks/evaluator_callback.py sha256=xUY19FPmJEGRkB_3yg-0PlPpUW4wyx2Z1C_MAIGyhtE 4901
olmo_core/train/callbacks/float8_handler.py sha256=OaI3yrG7zYbWIUB3xZ7C88OgXlV56OqawE27rgjkBwk 1497
olmo_core/train/callbacks/garbage_collector.py sha256=bsEw3B-D4li3RAbuvkdYAOpGDRNTJRBN7ft-A1tH7gc 1087
olmo_core/train/callbacks/gpu_memory_monitor.py sha256=SxGVgvs3eXfI-ab9Fnt2ZYBAu4j-dP74G7C28WDsDDs 2497
olmo_core/train/callbacks/grad_clipper.py sha256=82raxRocHRkPTCQ6365xIZ55_iqqW6og8awllXynOhI 1003
olmo_core/train/callbacks/profiler.py sha256=2v9nuxLdbthyUO9yRGdvFtne5bohZUI2nlAzPQJYpnc 3092
olmo_core/train/callbacks/scheduler.py sha256=bDfwpTMiL0dd_XDjywQ8CUk4b6fO0pUniKmh0K6BV4I 1303
olmo_core/train/callbacks/sequence_length_scheduler.py sha256=E-9Nok2N23HwVIYe9hzexCs9GkLQ2KJTVZmmUCuULsE 6136
olmo_core/train/callbacks/speed_monitor.py sha256=ZHY1AVyf4HN61Iw5gecN0M76BDmovwR7DuJ7nGqONqA 4706
olmo_core/train/callbacks/wandb.py sha256=-7haJ8OFh4nKqv3th2iEQi-Hd1i5QRAOt11NIXFCvd0 4673
olmo_core/triton/__init__.py sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU 0
olmo_core/triton/cross_entropy_loss.py sha256=EIw1uqY8XDWx9-lVE_UzSPjg03LgRCP1TFRQia730FM 11673
ai2_olmo_core-1.4.0.dist-info/LICENSE sha256=YvuKOpYh3COIF0yqq-nCMXtpS7mh1GyYvPVlW2j1G-M 11359
ai2_olmo_core-1.4.0.dist-info/METADATA sha256=A1Ggqt9MYXNT8Lnce5JFzDm0VTNAGvLQjAqKZm3Ptjo 19124
ai2_olmo_core-1.4.0.dist-info/WHEEL sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ 91
ai2_olmo_core-1.4.0.dist-info/top_level.txt sha256=UtCTFfoX3W7Uv2UKc7h_I8QyTlIAl_fZSZyb7UGwY6Q 10
ai2_olmo_core-1.4.0.dist-info/RECORD

top_level.txt

olmo_core