genaibook


Namegenaibook JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/genaibook/genaibook
SummaryUtilities for 'Hands-On Generative AI with Transformers and Diffusion Models' (upcoming)
upload_time2024-11-23 18:26:21
maintainerNone
docs_urlNone
authorJonathan Whitaker
requires_python>=3.10
licenseApache Software License 2.0
keywords nbdev jupyter notebook python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            `genaibook`
================

<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

This package contains some utilities to support O’Reilly book [*Hands-On
Generative AI with Transformers and Diffusion
Models*](https://www.oreilly.com/library/view/hands-on-generative-ai/9781098149239/)
([O’Reilly](https://www.oreilly.com/library/view/hands-on-generative-ai/9781098149239/),
[amazon.com](https://www.amazon.com/Hands-Generative-Transformers-Diffusion-Models/dp/1098149246/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=&sr=)).

## Setup

Code is an essential part of the book content, and we highly recommend
to run the code examples while reading it. We also recommend to explore
on your own by modifying the code snippets or creating your own!

This package will help you setup your environment and provides some
basic utilities used throughout the book.

### Hardware and Software Requirements

`genaibook` only requires Python 3.10 or better. Dealing with
transformers and diffusion models is a compute-intensive task, so having
access to a computer with a NVIDIA GPU will be needed. There are
multiple online options that you can use such as [Google
Colaboratory](https://colab.research.google.com/) and [Kaggle
Notebooks](https://www.kaggle.com/docs/notebooks).

You can also run in a local environment if your computer has a NVIDIA
GPU. Support for `mps` on Apple Silicon Macs is expected to work for the
most part, but has not been tested in depth.

### Local Environment

If you want to install in your computer, please install a Python 3.10
virtual environment using your preferred method. As an example, you can
do it with `conda` like this:

``` bash
conda create -n genaibook python=3.10
conda activate genaibook
```

### Package Install

If you are using your own local environment, just run the following in a
terminal window:

``` bash
pip install genaibook
```

If you are using a notebook-based environment such as [Google
Colaboratory](https://colab.research.google.com/) or [Kaggle
Notebooks](https://www.kaggle.com/docs/notebooks), enter the following
in the first cell of a new notebook:

``` bash
!pip install genaibook
```

This will in turn install `transformers`, `diffusers`, PyTorch and other
libraries used in the book.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/genaibook/genaibook",
    "name": "genaibook",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "nbdev jupyter notebook python",
    "author": "Jonathan Whitaker",
    "author_email": "johnowhitaker@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/84/e9/be1a1531d2ea33011e55459ce97e95dd27017ca61e665273e266935d4fd2/genaibook-0.1.1.tar.gz",
    "platform": null,
    "description": "`genaibook`\n================\n\n<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->\n\nThis package contains some utilities to support O\u2019Reilly book [*Hands-On\nGenerative AI with Transformers and Diffusion\nModels*](https://www.oreilly.com/library/view/hands-on-generative-ai/9781098149239/)\n([O\u2019Reilly](https://www.oreilly.com/library/view/hands-on-generative-ai/9781098149239/),\n[amazon.com](https://www.amazon.com/Hands-Generative-Transformers-Diffusion-Models/dp/1098149246/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=&sr=)).\n\n## Setup\n\nCode is an essential part of the book content, and we highly recommend\nto run the code examples while reading it. We also recommend to explore\non your own by modifying the code snippets or creating your own!\n\nThis package will help you setup your environment and provides some\nbasic utilities used throughout the book.\n\n### Hardware and Software Requirements\n\n`genaibook` only requires Python 3.10 or better. Dealing with\ntransformers and diffusion models is a compute-intensive task, so having\naccess to a computer with a NVIDIA GPU will be needed. There are\nmultiple online options that you can use such as [Google\nColaboratory](https://colab.research.google.com/) and [Kaggle\nNotebooks](https://www.kaggle.com/docs/notebooks).\n\nYou can also run in a local environment if your computer has a NVIDIA\nGPU. Support for `mps` on Apple Silicon Macs is expected to work for the\nmost part, but has not been tested in depth.\n\n### Local Environment\n\nIf you want to install in your computer, please install a Python 3.10\nvirtual environment using your preferred method. As an example, you can\ndo it with `conda` like this:\n\n``` bash\nconda create -n genaibook python=3.10\nconda activate genaibook\n```\n\n### Package Install\n\nIf you are using your own local environment, just run the following in a\nterminal window:\n\n``` bash\npip install genaibook\n```\n\nIf you are using a notebook-based environment such as [Google\nColaboratory](https://colab.research.google.com/) or [Kaggle\nNotebooks](https://www.kaggle.com/docs/notebooks), enter the following\nin the first cell of a new notebook:\n\n``` bash\n!pip install genaibook\n```\n\nThis will in turn install `transformers`, `diffusers`, PyTorch and other\nlibraries used in the book.\n",
    "bugtrack_url": null,
    "license": "Apache Software License 2.0",
    "summary": "Utilities for 'Hands-On Generative AI with Transformers and Diffusion Models' (upcoming)",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/genaibook/genaibook"
    },
    "split_keywords": [
        "nbdev",
        "jupyter",
        "notebook",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5d9c3be29c4186e62f3def71f1d85d79dde5f92cfd2f6b03d837f3bb79d542ce",
                "md5": "a408a1791e3884d1a23d46b8a33b000b",
                "sha256": "e775fdae37ecbd76d859a9e7a3c01056efb9db71b1329d69042960319a906a39"
            },
            "downloads": -1,
            "filename": "genaibook-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a408a1791e3884d1a23d46b8a33b000b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 12155,
            "upload_time": "2024-11-23T18:26:19",
            "upload_time_iso_8601": "2024-11-23T18:26:19.133111Z",
            "url": "https://files.pythonhosted.org/packages/5d/9c/3be29c4186e62f3def71f1d85d79dde5f92cfd2f6b03d837f3bb79d542ce/genaibook-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "84e9be1a1531d2ea33011e55459ce97e95dd27017ca61e665273e266935d4fd2",
                "md5": "68b947c7abb898ca804178cae568b5a7",
                "sha256": "d65f90f5aca6468ab7c63a6aaf33e4342c41e1d6171a4b8423ede221fcf63607"
            },
            "downloads": -1,
            "filename": "genaibook-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "68b947c7abb898ca804178cae568b5a7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 13483,
            "upload_time": "2024-11-23T18:26:21",
            "upload_time_iso_8601": "2024-11-23T18:26:21.060464Z",
            "url": "https://files.pythonhosted.org/packages/84/e9/be1a1531d2ea33011e55459ce97e95dd27017ca61e665273e266935d4fd2/genaibook-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-23 18:26:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "genaibook",
    "github_project": "genaibook",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "genaibook"
}
        
Elapsed time: 1.02634s