Category Archives: Productivity

Screenshot showing the corrections of video captions by Gemini. On the left are the original captions from YouTube, on the right are the corrections. Chemistry words like "diene" and "dienophile" are consistently fixed.

Fixing YouTube’s automatic captioning with AI

I use a lot of homemade YouTube videos as part of my lab courses. Most of the wet labs have a short (10–15 min) prelab video that covers whatever concept we’re exploring that week. Miami is also a little unusual (for US departments, at least), in that we teach the spectroscopy of organic compounds as part of the lab courses. In my classes, we do this using an inverted classroom approach, where the students watch longer (~40 min) lectures on IR spectroscopy, NMR spectroscopy, or mass spectrometry and then do an assignment in-class with help from me and the TAs.

So, there are a fair number of videos associated with these courses, most of which date from around the pandemic era. An ongoing problem, however, has been that the closed captions for these videos are just the ones generated automatically by YouTube, and they are terrible. Captioning by YouTube has improved in recent years, but 5 years ago it produced long, stream of consciousness rants free of punctuation or capitalization. Even for newly uploaded videos, the captions tend to have mistakes associated with misinterpreting chemistry words and are just too literal. I think the captions have more value if they edit out filler words (“um”) and correct misspeaking. (I have a bad habit of occasionally false starting sentences, double-speaking the first word or two. I don’t think it’s too bad in most of the videos, but I’d rather that the captions skip over mistakes like this.)

New standards associated with the Americans with Disabilities Act mean that all course videos now need to have quality captions. Honestly, though, I should have fixed these years ago. My wife and I can’t even watch Ted Lasso without turning on the closed captions. The value for students new to the chemistry “language” is obvious. The problem is that correcting hours of poorly constructed autogenerated captions by hand is extremely tedious.

I have recently become AI-curious, and this seemed like a good test project for an LLM. I am skeptical of most of the hype around LLMs, but if they are going to be useful for anything, surely it should be manipulating language.

Continue reading
Zoomed in example of a kanban board

Managing an academic life with Personal Kanban

I first heard of kanban ages ago as a passing mention on a tech podcast I was listening to. If you’re unfamiliar, it is a lean method for streamlining manufacturing that originated at Toyota. It has been widely adopted in the tech industry for software development.

Very briefly, the core of the method is a kanban board, which is probably most easily visualized as a large table with Post-it notes that can be moved around. Each note represents a work item. They are put in columns that indicate their status (e.g., “To do”, “In progress”, “Finished”). Given its history as a way to coordinate teams, I tried to use the kanban method to help manage my research group. But to be honest it really never clicked. It was more of an imposition on my students than something that was genuinely useful.

What has been very useful is using a private kanban board to manage my personal productivity. This method is based on the book Personal Kanban by Jim Benson. I messed around with various todo list methods for years and none of them worked for me. The personal kanban method has been genuinely life changing, however.

Continue reading