Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
zzb1420
/
BV23
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
BV23
/
oldVersion
/
V101
/
text
/
english_bert_mock.py
XzJosh
Upload 180 files
1cf1e13
almost 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
100 Bytes
import
torch
def
get_bert_feature
(
norm_text, word2ph
):
return
torch.zeros(
1024
,
sum
(word2ph))