DonutLLMCore


NameDonutLLMCore JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/gauthamnair2005/donutllmcore
SummaryCore library for training PyTorch model in Donut-LLM-Tools
upload_time2024-05-28 13:44:55
maintainerNone
docs_urlNone
authorGautham Nair
requires_python<3.12,>=3.9
licenseMIT License Copyright (c) 2024 Gautham Nair Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords ai ml train model dataset
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Donut LLM Core Library
This library will be used by future versions of Donut-LLM-Tools, instead of CreateLLM library.

## Usage
### LLM Creation
```python
import DonutLLMCore
model = DonutLLMCore.ModelTrainer(path,max_iters=100)
model = model.trainer()
```

### LLM Usage
```python
import DonutLLMCore
path = input("Enter the path of the model : ")
model = DonutLLMCore.LLMModel(path)
prompt = input("Enter prompt : ")
print(model.generate(prompt))
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/gauthamnair2005/donutllmcore",
    "name": "DonutLLMCore",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.9",
    "maintainer_email": null,
    "keywords": "AI, ML, Train, Model, Dataset",
    "author": "Gautham Nair",
    "author_email": "gautham.nair.2005@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/77/c6/59fb0871cdcd3c9afc26a74a84d9f0a08ad588a70013004a09d8c03d7622/donutllmcore-1.0.0.tar.gz",
    "platform": null,
    "description": "# Donut LLM Core Library\r\nThis library will be used by future versions of Donut-LLM-Tools, instead of CreateLLM library.\r\n\r\n## Usage\r\n### LLM Creation\r\n```python\r\nimport DonutLLMCore\r\nmodel = DonutLLMCore.ModelTrainer(path,max_iters=100)\r\nmodel = model.trainer()\r\n```\r\n\r\n### LLM Usage\r\n```python\r\nimport DonutLLMCore\r\npath = input(\"Enter the path of the model : \")\r\nmodel = DonutLLMCore.LLMModel(path)\r\nprompt = input(\"Enter prompt : \")\r\nprint(model.generate(prompt))\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Gautham Nair  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Core library for training PyTorch model in Donut-LLM-Tools",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/gauthamnair2005/donutllmcore"
    },
    "split_keywords": [
        "ai",
        " ml",
        " train",
        " model",
        " dataset"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fb2fc4b89aa7af0f0ba4582402222da4bc3e34ea05271b39f32e5cef1eb4316c",
                "md5": "35bdcba9f27224dc66d9a3a08fcbceee",
                "sha256": "709cb81884b697a74ee40cf25a9ce56752afcc32b6e3b4e9142677086cc878b2"
            },
            "downloads": -1,
            "filename": "DonutLLMCore-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "35bdcba9f27224dc66d9a3a08fcbceee",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.9",
            "size": 7442,
            "upload_time": "2024-05-28T13:44:53",
            "upload_time_iso_8601": "2024-05-28T13:44:53.423009Z",
            "url": "https://files.pythonhosted.org/packages/fb/2f/c4b89aa7af0f0ba4582402222da4bc3e34ea05271b39f32e5cef1eb4316c/DonutLLMCore-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "77c659fb0871cdcd3c9afc26a74a84d9f0a08ad588a70013004a09d8c03d7622",
                "md5": "4ef0bdf5d9ac4ba384a25f2ef497df29",
                "sha256": "5264a460035e17a1bcd19bf3c7fea533e9cd3abf8c01ebe6abb1606c5f185928"
            },
            "downloads": -1,
            "filename": "donutllmcore-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4ef0bdf5d9ac4ba384a25f2ef497df29",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.9",
            "size": 7217,
            "upload_time": "2024-05-28T13:44:55",
            "upload_time_iso_8601": "2024-05-28T13:44:55.435267Z",
            "url": "https://files.pythonhosted.org/packages/77/c6/59fb0871cdcd3c9afc26a74a84d9f0a08ad588a70013004a09d8c03d7622/donutllmcore-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-28 13:44:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "gauthamnair2005",
    "github_project": "donutllmcore",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "donutllmcore"
}
        
Elapsed time: 0.51108s