Miners in
Bittensor's
SoundsRight Subnet
must containerize their models before uploading to HuggingFace. This repo serves as a template.
The branches
DENOISING_16000HZ
and
DEREVERBERATION_16000HZ
contain this template fitted with
SGMSE+
for 16 kHz speech enhancement, and the branches
DENOISING_48000HZ
and
DEREVERBERATION_48000HZ
are fitted with
SGMSE+
for 48 kHz speech enhancement for the denoising and dereverberation tasks. These are also helpful resources for how to incorporate your model.
The
main
branch contains a template for a container that will spin up an API to communicate with the validator. The following entrypoints cannot be altered:
/status/
: Communicates API status
/prepare/
: Makes necessary preparations (downloading checkpoints, etc.) and initializes model
/upload-audio/
: Upload audio files, save to noisy audio directory
/enhance/
: Initialize model, enhance audio files, save to enhanced audio directory
/reset/
: Remove all existing audio files for another batch of enhancement
To add your own model to this template, there are a few things that a miner must do:
Add the model files under the
model
directory.
Modify the
modelapi.prepare
method in
app/app.py
with necessary preparations to initialize your model.
Modify the
modelapi.enhance
method in
app/app.py
with the logic your model uses to enhance audio.
Update
dependencies
in
pyproject.toml
with the dependencies used by your model.
If you have directories other than
app
in your repository, be sure to modify the
Dockerfile
accordingly (reference line 12 in the
Dockerfile
for how to do this).
Cite your sources (if applicable).
For your model to be processed by validators, there are a few formatting requirements. Note that the template already has been formatted to fit these guidelines.
API endpoints must as outlined above.
Port must be 6500.
Container must be configured to run as non-root user.
Container is not reliant on having network access to function as intended.
Runs of EAGLE0920 sr_doo21 on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About sr_doo21 huggingface.co Model
sr_doo21 huggingface.co
sr_doo21 huggingface.co is an AI model on huggingface.co that provides sr_doo21's model effect (), which can be used instantly with this EAGLE0920 sr_doo21 model. huggingface.co supports a free trial of the sr_doo21 model, and also provides paid use of the sr_doo21. Support call sr_doo21 model through api, including Node.js, Python, http.
sr_doo21 huggingface.co is an online trial and call api platform, which integrates sr_doo21's modeling effects, including api services, and provides a free online trial of sr_doo21, you can try sr_doo21 online for free by clicking the link below.
EAGLE0920 sr_doo21 online free url in huggingface.co:
sr_doo21 is an open source model from GitHub that offers a free installation service, and any user can find sr_doo21 on GitHub to install. At the same time, huggingface.co provides the effect of sr_doo21 install, users can directly use sr_doo21 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.