huggingface-hub-rvc
huggingface-hub-rvc provides a small Hugging Face style API for RVC voice conversion artifacts:
RVCPipeline.from_pretrained(...)RVCPipeline.save_pretrained(...)RVCPipeline.push_to_hub(...)RVCPipeline.train(...)RVCPipeline.convert_file(...)RVCPipeline.convert_directory(...)
The package uses the working RVC v2 F0 48 kHz architecture and stores new model weights as safetensors.
Artifact Layout
config.json
voice_transform/
manifest.json
model.safetensors
features.safetensors
index.index
model.safetensors contains the RVC generator weights plus string metadata for the RVC config and training summary.
features.safetensors contains retrieval vectors as tensor payload. index.index is the FAISS index and remains a separate binary file.
config.json includes model_name, which is also mirrored into voice_transform/manifest.json so the artifact remains identifiable even if it is downloaded into a generic cache or renamed folder.
Legacy model.pth and features.npy artifacts can still be loaded.
Load
from huggingface_hub_rvc import RVCPipeline
pipe = RVCPipeline.from_pretrained("org/rvc-model")
pipe.convert_directory("input_audio", "converted_audio")
Use local_files_only=True to avoid network lookup:
pipe = RVCPipeline.from_pretrained("./my-rvc-model", local_files_only=True)
Train
from huggingface_hub_rvc import RVCPipeline
pipe = RVCPipeline.train(
identity_dir="identity_audio",
output_dir="rvc_artifact",
model_name="Example Voice",
training_steps=1000,
identity_audio_mode="separate",
)
pipe.convert_directory("source_audio", "converted_audio")
Save And Push
pipe.save_pretrained("rvc_artifact", model_name="Example Voice")
pipe.push_to_hub("org/rvc-model", folder_path="rvc_artifact")
or:
pipe.save_pretrained("rvc_artifact", push_to_hub=True, repo_id="org/rvc-model")
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file huggingface_hub_rvc-0.1.1.tar.gz.
File metadata
- Download URL: huggingface_hub_rvc-0.1.1.tar.gz
- Upload date:
- Size: 40.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c31378abca8510b17110d0900b05bd61df4f05f0be5a4c517fa2d032e46c3a21
|
|
| MD5 |
30be9411109f4f6579a7a17bed9de8b8
|
|
| BLAKE2b-256 |
de5f2abde0adc423853be17dfad0baf813f518b423527ef2b5876c0e3f01b3e2
|
File details
Details for the file huggingface_hub_rvc-0.1.1-py3-none-any.whl.
File metadata
- Download URL: huggingface_hub_rvc-0.1.1-py3-none-any.whl
- Upload date:
- Size: 43.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c629dcd1ef31780425448651462f690f32131268bd9bc8963753ffc8a9aa59fd
|
|
| MD5 |
3ed192512723990b6d97bf6bed2a8b5a
|
|
| BLAKE2b-256 |
e9be7f534d537309f5f015bfff3548ec5ca6efbce98fd166772685c85f88f235
|