Datasets:
Update tamil_eng_data.py
Browse files- tamil_eng_data.py +5 -5
tamil_eng_data.py
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
# See the License for the specific language governing permissions and
|
| 13 |
# limitations under the License.
|
| 14 |
|
| 15 |
-
"""
|
| 16 |
|
| 17 |
import csv
|
| 18 |
import json
|
|
@@ -21,12 +21,12 @@ import os
|
|
| 21 |
import datasets
|
| 22 |
|
| 23 |
_CITATION = """\
|
| 24 |
-
@misc{
|
| 25 |
title = {Whisper model for tamil-to-eng translation},
|
| 26 |
publisher = {Achitha},
|
| 27 |
year = {2022},
|
| 28 |
}
|
| 29 |
-
@misc{
|
| 30 |
title = {Fine-tuning whisper model},
|
| 31 |
publisher = {Achitha},
|
| 32 |
year = {2022},
|
|
@@ -51,7 +51,7 @@ _URLS = {
|
|
| 51 |
|
| 52 |
}
|
| 53 |
|
| 54 |
-
class
|
| 55 |
|
| 56 |
|
| 57 |
VERSION = datasets.Version("1.1.0")
|
|
@@ -126,4 +126,4 @@ class tamil_eng_data(datasets.GeneratorBasedBuilder):
|
|
| 126 |
yield id_, result
|
| 127 |
id_ += 1
|
| 128 |
elif inside_clips_dir:
|
| 129 |
-
break
|
|
|
|
| 12 |
# See the License for the specific language governing permissions and
|
| 13 |
# limitations under the License.
|
| 14 |
|
| 15 |
+
"""Simple sentences Dataset - contains 90 mins of speech data"""
|
| 16 |
|
| 17 |
import csv
|
| 18 |
import json
|
|
|
|
| 21 |
import datasets
|
| 22 |
|
| 23 |
_CITATION = """\
|
| 24 |
+
@misc{simpledata_1,
|
| 25 |
title = {Whisper model for tamil-to-eng translation},
|
| 26 |
publisher = {Achitha},
|
| 27 |
year = {2022},
|
| 28 |
}
|
| 29 |
+
@misc{simpledata_2,
|
| 30 |
title = {Fine-tuning whisper model},
|
| 31 |
publisher = {Achitha},
|
| 32 |
year = {2022},
|
|
|
|
| 51 |
|
| 52 |
}
|
| 53 |
|
| 54 |
+
class simple_data(datasets.GeneratorBasedBuilder):
|
| 55 |
|
| 56 |
|
| 57 |
VERSION = datasets.Version("1.1.0")
|
|
|
|
| 126 |
yield id_, result
|
| 127 |
id_ += 1
|
| 128 |
elif inside_clips_dir:
|
| 129 |
+
break
|