init commit

This commit is contained in:
51616 2024-12-18 13:05:19 +00:00
commit 404566501b
14 changed files with 927 additions and 0 deletions

39
pyproject.toml Normal file
View file

@ -0,0 +1,39 @@
[project]
name = "ctx-to-lora"
version = "0.0.1"
authors = [{ name = "Rujikorn Charakorn" }]
description = ""
readme = "README.md"
requires-python = ">= 3.10"
dependencies = [
"transformers",
"peft",
"accelerate",
"datasets",
"bitsandbytes",
"jupyter",
"matplotlib",
"hf_transfer",
"torchmetrics",
"inflect",
"pre-commit",
"trl",
"tensorboardX",
"wandb",
"fasttext-wheel",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.isort]
profile = "black"
[tool.black]
line-length = 99
[tool.pyright]
exclude = ["train_outputs", "data", "generated_tasks", "outputs", "plots", "tmp", "wandb"]
typeCheckingMode = "off"