Eric Chen Profile Banner
Eric Chen Profile
Eric Chen

@erico_cheny

Followers
706
Following
767
Media
155
Statuses
378

hacking on ai and 3d at stealth_startup | gradient ascending towards my life's work @MIT 2025

San Francisco, CA
Joined February 2023
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
@erico_cheny
Eric Chen
5 months
Trained my first RNN from scratch
Tweet media one
13
4
358
@erico_cheny
Eric Chen
1 year
Hi I’m Eric. I’m 19. I immigrated to the US 14 years ago. Lived in the NYC projects for 11 years. This summer, I’ll be going to Silicon Valley to work at @zoox on driving tools for autonomous vehicles. Today was my first day :)
Tweet media one
4
4
57
@erico_cheny
Eric Chen
6 months
Today I generated 3d from text. - Trained diffusion transformer on sunset of ModelNet10 - Got tensorboard working Kinda blows my mind this even works. I’ll add a lr scheduler (cosine annealing with warmup) and send it on the full dataset
Tweet media one
3
1
40
@erico_cheny
Eric Chen
7 months
Doing a deep dive into diffusion models. I’ll start by diffusing sine and cosine waves then work my way to building a text to 3d model from scratch. Documenting everything in a series of jupyter notebooks. Let’s go. Inspired by @MajmudarAdam
6
0
30
@erico_cheny
Eric Chen
4 months
Took some weeks off to study computer graphics. Now back to doing ai. Will religiously read and reimplement some papers.
Tweet media one
2
1
23
@erico_cheny
Eric Chen
4 months
Implemented EMA for VQVAE This improved training stability a ton. For the version w/o EMA, loss spike in the beginning and would gradually increase in the middle of the run. That doesn't happen anymore.
Tweet media one
Tweet media two
Tweet media three
2
1
18
@erico_cheny
Eric Chen
6 months
Fuck ya. I love how ai works.
Tweet media one
1
0
18
@erico_cheny
Eric Chen
5 months
Time to build
Tweet media one
1
0
16
@erico_cheny
Eric Chen
5 months
Going to speed run learning C++ and build a raytracer. I've never done any low-level programming before so this should be fun. Nice break from ai.
Tweet media one
5
0
15
@erico_cheny
Eric Chen
5 months
i learned about RNNs and implemented one from scratch in numpy. forward pass, cross entropy loss, backprop thr. time, gradient clipping, gradient descent, and sampling. repo: more details below
1
0
13
@erico_cheny
Eric Chen
6 months
My FIRST time training a text-conditional model. This is a tiny diffusion transformer that generates sine / cosine waves from text. Kinda magically this works. Will get this working on 3d soon.
Tweet media one
Tweet media two
0
0
12
@erico_cheny
Eric Chen
5 months
learning about RNNs and backpropagation through time. this makes me so grateful autograd exists.
Tweet media one
1
0
11
@erico_cheny
Eric Chen
6 months
Here’s what I’ve been hacking on — a tiny text-to-3d diffusion model. This was a challenge to learn diffusion and build something cool. Some notes and some demos :) Prompt: "chair"
2
2
11
@erico_cheny
Eric Chen
4 months
Kicked off VQVAE run - loss is unstable in the beginning, probs cuz it's trying to best use the codebook - perplexity going up - recon on test set looks pretty good
Tweet media one
3
0
9
@erico_cheny
Eric Chen
5 months
will open source the rnn code after i add some bells and whistle. - train loop - saving + loading weights - inference script
Tweet media one
0
1
8
@erico_cheny
Eric Chen
5 months
Just ran into a segmentation fault in C++. Ended up being an issue w/ dangling pointers. How in the world do u guys even debug this? No stack trace. No nothing. Feels like driving blind.
2
0
8
@erico_cheny
Eric Chen
1 year
1. Starting my journey to learning ai. Reading a lot of papers, writing and training models, and one day be at the cutting edge. From scratch and first principles. Will I suck? Most definitely. I just hope to suck less with every passing day. Inspired by @Suhail and @karpathy .
2
1
7
@erico_cheny
Eric Chen
5 months
Added lighting to the raytracer! Now the sphere looks 3d. Next I'll add some shadows.
Tweet media one
1
0
7
@erico_cheny
Eric Chen
4 months
I figured out the secret to debugging segmentation faults. To just not write bugs 💀. Plz just lemme access the memory i want to access.
Tweet media one
1
0
7
@erico_cheny
Eric Chen
1 year
My attempt to derive backpropagation from first principles. More to go.
Tweet media one
1
0
6
@erico_cheny
Eric Chen
4 months
Render some cylinders rn Once again, high school math of solving the quadratic formula comes in handy. Computer graphics just makes so much sense intuitively. 1. Hollow cylinders
Tweet media one
1
0
6
@erico_cheny
Eric Chen
8 months
Note to self One of the most important lesson I’ve learned working at a startup. Being permissionless and just doing the work. My thoughts on this …
2
1
5
@erico_cheny
Eric Chen
4 months
Found a bug in the VQVAE where decoder was not expressive enough. I passed the wrong channel number. Anyhow, the quality reconstructed images improved a ton after and interpolations look pretty sick.
Tweet media one
Tweet media two
2
0
6
@erico_cheny
Eric Chen
4 months
Implemented groups in the raytracer. Lighting, shading, shadows, and transformation matrices all coming together to make this shape.
Tweet media one
0
0
6
@erico_cheny
Eric Chen
4 months
Something about programming something and having a visual output. Implemented stripe, gradient, ring, and checker patterns in my raytracer.
Tweet media one
0
0
6
@erico_cheny
Eric Chen
4 months
My progress / learnings training VQ-VAEs Repo:
Tweet media one
Tweet media two
1
0
6
@erico_cheny
Eric Chen
5 months
TIL BM25 and RRF
Tweet media one
1
0
6
@erico_cheny
Eric Chen
5 months
Rendered a plane
Tweet media one
0
0
6
@erico_cheny
Eric Chen
6 months
ok I figured out why my diffusion model was doing ass during the big training during validation, the guidance scale is set to 1. not enough conditioning strength. I upped it to 2.5 and it works.
1
0
5
@erico_cheny
Eric Chen
1 year
Self-teaching myself AI by reading the original papers and training neural nets from scratch. It's hard and painstakingly difficult. But the few days when I get something to work, it's absolutely magical. This rather "trivial" result by today's standards still blows me away.
Tweet media one
Tweet media two
0
1
4
@erico_cheny
Eric Chen
10 months
This the year I become a consistent reader. Smart people have written their life learnings and experiences in a form absorbable in a couple hours. Why haven’t I gotten started absorbing? Here’s to reading my first book of 2024.
Tweet media one
0
0
3
@erico_cheny
Eric Chen
1 year
Rode in the VH6 (aka the toaster looking vehicle) today @zoox . Excited to see where this goes 🙃.
1
1
5
@erico_cheny
Eric Chen
4 months
@0xluffyb For the longest time, I associated research with academia which I did not want to do. Then I found out it's just reading, implementing stuff, and making changes to what you've built. This is fun and not scary.
1
0
5
@erico_cheny
Eric Chen
5 months
Me likes when loss goes down
Tweet media one
1
0
5
@erico_cheny
Eric Chen
8 months
Taking a stab at implementing vision transformers tonight.
Tweet media one
1
1
5
@erico_cheny
Eric Chen
9 months
This marks my first month living in SF. Working for a stealth 3D AI startup. It's the BEST decision I've made. Some observations I made along the way
1
1
5
@erico_cheny
Eric Chen
5 months
@pablocpz_ai Let me cook 👨‍🍳
0
0
4
@erico_cheny
Eric Chen
1 year
Going to deeply understand the output of YOLO today so that I can code the loss function Learn, build, iterate
Tweet media one
0
1
5
@erico_cheny
Eric Chen
5 months
I added shadows to my raytracer. Cast a ray from a point to the light. If an object sits in between, draw a shadow.
Tweet media one
0
0
5
@erico_cheny
Eric Chen
1 year
@SahilBloom Ahhh, this was the 4 types of luck @naval was referring to
0
0
1
@erico_cheny
Eric Chen
5 months
my mini-rnn learns to say I LOVE E/ACC
1
0
4
@erico_cheny
Eric Chen
10 months
today i moved to SF. people come here to build the future. i guess i’m just one of them. ai is what i will work on. it’s unbelievably exciting. more than ever it’s time to build i hope to make lifelong friends here. anybody want to meet :)
Tweet media one
Tweet media two
1
0
4
@erico_cheny
Eric Chen
4 months
Rendering a cube
Tweet media one
0
0
4
@erico_cheny
Eric Chen
1 year
In progress ...
Tweet media one
0
1
4
@erico_cheny
Eric Chen
7 months
I think I know how skip connections in UNets work now. Improved Diffusion repo from openai was a big help.
Tweet media one
0
0
4
@erico_cheny
Eric Chen
1 year
My learnings from Imagenet Classification with Deep Convolutional Neural Networks. 1. Architecture: 5 convolutional layers followed by 3 feedforward layers and a softmax 2. CNNs are faster to train b/c of fewer params and connections (Cont.)
1
2
4
@erico_cheny
Eric Chen
7 months
WIP
1
0
4
@erico_cheny
Eric Chen
6 months
After ~50k steps on ModelNet10, the model does decent. Real happy with the chairs and computer monitors.
Tweet media one
0
0
4
@erico_cheny
Eric Chen
6 months
Downloaded and processed ModelNet10 and ModelNet40. Next: Write a train loop for my diffusion transformer
1
0
4
@erico_cheny
Eric Chen
6 months
Kicking off text-to-3d training on modelnet40. 153838596 param DiT (most of this is CLIP lol) 100k steps lr=1e-3 cosine annealing w/ 500 warmup steps batch_size=32 cosine noise schedule Giving it some pretty out of domain prompts to validate against.
Tweet media one
Tweet media two
Tweet media three
Tweet media four
1
0
4
@erico_cheny
Eric Chen
6 months
7 mil point cloud diffusion transformer at 4000 steps. this is the worst part of training. early results look ass and u just gotta wait
Tweet media one
1
0
4
@erico_cheny
Eric Chen
10 months
@cory @reply Would absolutely love to join y’all 👀. Just moved to Hayes.
1
0
2
@erico_cheny
Eric Chen
5 months
Will add lighting next to make it look 3d
0
0
4
@erico_cheny
Eric Chen
5 months
Made my first raytraced scene in C++! A lot happens behind the scenes to render this simple sphere. Thank you dot products and the quadratic formula.
Tweet media one
1
0
4
@erico_cheny
Eric Chen
4 months
Training VQVAE2, a hierarchy of VQVAEs. The top level latent captures global info and the bottom level latent captures local details. Couple steps into training and the recon quality is amazing.
Tweet media one
Tweet media two
1
0
5
@erico_cheny
Eric Chen
6 months
👀
0
0
4
@erico_cheny
Eric Chen
1 year
There's a big difference b/w what I know and what I think I should know. Especially in AI. Gonna religiously dedicate time to becoming good. Focus this week. Transformers.
0
0
3
@erico_cheny
Eric Chen
5 months
Learned the basic syntax of C++. - variables - functions - arrays - control flow - pointers - classes Onto the Ray Tracer Challenge.
Tweet media one
2
0
3
@erico_cheny
Eric Chen
5 months
TIL about view transform matrices. Now I can put the camera anywhere and render my lil raytraced scene.
Tweet media one
1
0
3
@erico_cheny
Eric Chen
1 year
4. Reviewed backpropagation with this awesome video from @3blue1brown High level idea is how a tiny nudge in a neuron's weights and biases affect the network's output. We calculate this with the chain rule.
1
1
3
@erico_cheny
Eric Chen
7 months
I've been holding this off for such a long time. This is the month I finally start a blog :)
Tweet media one
0
0
1
@erico_cheny
Eric Chen
9 months
I wrote my "hello world" for ray tracing and this seems magical to me. Shoot rays, check if they hit an object, and spit out a color. Back to learning
Tweet media one
0
0
2
@erico_cheny
Eric Chen
10 months
@sam_postelnik Sam marketed the hell of out of this. Big reason y we got to 5000+ users. Anybody looking for a product person who can code, @sam_postelnik is the person :)
0
0
1
@erico_cheny
Eric Chen
4 months
Man, PCA math is kinda hard. This blog does a great job of explaining it.
0
0
3
@erico_cheny
Eric Chen
6 months
sometimes u just gotta let things cook :)
Tweet media one
1
0
3
@erico_cheny
Eric Chen
4 months
Reflective surfaces :)
Tweet media one
0
0
3
@erico_cheny
Eric Chen
6 months
Yep... A debugging trick I found for this. Rewriting the entire code b/c you can't find the silent bug.
Tweet media one
0
0
2
@erico_cheny
Eric Chen
7 months
1
0
3
@erico_cheny
Eric Chen
1 year
Sitting down for an extended period of time to deeply understand a concept is sooo invaluable. Been too accustomed to FAST and not struggling. A sign I need to embrace doing hard things more often.
0
0
3
@erico_cheny
Eric Chen
1 year
After banging my head for a week, I finally got mini AlexNet (what I called my scaled-down version) to output something “intelligent” on the test set. Moving on to creating a web interface to further test how this model performs on unseen data.
Tweet media one
1
1
3
@erico_cheny
Eric Chen
8 months
Sometimes there’s work that’s so exciting, u just can’t it put down. I think I found it today.
0
0
1
@erico_cheny
Eric Chen
10 months
Escaping a 9-5 by working 9-9
0
0
3
@erico_cheny
Eric Chen
1 year
Stanford CNN for Visual Recognition Course Lec 6: Training Neural Networks
Tweet media one
0
1
3
@erico_cheny
Eric Chen
1 year
Listening to @naval podcast on “How to Get Rich” every morning on my commute. Learning foundations (ai, math) and becoming the type of person to attract luck (twitter, making friends with interesting ppl … etc) is gonna be the core focus of my summer.
0
1
3
@erico_cheny
Eric Chen
1 year
Learning about training neural nets. Stanford CV course lec 6
Tweet media one
0
1
3
@erico_cheny
Eric Chen
6 months
@KrishivThakuria Had a conversation about this today. Once you realize u can do anything, it’s quite empowering. Takes a bit of rewiring to see this. Time to build :)
1
0
3
@erico_cheny
Eric Chen
6 months
I will not get up from my desk until I get this training run kicked off ...
1
0
3
@erico_cheny
Eric Chen
9 months
@sam_postelnik @JosephKChoi Love this. Andreessen’s perspective on career as a portfolio of jobs/opportunities is gold. Makes u think more long term and willing to take risks
0
0
2
@erico_cheny
Eric Chen
1 year
Probability is elegant
Tweet media one
0
0
3
@erico_cheny
Eric Chen
1 year
Hey @scale_AI I applied to the July 15 GenAI hackathon and this is why you shouldn’t accept me. I used Gen AI for evil. Created a lil ai product @sam_postelnik called FGenEds (short for “fuck gen eds”) to help college students study less.
1
1
3
@erico_cheny
Eric Chen
1 year
The entire field of probability stems from 3 axioms. A shit load of math from JUST 3 axioms. What if the key to building a shit load of intelligence into LLM agents is simply just finding the right set of primitives (tools)?
0
0
2
@erico_cheny
Eric Chen
1 year
Successfully calculated mAP :)
Tweet media one
0
0
3
@erico_cheny
Eric Chen
1 year
Created my first "hello-world" agent from scratch to answer questions about the weather. Such a simple and trivial use case but I'm fucking blown away 🤯. Excited to continue building Lots of help from the ReACT paper
Tweet media one
Tweet media two
0
0
3
@erico_cheny
Eric Chen
7 months
@markrachapoom Congrats on the launch 💪💪💪
0
0
3
@erico_cheny
Eric Chen
9 months
Took some time off tech to make some crepes this weekend and a virtual date with my gf. Thinking about cooking on the regular.
Tweet media one
Tweet media two
0
0
2
@erico_cheny
Eric Chen
1 year
Golden Gate
Tweet media one
0
0
2
@erico_cheny
Eric Chen
1 year
Implemented YOLOv1's loss function in Pytorch. Recurring lesson for me: everything's fucking hard until you do it :) Moving on to writing the model, training it, and figuring out whatever non-maximum suppression, MAP, and blah blah is
Tweet media one
0
1
2
@erico_cheny
Eric Chen
7 months
Going back to the basics
Tweet media one
2
0
2
@erico_cheny
Eric Chen
6 months
just realized how much better i got at writing scripts. old me would write a for-loop and call it a day. now i use multiprocessing.
0
0
2
@erico_cheny
Eric Chen
7 months
@calixo888 I’m down :). What times r u in SF?
0
0
1
@erico_cheny
Eric Chen
1 year
2 pull requests done today. Feels good to finally contribute something
0
1
2
@erico_cheny
Eric Chen
1 year
Made an agent that reads articles from the internet, does a task on it, and sends the result to me on WhatsApp. This stuff is kinda magical ✨
0
0
2
@erico_cheny
Eric Chen
9 months
@thedanigrant @davefontenot I would love to go but the waitlist is full. Any chance of an open seat 🙃
1
0
1
@erico_cheny
Eric Chen
1 year
Starting to read You Only Look Once: Unified, Real-Time Object Detection.
2
1
2
@erico_cheny
Eric Chen
1 year
Looks like things worked :)
Tweet media one
0
0
2
@erico_cheny
Eric Chen
1 year
Reviewing every god damn thing I learnt in ML Will also need to go back to studying foundations - stats, probability, linear algebra All in on AI. Day 1
Tweet media one
0
0
2
@erico_cheny
Eric Chen
6 months
still lots of gaps in my knowledge. will take some time off to read & learn before starting my next side quest for now, I'll go to sleep Prompt: "bed"
0
0
2
@erico_cheny
Eric Chen
9 months
1. Denoising Diffusion Probabilistic Models Noise an image and train a network to "denoise" it. Questions after reading this - where did the math come from? - where did the math come from? - where did the math come from?
Tweet media one
1
0
0
@erico_cheny
Eric Chen
5 months
#include is pretty much like an import statement. Need to figure out what a header file is. Will report back after I get my first Raytraced scene. Onto implementing matrix operations.
1
0
2