Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iamaziz/llm-voice-bot

Speak (speech-to-text) to Ollama LLMs in any lanaguage - Streamlit app
https://github.com/iamaziz/llm-voice-bot

llms ollama streamlit voice-bot voice-recognition

Last synced: 4 days ago
JSON representation

Speak (speech-to-text) to Ollama LLMs in any lanaguage - Streamlit app

Awesome Lists containing this project

README

        

# 🎙️ Voice LLM Bot

Speak to Ollama LLMs in any language.

## Demo (📢 voice on)

https://github.com/iamaziz/llm-voice-bot/assets/3298308/e444d4db-f8d9-4b7d-996d-cb783d704c61


**Note**

- If a langauge is not available in the dropdown list, it can be added [here](https://github.com/iamaziz/llm-voice-bot/blob/main/app.py#L11).
- Thanks to [streamlit_mic_recorder](https://github.com/B4PT0R/streamlit-mic-recorder).


> Interesting how LLMs responded differently to switching languages in the same conversation.
> Almost all the tested models understood the question in its original langauge, but they varied in how they reponded.
> Mistral models consistently answered in English. While other models stumbled going back and forth.

Here are some examples:

mistral
![image](https://github.com/iamaziz/llm-voice-bot/assets/3298308/4d0b97c9-e42e-4d83-9cd2-fee970cba86f)

dolphin-mistral
image

llama2:13b
image

qwen:7b
image

gemma:7b (worst)
image

And GPT-4 for comparison:

image