GLU-KERAS


NameGLU-KERAS JSON
Version 0.0.2 PyPI version JSON
download
home_page
Summary
upload_time2023-12-24 04:38:55
maintainer
docs_urlNone
authorMuhammad Anas Raza
requires_python>=3.10,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Multibackend GLU and its variants

A Keras 3 port of Gated Linear Units and its variants. Ported from [Rishit Dagli's Implementation](https://github.com/Rishit-dagli/GLU/tree/main)

# Installation

```shell
pip install glu_keras --upgrade
```

# Usage

```python
import keras
from glu_keras import SwiGLU

model = keras.Sequential()
model.add(keras.layers.Dense(units=10))
model.add(SwiGLU(bias = False, dim=-1, name='swiglu'))
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "GLU-KERAS",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Muhammad Anas Raza",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/d7/e6/5c94bcc03e6cebe19da29762e9ddc6a0928068236857f4eafa5a98698fc5/glu_keras-0.0.2.tar.gz",
    "platform": null,
    "description": "# Multibackend GLU and its variants\n\nA Keras 3 port of Gated Linear Units and its variants. Ported from [Rishit Dagli's Implementation](https://github.com/Rishit-dagli/GLU/tree/main)\n\n# Installation\n\n```shell\npip install glu_keras --upgrade\n```\n\n# Usage\n\n```python\nimport keras\nfrom glu_keras import SwiGLU\n\nmodel = keras.Sequential()\nmodel.add(keras.layers.Dense(units=10))\nmodel.add(SwiGLU(bias = False, dim=-1, name='swiglu'))\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "",
    "version": "0.0.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "228d95008d1462ee508fdd08206ebd207e13abdea268a52ba76bade83421ea69",
                "md5": "66b5a43c66cc91b89455127add48a3c0",
                "sha256": "379c5c97902f04067083ccb364796041ccc99b6cee86d72811dcc3db78c08ab3"
            },
            "downloads": -1,
            "filename": "glu_keras-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "66b5a43c66cc91b89455127add48a3c0",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 2824,
            "upload_time": "2023-12-24T04:38:54",
            "upload_time_iso_8601": "2023-12-24T04:38:54.014449Z",
            "url": "https://files.pythonhosted.org/packages/22/8d/95008d1462ee508fdd08206ebd207e13abdea268a52ba76bade83421ea69/glu_keras-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d7e65c94bcc03e6cebe19da29762e9ddc6a0928068236857f4eafa5a98698fc5",
                "md5": "6763f704e2d52588778379fd8d39cc8e",
                "sha256": "5ebc564fb16a7592968968bfc6494c9c09e060e5eb4117e82e8f6fbd0b213e98"
            },
            "downloads": -1,
            "filename": "glu_keras-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "6763f704e2d52588778379fd8d39cc8e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 2028,
            "upload_time": "2023-12-24T04:38:55",
            "upload_time_iso_8601": "2023-12-24T04:38:55.571496Z",
            "url": "https://files.pythonhosted.org/packages/d7/e6/5c94bcc03e6cebe19da29762e9ddc6a0928068236857f4eafa5a98698fc5/glu_keras-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-24 04:38:55",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "glu-keras"
}
        
Elapsed time: 0.19351s