-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from merlintang/main
Update the setup file
- Loading branch information
Showing
3 changed files
with
45 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', | ||
) |