2024-10-20 13:08:40 +02:00
|
|
|
[project]
|
|
|
|
name = "codebert-training"
|
|
|
|
version = "1.0.0"
|
|
|
|
description = "This code is used to train CodeBERT"
|
|
|
|
authors = [
|
|
|
|
{name = "Patryk Bartkowiak", email = "patbar15@st.amu.edu.pl"},
|
|
|
|
]
|
|
|
|
dependencies = [
|
2024-10-21 22:05:56 +02:00
|
|
|
"wandb==0.18.5",
|
2024-12-04 17:25:44 +01:00
|
|
|
"torch==2.5.1",
|
2024-10-21 22:05:56 +02:00
|
|
|
"tqdm==4.66.5",
|
|
|
|
"tree-sitter==0.23.1",
|
2024-12-06 13:10:03 +01:00
|
|
|
"transformers[torch]==4.46.3",
|
2024-10-21 22:05:56 +02:00
|
|
|
"datasets==3.0.1",
|
|
|
|
"huggingface-hub==0.26.0",
|
2024-10-26 18:47:44 +02:00
|
|
|
"matplotlib==3.9.2",
|
|
|
|
"scikit-learn==1.5.2",
|
|
|
|
"seaborn==0.13.2",
|
2024-12-04 17:25:44 +01:00
|
|
|
"tree-sitter-python==0.23.4",
|
2024-12-06 13:10:03 +01:00
|
|
|
"ipykernel==6.29.5",
|
|
|
|
"ipywidgets==8.1.5",
|
2024-10-20 13:08:40 +02:00
|
|
|
]
|
|
|
|
requires-python = "==3.11.*"
|
|
|
|
readme = "README.md"
|
|
|
|
license = {text = "MIT"}
|
|
|
|
|
|
|
|
[[tool.pdm.source]]
|
|
|
|
url = "https://download.pytorch.org/whl/cu124"
|
|
|
|
verify_ssl = true
|
|
|
|
include_packages = ["torch", "torchvision", "torchaudio"]
|
|
|
|
name = "cuda"
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["pdm-backend"]
|
|
|
|
build-backend = "pdm.backend"
|
|
|
|
|
|
|
|
[tool.pdm]
|
|
|
|
distribution = true
|
|
|
|
|
|
|
|
[tool.pdm.scripts]
|
2024-11-17 22:51:52 +01:00
|
|
|
parse_dataset = {cmd = "src/parse_dataset.py"}
|
2024-12-05 11:02:23 +01:00
|
|
|
train = {cmd = "src/training.py"}
|
2024-12-18 20:48:06 +01:00
|
|
|
eval = {cmd = "src/eval_model.py"}
|