indonesian-nlp_wav2vec2-indonesian-javanese-sundanese
indonesian-nlp · View on Hugging Face ↗
Model card
The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.
language:
- id
- jv
- sun datasets:
- mozilla-foundation/common_voice_7_0
- openslr
- magic_data
- titml metrics:
- wer tags:
- audio
- automatic-speech-recognition
- hf-asr-leaderboard
- id
- jv
- robust-speech-event
- speech
- su license: apache-2.0 model-index:
- name: Wav2Vec2 Indonesian Javanese and Sundanese by Indonesian NLP
results:
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Common Voice 6.1
type: common_voice
args: id
metrics:
- name: Test WER type: wer value: 4.056
- name: Test CER type: cer value: 1.472
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Common Voice 7
type: mozilla-foundation/common_voice_7_0
args: id
metrics:
- name: Test WER type: wer value: 4.492
- name: Test CER type: cer value: 1.577
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Robust Speech Event - Dev Data
type: speech-recognition-community-v2/dev_data
args: id
metrics:
- name: Test WER type: wer value: 48.94
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Robust Speech Event - Test Data
type: speech-recognition-community-v2/eval_data
args: id
metrics:
- name: Test WER type: wer value: 68.95
- task:
name: Automatic Speech Recognition
type: automatic-speech-recognition
dataset:
name: Common Voice 6.1
type: common_voice
args: id
metrics:
Multilingual Speech Recognition for Indonesian Languages
This is the model built for the project Multilingual Speech Recognition for Indonesian Languages. It is a fine-tuned facebook/wav2vec2-large-xlsr-53 model on the Indonesian Common Voice dataset, High-quality TTS data for Javanese - SLR41, and High-quality TTS data for Sundanese - SLR44 datasets.
We also provide a live demo to test the model.
When using this model, make sure that your speech input is sampled at 16kHz.
Usage
The model can be used directly (without a language model) as follows:
import torch
import torchaudio
from datasets import load_dataset
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
test_dataset = load_dataset("common_voice", "id", split="test[:2%]")
processor = Wav2Vec2Processor.from_pretrained("indonesian-nlp/wav2vec2-indonesian-javanese-sundanese")
model = Wav2Vec2ForCTC.from_pretrained("indonesian-nlp/wav2vec2-indonesian-javanese-sundanese")
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the aduio files as arrays
def speech_file_to_array_fn(batch):
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
inputs = processor(test_dataset[:2]["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
predicted_ids = torch.argmax(logits, dim=-1)
print("Prediction:", processor.batch_decode(predicted_ids))
print("Reference:", test_dataset[:2]["sentence"])
Evaluation
The model can be evaluated as follows on the Indonesian test data of Common Voice.
import torch
import torchaudio
from datasets import load_dataset, load_metric
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
import re
test_dataset = load_dataset("common_voice", "id", split="test")
wer = load_metric("wer")
processor = Wav2Vec2Processor.from_pretrained("indonesian-nlp/wav2vec2-indonesian-javanese-sundanese")
model = Wav2Vec2ForCTC.from_pretrained("indonesian-nlp/wav2vec2-indonesian-javanese-sundanese")
model.to("cuda")
chars_to_ignore_regex = '[\,\?\.\!\-\;\:\"\“\%\‘\'\”\�]'
resampler = torchaudio.transforms.Resample(48_000, 16_000)
# Preprocessing the datasets.
# We need to read the audio files as arrays
def speech_file_to_array_fn(batch):
batch["sentence"] = re.sub(chars_to_ignore_regex, '', batch["sentence"]).lower()
speech_array, sampling_rate = torchaudio.load(batch["path"])
batch["speech"] = resampler(speech_array).squeeze().numpy()
return batch
test_dataset = test_dataset.map(speech_file_to_array_fn)
# Preprocessing the datasets.
# We need to read the audio files as arrays
def evaluate(batch):
inputs = processor(batch["speech"], sampling_rate=16_000, return_tensors="pt", padding=True)
with torch.no_grad():
logits = model(inputs.input_values.to("cuda"), attention_mask=inputs.attention_mask.to("cuda")).logits
pred_ids = torch.argmax(logits, dim=-1)
batch["pred_strings"] = processor.batch_decode(pred_ids)
return batch
result = test_dataset.map(evaluate, batched=True, batch_size=8)
print("WER: {:2f}".format(100 * wer.compute(predictions=result["pred_strings"], references=result["sentence"])))
Test Result: 11.57 %
Training
The Common Voice train, validation, and ... datasets were used for training as well as ... and ... # TODO
The script used for training can be found here (will be available soon)
Magnet link
Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:
magnet:?xt=urn:btih:4c5c12ebd3d66293f77acd9c949d4b511c7b1335&dn=indonesian-nlp_wav2vec2-indonesian-javanese-sundaneseOpen magnet in torrent client · infohash 4c5c12ebd3d66293f77acd9c949d4b511c7b1335
Files & hashes
| Path | Size | sha1 | sha256 |
|---|---|---|---|
| README.md | 5.5 KB (5,594 B) | e70876a87df01e9e367f5d80c3f0037f8f2a742a | c3a7d5bb925c9c3a5dfbc4c2a199e87920e6d6a06f4569eee6d060f395379827 |
| added_tokens.json | 3 B (3 B) | 0967ef424bce6791893e9a57bb952f80fd536e93 | ca3d163bab055381827226140568f3bef7eaac187cebd76878e0b63e9e442356 |
| alphabet.json | 189 B (189 B) | 2dbc0bc8b2fcb8a3432ccca87e93c5b124b70bdd | 98b09741a1a1b29e7368e0399bda974f8440035f57aa4fba61f554f9691c9e77 |
| common_voice_id_test_eval_results.txt | 50 B (50 B) | 53d596f3055543ca063477481cabe7ae8ca8587a | 4062cd69ebc852e4ffe6dc0cf4f1a4675318839fda94917b71911bd4c11c57db |
| config.json | 1.9 KB (1,912 B) | fe4323dc41288e25b6ba2df3cf9dbdbc794ec12f | dd082fb86c6e9787eb4dceb48ceb14faa7ec904b78d607c641eac4201bfcd039 |
| eval.py | 4.7 KB (4,799 B) | 0efb4167a4efb65300b1ef39a06ad6b361f9ce12 | 72e2bc94c030002a7c0283eff0aecaa9656537695337ce38cd051c68331f2938 |
| language_model/4gram.bin | 2.08 GB (2,233,200,344 B) | 66ddb19bd3ca9d3721722487ff1a1c0da27b1c5b | c2b756cefd29a19b4ee62b258a75bed0261585e9512491490faa05ba57d91ae5 |
| language_model/attrs.json | 78 B (78 B) | 3c07595c2b465df3c14531dbc2d1c52bf11f166d | f5ffd02e1ceef6517476e72ebe7997ddef7e92d27cb5a23d6695d64c4317d6ad |
| language_model/unigrams.txt | 4.4 MB (4,588,229 B) | fdc199aa66cbab654fcd0cb65a1c774b4a5f59f1 | 9df22abd9da686326e3df5aa8a9998b77f3567fdc8a4cb1e7335e11124d25bf4 |
| log_common_voice_id_test_predictions.txt | 75.1 KB (76,936 B) | 40e3234e1cd057fbe41fa4bca578f949048e4ab7 | 8d9cf915ea76d863d2206eb47ad43534f8d96367e2f9d8b5e2d43d0f1f66927b |
| log_common_voice_id_test_targets.txt | 75.2 KB (76,980 B) | c91ba950ec0b4285fdcb4871509386c3d44c7bc7 | 3fd6f56e602a245f2c03201d64e89889bdebde1b9b283ef34c65e43a89978fa7 |
| log_mozilla-foundation_common_voice_7_0_id_test_predictions.txt | 126.3 KB (129,296 B) | 267bdd601ea58330f4b5091f09ce76766b767281 | 3729b46a082c4bafac629829b8fd10204db08ce9227571d1a361656fd35da23d |
| log_mozilla-foundation_common_voice_7_0_id_test_targets.txt | 126.5 KB (129,519 B) | f60ed5ae9f6c8f1c141874b5d2d753412d827540 | 216e5ba58375974d166e5d25a15e9f54b1a4c48eedb035d6429d50c129468a9f |
| log_mozilla-foundation_common_voice_8_0_id_test_predictions.txt | 151.6 KB (155,272 B) | 29f51d79160129275dc4fbccfa2ba7463d43f60f | f6fb0f650b719d7cacd3e5b9e3b06b29d06f736b6670966d05494a486922e644 |
| log_mozilla-foundation_common_voice_8_0_id_test_targets.txt | 151.9 KB (155,512 B) | a099a3524fa19e29996b99c418d9059b52306e3b | aeb21296488df371fcb67f5b7566738e4142df0db30ce310a91857926d184b25 |
| mozilla-foundation_common_voice_7_0_id_test_eval_results.txt | 50 B (50 B) | fc9ce1d5346068d4e9358bbc7540abd28393ccbf | a09d2eeb3532348ef99a1e3bf17cf701d333c67b15d15b6d26fefd83cb4166ce |
| mozilla-foundation_common_voice_8_0_id_test_eval_results.txt | 50 B (50 B) | da6669cec148ef4bd44cba48361ca157698feb66 | 0579fc09040f226e62a16e68ed6a6d18f544a19bf0356f532133a7bafc07572a |
| preprocessor_config.json | 262 B (262 B) | 9f99bcabcbeaf80e6791d79c9cb6cd68c6e7ae95 | 2c594304e9d9832162bedd5345051df29e8daf458a845cbed58c6ede23ceeae3 |
| pytorch_model.bin | 1.18 GB (1,262,046,641 B) | be2b666ccec3d50af4927f0a39040a7ca10f9d88 | ea90feff05f74ce30926777673cd8fb4ac9a26604c67c107f253c1aab4c14e18 |
| special_tokens_map.json | 83 B (83 B) | 918f6e1cb0df6bd8e61bb29443725cb6a01bb97b | 1430b9ba4189e762f58448205100bf27615f19992fc3a67d7de4231f8d83b4ed |
| tokenizer_config.json | 526 B (526 B) | 2e0c75fd42ba79be94fd168f56f95df856f1182b | 2c414a9677068755d8212ffb76ba4ed4836f8716071bd606d32eafb5b29bf446 |
| vocab.json | 269 B (269 B) | 1424d22ddf7b9016195ccf01a64e9094dc26074e | 7a6d21259316ac064d9086a0ceabe52bbc4986b88043d33267e546826ab958d9 |
Cite this release
- Canonical URL
- https://aiseedbank.org/models/indonesian-nlp_wav2vec2-indonesian-javanese-sundanese/
- Slug
- indonesian-nlp_wav2vec2-indonesian-javanese-sundanese
- Infohash
- 4c5c12ebd3d66293f77acd9c949d4b511c7b1335
- License
- apache-2.0
- Signing key fingerprint
- 85a3b32c3712427b
Every file carries a locally computed sha256 — verify a download against the signed sums: indonesian-nlp_wav2vec2-indonesian-javanese-sundanese.SHA256SUMS (+ minisign signature).
Provenance
| Upstream repository | indonesian-nlp/wav2vec2-indonesian-javanese-sundanese |
|---|---|
| Revision (pinned) | e5e699fa5aa5bdce999276a90a29589587b58ac9 |
| Fetched at | 2026-09-04T00:54:29Z |
| License at fetch | apache-2.0 |
| Snapshot tool | huggingface · seedbank 0.1.0 |
Trackers
- udp://announce.aitorrent.org:6969/announce
- http://announce.aitorrent.org:7070/announce
- udp://announce2.aitorrent.org:6970/announce
- http://announce2.aitorrent.org:7071/announce
- udp://tracker.opentrackr.org:1337/announce
- udp://open.demonii.com:1337/announce
- udp://open.stealth.si:80/announce
- udp://exodus.desync.com:6969/announce
- udp://tracker.torrent.eu.org:451/announce
✓ verified · rehash-vs-hf-metadata at 2026-09-04T00:55:11Z
apache-2.03.26 GB (3,500,572,594 bytes)transformerspytorchwav2vec2automatic-speech-recognitionaudiohf-asr-leaderboardrobust-speech-eventspeechsunmodel-indexendpoints_compatible3 languages (id, jv, su)