1. 初始化代码;

This commit is contained in:
2025-12-30 22:52:25 +08:00
parent aed4f68b0d
commit c74d2c8567
4 changed files with 1025 additions and 0 deletions

1
.python-version Normal file
View File

@@ -0,0 +1 @@
3.11

10
main.py Normal file
View File

@@ -0,0 +1,10 @@
import logging.config
logging.config.fileConfig('./confs/logging.conf')
from models.transformer import Transformer
if __name__ == '__main__':
logging.info("Running Transformer Model")
model_runner = Transformer({})
model_runner.run_test()

12
pyproject.toml Normal file
View File

@@ -0,0 +1,12 @@
[project]
name = "nlp-learning"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"matplotlib>=3.10.8",
"seaborn>=0.13.2",
"torch>=2.9.1",
"torchvision>=0.24.1",
]

1002
uv.lock generated Normal file

File diff suppressed because it is too large Load Diff