alfchung Profile Banner
Alfred Zhong Profile
Alfred Zhong

@alfchung

Followers
84
Following
543
Media
124
Statuses
2K

ex-principal machine learning engineer @Coupang🚀 | machine learning/computer science enthusiast | lifetime learner | tweets are my own

San Francisco Bay Area
Joined March 2010
Don't wanna be here? Send us removal request.
@alfchung
Alfred Zhong
4 years
Just found this awesome tool for sharing code on Twitter I have been wondering how people's code screenshots look way better than mine, here is the answer.
Tweet card summary image
carbon.now.sh
Carbon is the easiest way to create and share beautiful images of your source code.
1
0
0
@alfchung
Alfred Zhong
15 days
Tesla's Optimus robot is now selling popcorn at the Tesla Diner 🤖🍿.Looks so fun, can’t wait to visit in person someday!.🎥
0
0
0
@alfchung
Alfred Zhong
3 months
Tried using pytesseract for OCR on scanned PDFs—another experiment today. Unfortunately, the error rate was way too high. The output text was so messy it’s basically unusable. #OCR #Python #pytesseract #PDF #AItools #DevNotes.
0
0
1
@alfchung
Alfred Zhong
3 months
Tried using Cursor/Claude Desktop+Puppeteer MCP to interact with webpages. The #LLM #agent still struggles with tasks that are trivial for a human engineer—repeated failures, burned through the free quota quickly. Still a long way to go before agents reach real-world usability.
0
0
0
@alfchung
Alfred Zhong
3 months
ML term: RLHF — Reinforcement Learning from Human Feedback. AI learns in rounds: train ➡️ get human feedback ➡️ fine-tune ➡️ repeat. Smarter with every loop. #AI #ML #RLHF #DeepLearning.
0
0
0
@alfchung
Alfred Zhong
3 months
@jmorgan Now Ollama can even run new models like deepseek-r1 locally. Thanks to the open-source community, we can now use smaller LLMs for personal tasks—privately and without sending data to the cloud. #Ollama #DeepSeek #LLM #Privacy #OpenSource #AI #LocalAI.
0
0
0
@alfchung
Alfred Zhong
3 months
@jmorgan This article from a year ago offers great context and covers other models as well:. "Ollama: The landscape for a powerful Open Source LLMs". #Ollama #LLaMA #LLM #OpenSource #AI #LocalAI.
Tweet card summary image
medium.com
Ollama is an open-source tool that allows users to easily run large language models (LLMs) like Meta’s Llama locally on their own machines…
0
0
0
@alfchung
Alfred Zhong
3 months
LLaMA is the open-source large language model from Meta (Facebook). Ollama, the minimalist tool that makes running these models locally a breeze, was created by two Waterloo grads: Michael Chiang ( and Jeffrey Morgan ( X: @jmorgan.
Tweet card summary image
linkedin.com
Experience: Ollama · Education: University of Waterloo · Location: Palo Alto · 500+ connections on LinkedIn. View Jeffrey Morgan’s profile on LinkedIn, a professional community of 1 billion members.
2
0
0
@alfchung
Alfred Zhong
3 months
Ollama is truly impressive — installation is super simple, truly minimalist. Running large language models locally has never been easier. Pair it with Open WebUI and you’ve got your own mini ChatGPT. #Ollama #OpenWebUI #ChatGPT #LLM #AI #LocalAI.
1
0
1
@alfchung
Alfred Zhong
3 months
In the new versions of pandas, df.append() is removed!. #Python #pandas #DataScience #MachineLearning #AI #Coding
Tweet media one
0
0
0
@alfchung
Alfred Zhong
3 months
In SQLite, you can calculate how many days are left until a certain date like this example. julianday() converts a date to the number of days since year 0. Useful for date math in SQL. #SQLite #SQLTips #DateTime #DevTips
Tweet media one
0
0
0
@alfchung
Alfred Zhong
3 months
You can use a literal temp table in SQLite to define constants and join them like this example. A handy way for mapping values without creating a full table.
Tweet media one
0
0
0
@alfchung
Alfred Zhong
3 months
Back then, only super-skilled programmers could pull that off, but now with Python and AI, I coded it in just 10 something minutes! Most of the time was spent on the artwork though, which is super fun!.
0
0
0
@alfchung
Alfred Zhong
3 months
Over the weekend, I made a plane shooting game with my son using PyGame, similar to the classic 1942 or TwinBee I played as a kid. #PyGame #Python #GameDev #AI #IndieDev #RetroGames #Coding #GameDesign.
1
0
1
@alfchung
Alfred Zhong
3 months
In most relational DBs, SQL doesn’t support setting variables. If you want to set a variable's value in just one place, a recent tip I learned from AI is using like this:. #SQLTips #Database #AI #TechLearning"
Tweet media one
0
0
0
@alfchung
Alfred Zhong
3 months
Not sure if running Flask crashed it.
0
0
0
@alfchung
Alfred Zhong
3 months
Can’t believe what just happened—my Python venv was happily running a script, then midway: python: command not found. Now the whole venv is broken. 💀 #DevLife #Python.
1
0
0
@alfchung
Alfred Zhong
3 months
To revert
Tweet media one
0
0
0
@alfchung
Alfred Zhong
3 months
🤖 still catching up with Vite setups!.
1
0
0
@alfchung
Alfred Zhong
3 months
But what I actually needed was:
Tweet media one
1
0
0
@alfchung
Alfred Zhong
3 months
This is what GPT taught me:
Tweet media one
1
0
0