Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the setup file #8

Merged
merged 3 commits into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
.idea/

# IDEs
.vscode/
Expand Down
21 changes: 21 additions & 0 deletions aspen/tests/loader_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import unittest


class TestDataLoader(unittest.TestCase):
def test_load_llma(self):
"""
Todo: add the test function here
:return:
"""
self.assertEqual(1 + 1, 2)

def test_load_llam2(self):
"""
Todo: add the test function here
:return:
"""
self.assertEqual(2 - 1, 1)


if __name__ == '__main__':
unittest.main()
27 changes: 23 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
from setuptools import setup, find_packages
import os

setup(name='aspen',
version='0.2',
packages=find_packages(exclude=["test"]))
import pkg_resources
from setuptools import find_packages, setup

setup(
name='llm-multi-lora-finetune',
version='0.0.1',
packages=find_packages(),
description='A tool for fine-tuning large language models using LoRA or QLoRA',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache License",
"Operating System :: OS Independent",
],
install_requires=[
str(r)
for r in pkg_resources.parse_requirements(
open(os.path.join(os.path.dirname(__file__), "requirements.txt"))
)
],
include_package_data=True,
python_requires='>=3.6',
)