This commit is contained in:
renzhiyuan 2025-09-05 10:08:20 +08:00
parent e772392594
commit 5a10742386
2 changed files with 42 additions and 0 deletions

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

36
requirements.txt Normal file
View File

@ -0,0 +1,36 @@
# 基础依赖
Flask==3.1.0
gunicorn==20.0.4
transformers==4.26.0
# 数据处理
numpy==2.0.1
pandas==2.3.1
# 网络与请求
requests==2.32.4
urllib3==2.5.0
# 模型相关
huggingface-hub==0.34.3
tokenizers==0.13.3
safetensors==0.5.3
scikit-learn==1.7.1
# 工具库
click==8.1.8
Jinja2==3.1.6
MarkupSafe==3.0.2
itsdangerous==2.2.0
Werkzeug==3.1.3
pyyaml==6.0.2
tqdm==4.67.1
simplejson==3.20.1
joblib==1.5.1
typing_extensions==4.12.2
typing-inspection==0.4.1
torch==2.7.1 # 如果使用GPU或需要特定版本
datasets==3.3.2 # 如果需要数据集处理
pillow==11.3.0 # 如果涉及图像处理