hongbo-miao/hongbomiao.com

View on GitHub
machine-learning/hugging-face/analyze-sentiment/pyproject.toml

Summary

Maintainability
Test Coverage
[tool.poetry]
package-mode = false

[tool.poetry.dependencies]
python = "3.12.x"
torch = "2.4.1"
transformers = {version = "4.45.2", extras = ["sentencepiece"]}

[tool.poetry.group.dev.dependencies]
poethepoet = "0.29.0"
pytest = "8.3.3"
pytest-cov = "5.0.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poe.tasks]
dev = "python src/main.py"
test = "pytest --verbose --verbose"
test-coverage = "pytest --cov=. --cov-report=xml"