updated
Browse files
README.md
CHANGED
@@ -37,8 +37,10 @@ The model can be used directly (without a language model) as follows:
|
|
37 |
```python
|
38 |
import torch
|
39 |
import torchaudio
|
40 |
-
from datasets import load_dataset
|
41 |
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
|
|
|
|
|
42 |
|
43 |
|
44 |
def load_dataset_sundanese():
|
@@ -106,9 +108,12 @@ The model can be evaluated as follows or using the [notebook](https://github.com
|
|
106 |
```python
|
107 |
import torch
|
108 |
import torchaudio
|
109 |
-
from datasets import load_dataset, load_metric
|
110 |
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
|
111 |
import re
|
|
|
|
|
|
|
112 |
|
113 |
def load_dataset_sundanese():
|
114 |
urls = [
|
|
|
37 |
```python
|
38 |
import torch
|
39 |
import torchaudio
|
40 |
+
from datasets import load_dataset, load_metric, Dataset
|
41 |
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
|
42 |
+
from pathlib import Path
|
43 |
+
import pandas as pd
|
44 |
|
45 |
|
46 |
def load_dataset_sundanese():
|
|
|
108 |
```python
|
109 |
import torch
|
110 |
import torchaudio
|
111 |
+
from datasets import load_dataset, load_metric, Dataset
|
112 |
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
|
113 |
import re
|
114 |
+
from pathlib import Path
|
115 |
+
import pandas as pd
|
116 |
+
|
117 |
|
118 |
def load_dataset_sundanese():
|
119 |
urls = [
|