Spaces:
Sleeping
Sleeping
Commit
·
be306d4
1
Parent(s):
3bb2ebb
Hoepfully fixed webhook errors
Browse files- .pre-commit-config.yaml +19 -0
- requirements-dev.txt +14 -0
- requirements.txt +23 -0
.pre-commit-config.yaml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
repos:
|
| 2 |
+
- repo: https://github.com/psf/black
|
| 3 |
+
rev: 24.3.0
|
| 4 |
+
hooks:
|
| 5 |
+
- id: black
|
| 6 |
+
language_version: python3
|
| 7 |
+
- repo: https://github.com/PyCQA/isort
|
| 8 |
+
rev: 5.13.0
|
| 9 |
+
hooks:
|
| 10 |
+
- id: isort
|
| 11 |
+
- repo: https://github.com/PyCQA/flake8
|
| 12 |
+
rev: 7.0.0
|
| 13 |
+
hooks:
|
| 14 |
+
- id: flake8
|
| 15 |
+
- repo: https://github.com/pre-commit/mirrors-prettier
|
| 16 |
+
rev: v3.2.5
|
| 17 |
+
hooks:
|
| 18 |
+
- id: prettier
|
| 19 |
+
additional_dependencies: [prettier-plugin-json-sort]
|
requirements-dev.txt
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Code quality
|
| 2 |
+
black>=24.3
|
| 3 |
+
isort>=5.13
|
| 4 |
+
flake8>=7.0
|
| 5 |
+
pre-commit>=3.5
|
| 6 |
+
|
| 7 |
+
# Testing & coverage
|
| 8 |
+
pytest>=8.2
|
| 9 |
+
pytest-cov>=4.1
|
| 10 |
+
coverage>=7.5
|
| 11 |
+
|
| 12 |
+
# Docs site
|
| 13 |
+
mkdocs>=1.5
|
| 14 |
+
mkdocs-material>=9.5
|
requirements.txt
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core pipeline
|
| 2 |
+
transformers>=4.40.0
|
| 3 |
+
datasets>=2.20.0
|
| 4 |
+
torch>=2.2
|
| 5 |
+
faiss-cpu>=1.7.4
|
| 6 |
+
pyserini>=0.16.0
|
| 7 |
+
sentence-transformers>=2.7
|
| 8 |
+
langchain>=0.1.0
|
| 9 |
+
ragas>=0.1.0
|
| 10 |
+
trulens-eval>=0.21.0
|
| 11 |
+
|
| 12 |
+
# Data & science
|
| 13 |
+
pandas>=2.2
|
| 14 |
+
scikit-learn>=1.4
|
| 15 |
+
numpy>=1.26
|
| 16 |
+
tqdm>=4.66
|
| 17 |
+
sentencepiece>=0.1.99
|
| 18 |
+
pyyaml>=6.0
|
| 19 |
+
|
| 20 |
+
# Visualisation / dashboard
|
| 21 |
+
matplotlib>=3.8
|
| 22 |
+
streamlit>=1.33
|
| 23 |
+
|