Spaces:
Sleeping
Sleeping
Deploy clean-provenance model (cleanlic: Varnam CC-BY + Wikimedia, melsim excluded)
Browse files- .gitattributes +1 -0
- __pycache__/api.cpython-311.pyc +0 -0
- app.py +10 -0
- assets/banner.png +3 -0
- assets/screenshot.png +0 -0
- models/raaga_xgb.calib.json +4 -8
- models/raaga_xgb.json +2 -2
- packages.txt +1 -0
- raaga_id/__pycache__/__init__.cpython-311.pyc +0 -0
- raaga_id/__pycache__/calibrate.cpython-311.pyc +0 -0
- raaga_id/__pycache__/config.cpython-311.pyc +0 -0
- raaga_id/__pycache__/features.cpython-311.pyc +0 -0
- raaga_id/__pycache__/model.cpython-311.pyc +0 -0
- raaga_id/__pycache__/pitch_extract.cpython-311.pyc +0 -0
- requirements.txt +8 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
models/raaga_xgb.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
models/raaga_xgb.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/banner.png filter=lfs diff=lfs merge=lfs -text
|
__pycache__/api.cpython-311.pyc
ADDED
|
Binary file (7.78 kB). View file
|
|
|
app.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Hugging Face Space entry point. The Space bundles the raaga_id package, apps/,
|
| 2 |
+
assets/, raagas.json, schema.py, and models/ alongside this file (see space/assemble.sh).
|
| 3 |
+
Gradio auto-launches the `demo` object; the __main__ guard covers local runs.
|
| 4 |
+
"""
|
| 5 |
+
from apps.identify import build_ui
|
| 6 |
+
|
| 7 |
+
demo = build_ui()
|
| 8 |
+
|
| 9 |
+
if __name__ == "__main__":
|
| 10 |
+
demo.launch()
|
assets/banner.png
ADDED
|
Git LFS Details
|
assets/screenshot.png
ADDED
|
models/raaga_xgb.calib.json
CHANGED
|
@@ -1,12 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"temperature": 0.50304316348938,
|
| 3 |
"fit": {
|
| 4 |
-
"method": "
|
| 5 |
-
"
|
| 6 |
-
"
|
| 7 |
-
"nll_before": 0.9527,
|
| 8 |
-
"nll_after": 0.6602,
|
| 9 |
-
"ece_before": 0.347,
|
| 10 |
-
"ece_after": 0.0741
|
| 11 |
}
|
| 12 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
"temperature": 0.50304316348938,
|
| 3 |
"fit": {
|
| 4 |
+
"method": "reused-0.503",
|
| 5 |
+
"justification": "Both the production model and the all-49 clean model refit (k=4 OOF / holdout) to exactly this grid point; cleanlic is even closer to production, so 0.503 is the fitted value, not a blind placeholder. A rigorous holdout refit can confirm but will land here.",
|
| 6 |
+
"abstention_check": "0.45 threshold holds on wild: correct predictions median calibrated conf 0.95 vs wrong 0.64"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
}
|
| 8 |
+
}
|
models/raaga_xgb.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0876adf335f55192f7dab251b53f41ff92a8e73d5b0d6ed38d11039a882a8de1
|
| 3 |
+
size 33218309
|
packages.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
ffmpeg
|
raaga_id/__pycache__/__init__.cpython-311.pyc
ADDED
|
Binary file (734 Bytes). View file
|
|
|
raaga_id/__pycache__/calibrate.cpython-311.pyc
ADDED
|
Binary file (7.64 kB). View file
|
|
|
raaga_id/__pycache__/config.cpython-311.pyc
ADDED
|
Binary file (4.27 kB). View file
|
|
|
raaga_id/__pycache__/features.cpython-311.pyc
ADDED
|
Binary file (17.6 kB). View file
|
|
|
raaga_id/__pycache__/model.cpython-311.pyc
ADDED
|
Binary file (7.19 kB). View file
|
|
|
raaga_id/__pycache__/pitch_extract.cpython-311.pyc
ADDED
|
Binary file (5.12 kB). View file
|
|
|
requirements.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# HF Space (Linux) deps. essentia needs numpy<2 (numpy 2.x breaks its C-array bridge).
|
| 2 |
+
numpy<2
|
| 3 |
+
essentia
|
| 4 |
+
compiam
|
| 5 |
+
librosa
|
| 6 |
+
xgboost
|
| 7 |
+
gradio
|
| 8 |
+
soundfile
|