An end-to-end, real-time speech-to-speech system leveraging WebRTC and fine-tuned LLM/TTS architectures to train healthcare students in colloquial Puerto Rican Spanish.
Note: The live deployment utilizes our active, fine-tuned Coqui XTTS-v2 pipeline via a quantized inference setup. The companion Gemma LLM backbone is currently running on a vanilla baseline while our customized, dialect-tuned reasoning layers undergo strict sociolinguistic evaluation to prevent cultural misrepresentation.
The deployment is restricted to authorized users. Please email me for access credentials.
In New York, Caribbean Spanish, specifically the colloquial Puerto Rican dialect, is heavily spoken. This vernacular differs significantly in phonology, lexicon, and prosody from the Standard Spanish traditionally taught in academic settings.
For nursing and pharmacy students, this linguistic mismatch creates severe communication barriers during clinical intakes, often leading to medical misinterpretations. Because mainstream Voice AI technologies focus almost exclusively on high-resource, standardized variants, a specialized pipeline was required to help students practice with these rich regional variations.
We built a low-resource dialect adaptation framework that nudges established base models toward colloquial variations. This avoids the unsustainable compute constraints of training foundation models from scratch.
Utilized audio corpora from the University of Puerto Rico. Built a data staging pipeline performing normalization, diarization, and forced token-to-audio alignment to clean the transcripts. Fine-tuned Coqui XTTS-v2 on this data, blending it with high-quality general corpora to preserve voice stability and eliminate voice synthesis hallucinations.
To generate colloquial responses from scarce text data, we reversed the traditional translation vector. We took the limited colloquial data available and converted it back to Standard Spanish using commercial LLMs. Training the Gemma backbone on this inverse mapping yielded vastly superior contextual generation.
Listen to the difference between the baseline model and our fine-tuned version. While standard models produce clearly spoken, textbook Spanish, they often don't reflect real-world patient interactions. We specifically trained our model to capture the natural speed and everyday pronunciation of colloquial Puerto Rican Spanish, helping students get comfortable with the authentic way their future patients will actually speak.
"Chacho, si tú supieras lo que pasó ayer en la fiesta, te caes pa' atrás."
"Yo te lo dije, pero tú nunca haces caso, siempre estás en la tuya."
"Nos fuimos a chinchorrear el domingo por la montaña y la pasamos súper nítido."
"Estaba lloviendo a cántaros y tuvimos que meternos pa' adentro corriendo."
"¿Tú estás seguro de eso? Porque a mí me dijeron otra cosa totalmente distinta."
"¿Qué tú haces? Los muchachos están enfogonados porque llegaste tarde."
"Acho, dímelo mano, ¿qué tú crees de ese revolú que se formó anoche en el chinchorreo?"
"Mira, pichéale a eso y no cojas lucha, que al final del día to' se va a arreglar solo."
"Tuvimos que bregar con la guagua toda la tarde porque se quedó esbaratá en medio del expreso."
"Chacho, yo te lo dije mil veces, pero tú siempre estás en la tuya y no haces caso a na'."
"Ese tipo está bien enfogonao porque le cobraron de más y ahora no quiere pagall ni un chavo."
"Oye, pásame el mapo pa' limpiar este reguero antes de que llegue la doña y se ponga histérica."
"Si tú supieras lo que pasó en la fiesta te quedas con la boca abierta, ¡eso fue algo brutal!"
"Vamos pa' la playa a pasarla nítido, pero llévate el bloqueador pa' que no te quemes to'."
"Había un tapón tan grande que estuve metío en el carro como por dos horas sin podell movelme."
"¿Tú estás seguro que eso es lo que quieres hacell? Porque después no hay vuelta atrás, ¿oíste?"
As the lead engineer on this project, I architected and deployed the entire system. My concrete core contributions include:
Transitioning the generation layers to fully streaming chunk-by-chunk decoding to reduce Time-to-First-Phoneme (TTFP) under tight WebRTC window limitations.
Developing conversational data augmentation strategies to model natural turn-taking behavior, regional speech pacing, and authentic dialectal fillers to maximize dialog flow.
Co-designing a formal study to measure student fluency gains, tracking conversational confidence and error rates among nursing and pharmacy cohorts.