I wanted to understand how LLMs generate text, so I built a tiny next-token prediction model from scratch.
Started with bigram probabilities and simple counting, then moved to PyTorch with embeddings, a training loop and a loss curve.
No Transformer or GPT. Just a small experiment to understand the fundamentals by building.
Code and roadmap in the comments.
#AIEngineering #LLM
It's been a busy time managing production infrastructure alongside software engineering!
Another security update for everyone running PHP!
PHP has released security updates addressing 8 vulnerabilities, including 7 critical flaws that could potentially lead to Remote Code Execution (RCE).
Some of these issues affect PHP's core functionality, including session handling, memory management and HTTP request processing.
We've upgraded our PHP versions and built new AMIs with the latest security updates.
Research: https://t.co/kQZovnWgE8
#PHP #CyberSecurity #DevOps #InfrastructureSecurity
Security heads-up for everyone running NGINX!
Xint researchers have uncovered NGINX2Root, a collection of 5 vulnerabilities that could potentially lead to Remote Code Execution (RCE).
Some of these vulnerabilities have been around for nearly 10 years!
We checked our infrastructure and have upgraded our servers to patched NGINX packages.
Just another reminder to keep an eye on security advisories and regularly update your infrastructure. You never know what might be lurking in your servers!
Research: https://t.co/GUIITqd7ww
#NGINX #CyberSecurity #DevSecOps #InfrastructureSecurity
I wanted to understand how LLMs generate text, so I built a tiny next-token prediction model from scratch.
Started with bigram probabilities and simple counting, then moved to PyTorch with embeddings, a training loop and a loss curve.
No Transformer or GPT. Just a small experiment to understand the fundamentals by building.
Code and roadmap in the comments.
#AIEngineering #LLM