Yu-Cheng Tsai

AI

Building a Local Voice Assistant with LLMs and Neural Networks on Your CPU Laptop

A practical guide to run lightweight LLMs using python Yu-Cheng Tsai · Follow Published in Towards Data Science · 6 min read · 1 hour ago — Photo by Jacek Dylag on Unsplash Please enjoy the read: Free link! With the rise of multimodal Large Language Models (LLMs), we can now interact with them in more ways than just typing text, like using audio inputs. OpenAI has recently released a voice feature for ChatGPT, allowing

Read More »
AI

A Step-by-Step Guide to Build a Graph Learning System for a Movie Recommender

Built with PyTorch Geometric and using MovieLens DataSet Yu-Cheng Tsai · Follow Published in Towards Data Science · 13 min read · 6 hours ago — Photo by michael podger on Unsplash Graph Modeling A graph is a way to represent relationships between entities, using nodes to represent the entities and edges to represent the connections between them. This structure is versatile and can be applied to a wide range of real-world problems. For instance,

Read More »
AI

Transforming Next-Token Prediction into Classification with LLMs

From tokens to labels: Performing classification with large language models Yu-Cheng Tsai · Follow Published in Towards Data Science · 6 min read · 5 hours ago — Photo by Myles Bloomfield on Unsplash Large Language Models (LLMs), trained on vast amounts of internet data, are versatile and can perform a wide range of natural language tasks. One common application is classification, a supervised learning task that categorizes…

Read More »
AI

Are GPTs Good Embedding Models

A surprising experiment to show that the devil is in the details Yu-Cheng Tsai · Follow Published in Towards Data Science · 5 min read · 13 hours ago — Image by the author using DALL-E With the growing number of embedding models available, choosing the right one for your machine learning applications can be challenging. Fortunately, the MTEB leaderboard provides a comprehensive range of ranking metrics for various natural language processing tasks. Top 5

Read More »