Zum Inhalt springen
ModelÜberprüftExtern
Herunterladen

Dasheng Base Env Encoder

mispeech/dasheng-base fine-tuned (LoRA, merged) to extract environment/background embeddings from speech. Trained on ChristianYang/Env-TTS-Clean with conversation-level AAMSoftmax. Auto-uploaded from training step...

ArtAudio modelBasismodellmispeech/dasheng-baseVersionRevision e92f375Verleger@ChristianYangCBewertung

Modellquelle

Art
Audio model, Embedding
Dateigröße
13,5–326 MB
Basismodell
mispeech/dasheng-base
Version
vRevision e92f375
Aktualisiert
3. Okt. 2026
Downloads
3
Aufgaben
Audio
Quelle
Hugging Face

Quellenbeschreibung

dasheng-base-env-encoder

mispeech/dasheng-base fine-tuned (LoRA, merged) to extract environment/background embeddings from speech. Trained on ChristianYang/Env-TTS-Clean with conversation-level AAMSoftmax. Auto-uploaded from training step 100000.

Usage

import torch
from transformers import AutoModel, AutoFeatureExtractor
from huggingface_hub import hf_hub_download

repo = "ChristianYang/dasheng-base-env-encoder"
backbone = AutoModel.from_pretrained(repo, trust_remote_code=True).eval()
fe = AutoFeatureExtractor.from_pretrained(repo, trust_remote_code=True)
head = torch.load(hf_hub_download(repo, "head.pt"), map_location="cpu", weights_only=True)
# pipeline: 16 kHz wav -> fe -> mel -> backbone.encoder tokens [B,T,768]
# -> Conv1d x2 (head["cnn"]) -> masked attentive pooling (head["pool"]) -> 768-d embedding

Head weights (head.pt): two Conv1d(768,768,k=3) layers + attentive pooling (Linear(768,1)). Token count = mel frames // 4.

Quellen

1 Quelle
Hugging FacePrimärVersion e92f375d0ce1f23a736d4b774aab252d522398b7
huggingface.co/ChristianYang/dasheng-base-env-encoder/tree/e92f375d0ce1f23a736d4b774aab252d522398b7

Verifiziert 3. Okt.

Modellartefakte

2 Artefakte

head.pt

pt · 13,5 MB · SHA-256 f8c21e9d63a6…2c26 · Hugging Face

Herunterladen

model.safetensors

safetensors · 326 MB · SHA-256 830b7b3641e5…4c14 · Hugging Face

Herunterladen

Quellenauszüge

3 Auszüge

--- license: apache-2.0 base_model: mispeech/dasheng-base --- # dasheng-base-env-encoder `mispeech/dasheng-base` fine-tuned (LoRA, merged) to extract environment/background embeddings from speech. Trained on `ChristianYang/Env-TTS-Clean` with conversation-level AAMSoftmax. Auto-uploaded from training step **100000**. ## Usage ```python import torch from transformers import AutoModel, AutoFeatureExtractor from huggingface_hub import hf_hub_download repo = "ChristianYang/dasheng-base-env-encoder" backbone = AutoModel.from_pretrained(repo, trust_remote_code=True).eval() fe = AutoFeatureExtractor.from_pretrained(repo, trust_remote_code=True) head = torch.load(hf_hub_download(repo, "head.pt"), map_location="cpu", weights_only=True) # pipeline: 16 kHz wav -> fe -> mel -> backbone.encoder tokens [B,T,768] # -> Conv1d x2 (head["cnn"]) -> masked attentive pooling (head["pool"]) -> 768-d embedding ``` Head weights (`head.pt`): two Conv1d(768,768,k=3) layers + attentive pooling (Linear(768,1)). Token count = mel frames // 4.

Source context: 3 downloads · 0 likes · Repo ChristianYang/dasheng-base-env-encoder

Source context: 5 downloads · 0 likes · Repo ChristianYang/dasheng-base-env-encoder