--- title: "ASR (Automatic Speech Recognition) Research/Test" short_title: "ASR Research/Test" date: 2024-08-18 type: post topic: ai tags: [AI, Edge] permalink: "/asr_research_test" description: "Whisper-class speech models running on real edge hardware." image: /images/post-9/nvidia_board.png image_color: true --- This is my first time getting into application side of artificial intelligence, I have been researching/learning about machine learning so far it was mostly related with data science and theoretical part, now I had chance to test some real stuff on real hardware and it is exciting. First of all, I tried to understand what is hugging face and when I browse through pages tabs of it I really got excited because there are a lot of stuff that is open sourced and if I have the hardware to test them I had chance to apply them according to my need and this is really powerful, and how lucky we are to live in this era, it is full of oppurtunities ## Some Sources | Description | Link | |------------------------------------|-------------------------------------------------------------| | OpenAI Speech-to-Text Guide | [OpenAI Docs](https://platform.openai.com/docs/guides/speech-to-text) | | Colab Notebook | [Colab Example](https://colab.research.google.com/drive/1Z3uNwqxl3r3UpMhCUwAMo3zXZtOETaT2?usp=sharing&authuser=3#scrollTo=o80fU1RwFXC5) | | Whisper Model on Hugging Face | [Whisper v3](https://huggingface.co/openai/whisper-large-v3) | | Transformers Speech-to-Text Guide | [Transformers Docs](https://huggingface.co/docs/transformers/model_doc/speech_to_text) | | Transformers Installation Guide | [Transformers Install](https://huggingface.co/docs/transformers/installation) | | Vosk Speech Models | [Vosk Models](https://alphacephei.com/vosk/models) | | Movie Sound Clips | [Sound Clips](http://www.moviesoundclips.net/) | ## Comparison of PyTorch vs. TensorFlow
| Feature/Aspect | PyTorch | TensorFlow |
|---|---|---|
| Ease of Use | Flexible, beginner-friendly | Steeper learning curve, harder for beginners |
| Community Support | Strong support from Facebook and open-source community | Active community, extensive resources |
| Integration | Seamless with Python, dynamic graph construction | Keras integration as a high-level API |
| Production Deployment | Improving with tools like TorchServe and ONNX | Strong support with tools like TensorFlow Lite, TensorFlow.js |
| Debugging | Easier due to dynamic graph construction | More abstract, higher-level API might make debugging harder |
| Ecosystem | Popular, growing rapidly | Well-established, broader ecosystem |
| Summary | Great for experimentation and Python-based robotics | Strong for production, broader toolset |