Spaces:
No application file
No application file
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,12 +1,16 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk:
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
|
|
|
|
|
|
| 10 |
# Team 3 Project - Tone Evaluation
|
| 11 |
|
| 12 |
## Overview
|
|
@@ -15,19 +19,19 @@ Welcome to Team 3's Tone Evaluation project! This repository contains the necess
|
|
| 15 |
|
| 16 |
## Project Structure
|
| 17 |
|
| 18 |
-
- **Data Processing File**: [
|
| 19 |
- This script is responsible for processing the raw data and preparing it for training and testing.
|
| 20 |
- It takes input audio in wav format, and transfer audio into mel spectrum form and fundamental frequency form. These will be the two main features for the model to analyze.
|
| 21 |
- We convert the pinyin and tone into numerical lables by providing a text file and link each pinyin to a index.
|
| 22 |
|
| 23 |
-
- **Train File**: [train.py](/
|
| 24 |
- This file contains the code for training our tone evaluation model. We use CNN+CTC model for this task.
|
| 25 |
|
| 26 |
-
- **Test File**: [test.py](/
|
| 27 |
- Use this script to evaluate the performance of our trained model on test data.
|
| 28 |
- Currenty, we set the model to only accepct wav format audio, and after loading the audio, model will predict the tone sequence for the sentence.
|
| 29 |
|
| 30 |
-
- **UI Demo**: [
|
| 31 |
- Explore the user interface demo to interact with the tone evaluation model.
|
| 32 |
- You can upload wav format audio to our UI and see the evaluation result. We also provided some audio files for you to directly use.
|
| 33 |
|
|
@@ -38,7 +42,7 @@ We provide two versions of the dataset:
|
|
| 38 |
- **Full Size Version**: Download from Kaggle [full_dataset](https://huggingface.co/datasets/CS5647Team3/full_dataset)
|
| 39 |
- **Small Size Zip Version**: Zip file, Download from [data_mini](https://huggingface.co/datasets/CS5647Team3/data_mini)
|
| 40 |
|
| 41 |
-
Additionally, we offer a text file for Pinyin encoding: [
|
| 42 |
|
| 43 |
## Getting Started
|
| 44 |
|
|
@@ -53,6 +57,14 @@ Follow these steps to get started with our project:
|
|
| 53 |
## Additional Information
|
| 54 |
|
| 55 |
|
| 56 |
-
- If you encounter any issues or have questions, feel free to reach out to our team through
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
We hope you find our project useful and insightful! Happy coding!
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Mandarin Tone Evaluation
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 4.7.1
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 13 |
+
|
| 14 |
# Team 3 Project - Tone Evaluation
|
| 15 |
|
| 16 |
## Overview
|
|
|
|
| 19 |
|
| 20 |
## Project Structure
|
| 21 |
|
| 22 |
+
- **Data Processing File**: [dataset.py](https://huggingface.co/spaces/CS5647Team3/Mandarin_Tone_Evaluation/blob/main/dataset.py)
|
| 23 |
- This script is responsible for processing the raw data and preparing it for training and testing.
|
| 24 |
- It takes input audio in wav format, and transfer audio into mel spectrum form and fundamental frequency form. These will be the two main features for the model to analyze.
|
| 25 |
- We convert the pinyin and tone into numerical lables by providing a text file and link each pinyin to a index.
|
| 26 |
|
| 27 |
+
- **Train File**: [train.py](https://huggingface.co/spaces/CS5647Team3/Mandarin_Tone_Evaluation/blob/main/train.py)
|
| 28 |
- This file contains the code for training our tone evaluation model. We use CNN+CTC model for this task.
|
| 29 |
|
| 30 |
+
- **Test File**: [test.py](https://huggingface.co/spaces/CS5647Team3/Mandarin_Tone_Evaluation/blob/main/test.py)
|
| 31 |
- Use this script to evaluate the performance of our trained model on test data.
|
| 32 |
- Currenty, we set the model to only accepct wav format audio, and after loading the audio, model will predict the tone sequence for the sentence.
|
| 33 |
|
| 34 |
+
- **UI Demo**: [ui_space](https://huggingface.co/spaces/CS5647Team3/Mandarin_Tone_Evaluation)
|
| 35 |
- Explore the user interface demo to interact with the tone evaluation model.
|
| 36 |
- You can upload wav format audio to our UI and see the evaluation result. We also provided some audio files for you to directly use.
|
| 37 |
|
|
|
|
| 42 |
- **Full Size Version**: Download from Kaggle [full_dataset](https://huggingface.co/datasets/CS5647Team3/full_dataset)
|
| 43 |
- **Small Size Zip Version**: Zip file, Download from [data_mini](https://huggingface.co/datasets/CS5647Team3/data_mini)
|
| 44 |
|
| 45 |
+
Additionally, we offer a text file for Pinyin encoding: [pinyin.txt](https://huggingface.co/spaces/CS5647Team3/Mandarin_Tone_Evaluation/blob/main/pinyin.txt). This file is crucial for understanding the encoding used in our dataset.
|
| 46 |
|
| 47 |
## Getting Started
|
| 48 |
|
|
|
|
| 57 |
## Additional Information
|
| 58 |
|
| 59 |
|
| 60 |
+
- If you encounter any issues or have questions, feel free to reach out to our team through emails.
|
| 61 |
+
- Dataset and preprocessing
|
| 62 |
+
- Shen Siyan shen_siyan@u.nus.edu
|
| 63 |
+
- Ouyang Yanjia e0954791@u.nus.edu
|
| 64 |
+
- Model Training
|
| 65 |
+
- Zhao Zhengkai
|
| 66 |
+
- zhaozhengkai@u.nus.edu
|
| 67 |
+
- Liu Mingxuan
|
| 68 |
+
- e0917087@u.nus.edu
|
| 69 |
|
| 70 |
We hope you find our project useful and insightful! Happy coding!
|