<div align="center">
<img alt="calotron logo" src="https://raw.githubusercontent.com/mbarbetti/calotron/main/.github/images/calotron-logo.png" width="600"/>
</div>
<h2 align="center">
<em>Transformer-based models to fast-simulate the LHCb ECAL detector</em>
</h2>
<p align="center">
<a href="https://www.tensorflow.org/versions"><img alt="TensorFlow versions" src="https://img.shields.io/badge/tensorflow-2.10–2.12-f57000?style=flat"></a>
<a href="https://www.python.org/downloads"><img alt="Python versions" src="https://img.shields.io/badge/python-3.7–3.11-blue?style=flat"></a>
<a href="https://pypi.python.org/pypi/calotron"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/calotron"></a>
<a href="https://github.com/mbarbetti/calotron/blob/main/LICENSE"><img alt="GitHub - License" src="https://img.shields.io/github/license/mbarbetti/calotron"></a>
</p>
<p align="center">
<a href="https://github.com/mbarbetti/calotron/actions/workflows/tests.yml"><img alt="GitHub - Tests" src="https://github.com/mbarbetti/calotron/actions/workflows/tests.yml/badge.svg?branch=main"></a>
<a href="https://codecov.io/gh/mbarbetti/calotron"><img alt="Codecov" src="https://codecov.io/gh/mbarbetti/calotron/branch/main/graph/badge.svg?token=DRG8BWC9RR"></a>
</p>
<p align="center">
<a href="https://github.com/mbarbetti/calotron/actions/workflows/style.yml"><img alt="GitHub - Style" src="https://github.com/mbarbetti/calotron/actions/workflows/style.yml/badge.svg?branch=main"></a>
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
</p>
<!--
[![Docker - Version](https://img.shields.io/docker/v/mbarbetti/calotron?label=docker)](https://hub.docker.com/r/mbarbetti/calotron)
-->
### Transformer
The Transformer architecture is freely inspired by Vaswani et al. [[arXiv:1706.03762](https://arxiv.org/abs/1706.03762)] and Dosovitskiy et al. [[arXiv:2010.11929](https://arxiv.org/abs/2010.11929)].
<div align="center">
<img alt="calotron transformer architecture" src="https://raw.githubusercontent.com/mbarbetti/calotron/main/.github/images/transf-scheme.png" width="400"/>
</div>
### Discriminator
The Discriminator is implemented through the Deep Sets model proposed by Zaheer et al. [[arXiv:1703.06114](https://arxiv.org/abs/1703.06114)] and its architecture is freely inspired by what developed by the ATLAS Collaboration for flavor tagging [[ATL-PHYS-PUB-2020-014](https://cds.cern.ch/record/2718948)].
<div align="center">
<img alt="calotron discriminator architecture" src="https://raw.githubusercontent.com/mbarbetti/calotron/main/.github/images/disc-scheme.png" width="800"/>
</div>
### Credits
Transformer implementation freely inspired by the TensorFlow tutorial [Neural machine translation with a Transformer and Keras](https://www.tensorflow.org/text/tutorials/transformer).
Raw data
{
"_id": null,
"home_page": "",
"name": "calotron",
"maintainer": "",
"docs_url": null,
"requires_python": "<=3.11,>=3.7",
"maintainer_email": "",
"keywords": "tensorflow,machine learning,deep learning,transformer,lhcb experiment,lamarr,ultra-fast simulation,calorimeter",
"author": "",
"author_email": "Matteo Barbetti <matteo.barbetti@fi.infn.it>, Lucio Anderlini <lucio.anderlini@fi.infn.it>",
"download_url": "https://files.pythonhosted.org/packages/17/45/556bd5ec0d12dad9f611f529e824329a658432fc8928849db5f7a9f3aa4a/calotron-0.0.12.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n <img alt=\"calotron logo\" src=\"https://raw.githubusercontent.com/mbarbetti/calotron/main/.github/images/calotron-logo.png\" width=\"600\"/>\n</div>\n\n<h2 align=\"center\">\n <em>Transformer-based models to fast-simulate the LHCb ECAL detector</em>\n</h2>\n\n<p align=\"center\">\n <a href=\"https://www.tensorflow.org/versions\"><img alt=\"TensorFlow versions\" src=\"https://img.shields.io/badge/tensorflow-2.10\u20132.12-f57000?style=flat\"></a>\n <a href=\"https://www.python.org/downloads\"><img alt=\"Python versions\" src=\"https://img.shields.io/badge/python-3.7\u20133.11-blue?style=flat\"></a>\n <a href=\"https://pypi.python.org/pypi/calotron\"><img alt=\"PyPI - Version\" src=\"https://img.shields.io/pypi/v/calotron\"></a>\n <a href=\"https://github.com/mbarbetti/calotron/blob/main/LICENSE\"><img alt=\"GitHub - License\" src=\"https://img.shields.io/github/license/mbarbetti/calotron\"></a>\n</p>\n\n<p align=\"center\">\n <a href=\"https://github.com/mbarbetti/calotron/actions/workflows/tests.yml\"><img alt=\"GitHub - Tests\" src=\"https://github.com/mbarbetti/calotron/actions/workflows/tests.yml/badge.svg?branch=main\"></a>\n <a href=\"https://codecov.io/gh/mbarbetti/calotron\"><img alt=\"Codecov\" src=\"https://codecov.io/gh/mbarbetti/calotron/branch/main/graph/badge.svg?token=DRG8BWC9RR\"></a>\n</p>\n\n<p align=\"center\">\n <a href=\"https://github.com/mbarbetti/calotron/actions/workflows/style.yml\"><img alt=\"GitHub - Style\" src=\"https://github.com/mbarbetti/calotron/actions/workflows/style.yml/badge.svg?branch=main\"></a>\n <a href=\"https://github.com/psf/black\"><img alt=\"Code style: black\" src=\"https://img.shields.io/badge/code%20style-black-000000.svg\"></a>\n</p>\n\n<!--\n[![Docker - Version](https://img.shields.io/docker/v/mbarbetti/calotron?label=docker)](https://hub.docker.com/r/mbarbetti/calotron)\n-->\n\n### Transformer\nThe Transformer architecture is freely inspired by Vaswani et al. [[arXiv:1706.03762](https://arxiv.org/abs/1706.03762)] and Dosovitskiy et al. [[arXiv:2010.11929](https://arxiv.org/abs/2010.11929)].\n\n<div align=\"center\">\n <img alt=\"calotron transformer architecture\" src=\"https://raw.githubusercontent.com/mbarbetti/calotron/main/.github/images/transf-scheme.png\" width=\"400\"/>\n</div>\n\n### Discriminator\nThe Discriminator is implemented through the Deep Sets model proposed by Zaheer et al. [[arXiv:1703.06114](https://arxiv.org/abs/1703.06114)] and its architecture is freely inspired by what developed by the ATLAS Collaboration for flavor tagging [[ATL-PHYS-PUB-2020-014](https://cds.cern.ch/record/2718948)].\n\n<div align=\"center\">\n <img alt=\"calotron discriminator architecture\" src=\"https://raw.githubusercontent.com/mbarbetti/calotron/main/.github/images/disc-scheme.png\" width=\"800\"/>\n</div>\n\n### Credits\nTransformer implementation freely inspired by the TensorFlow tutorial [Neural machine translation with a Transformer and Keras](https://www.tensorflow.org/text/tutorials/transformer).\n",
"bugtrack_url": null,
"license": "GPLv3 License",
"summary": "Transformer-based models to fast-simulate the LHCb ECAL detector",
"version": "0.0.12",
"project_urls": {
"repository": "https://github.com/mbarbetti/calotron"
},
"split_keywords": [
"tensorflow",
"machine learning",
"deep learning",
"transformer",
"lhcb experiment",
"lamarr",
"ultra-fast simulation",
"calorimeter"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8747163ab4b4f7699f1e6a31c7b919f3a2a5018cbbd592bba9787b2727e6857b",
"md5": "d6f59acc53e2122d543662117d7a1b58",
"sha256": "39ce91a354b9fbf8042f6b06cbff25c86644fa735d0eb37d045ff6baaa839e56"
},
"downloads": -1,
"filename": "calotron-0.0.12-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d6f59acc53e2122d543662117d7a1b58",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<=3.11,>=3.7",
"size": 68167,
"upload_time": "2023-06-01T13:43:49",
"upload_time_iso_8601": "2023-06-01T13:43:49.797912Z",
"url": "https://files.pythonhosted.org/packages/87/47/163ab4b4f7699f1e6a31c7b919f3a2a5018cbbd592bba9787b2727e6857b/calotron-0.0.12-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1745556bd5ec0d12dad9f611f529e824329a658432fc8928849db5f7a9f3aa4a",
"md5": "1da6f28de50d86ff287119ba00aca65c",
"sha256": "7b438d87fe15a481e1189a19ba7d78cc2619e3b894c54a209b53c4ddb1ebc57b"
},
"downloads": -1,
"filename": "calotron-0.0.12.tar.gz",
"has_sig": false,
"md5_digest": "1da6f28de50d86ff287119ba00aca65c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<=3.11,>=3.7",
"size": 41181,
"upload_time": "2023-06-01T13:43:53",
"upload_time_iso_8601": "2023-06-01T13:43:53.997032Z",
"url": "https://files.pythonhosted.org/packages/17/45/556bd5ec0d12dad9f611f529e824329a658432fc8928849db5f7a9f3aa4a/calotron-0.0.12.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-01 13:43:53",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mbarbetti",
"github_project": "calotron",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "calotron"
}