Andrew Trice (@andytrice) profile picture

Distinguished Engineer & Solution Architect @ Capital One

Joined June 2009
Photo by Andrew Trice (@andytrice)Photo by Andrew Trice (@andytrice)Photo by Andrew Trice (@andytrice)Photo by Andrew Trice (@andytrice)Photo by Andrew Trice (@andytrice)Photo by Andrew Trice (@andytrice)
Andrew Trice retweeted
This is huge: Llama-v2 is open source, with a license that authorizes commercial use! This is going to change the landscape of the LLM market. Llama-v2 is available on Microsoft Azure and will be available on AWS, Hugging Face and other providers Pretrained and fine-tuned models are available with 7B, 13B and 70B parameters. Llama-2 website: ai.meta.com/llama/ Llama-2 paper: ai.meta.com/research/publica… A number of personalities from industry and academia have endorsed our open source approach: about.fb.com/news/2023/07/ll…
379
3,328
751
14,802
4,294,626
Andrew Trice retweeted
A 2-minute introduction to the fundamental building block behind Large Language Models: Text Embeddings (This is the most helpful explanation you'll read online today. I promise.) The Internet is mainly text. For centuries, we've captured most of our knowledge using words, but there's one problem: Neural networks hate text. Judging by how good language models are today, this might not be obvious, but turning words into numbers is more complex than you think. Imagine a 4-word vocabulary: King, Queen, Prince, and Princess. The most straightforward approach to converting our vocabulary into numbers is to use consecutive values: • King → 1 • Queen → 2 • Prince → 3 • Princess → 4 Unfortunately, neural networks tend to see what's not there. Is a Princess four times as important as a King? Of course not, but the values say otherwise: Princess is "worth" 4 while a King is "worth" 1. We don't know how a neural network will interpret this, so we need a better representation. Instead of using numerical values, we can use vectors. We call this particular representation "one-hot encoding," where we use ones and zeros to differentiate each word: • King → [1, 0, 0, 0] • Queen → [0, 1, 0, 0] • Prince → [0, 0, 1, 0] • Princess → [0, 0, 0, 1] This encoding fixes the problem of a network misinterpreting ordinal values but introduces a new one: According to the Oxford English Dictionary, there are 171,476 words in use. We certainly don't want to deal with large vectors with mostly zeroes. Here is where the idea of "word embeddings" enters the picture. We know that the words King and Queen are related, just like Prince and Princess are. Word embeddings have a simple characteristic: related words should be close to each other, while words with different meanings should lie far away. The attached image is a two-dimensional chart where I placed the words from our vocabulary. Look at the image and something critical will become apparent: King and Queen are close to each other, just like the words Prince and Princess are. This encoding captures a crucial characteristic of our language: related concepts stay together! And this is just the beginning. Notice what happens when we move on the horizontal axis from left to right: we go from masculine (King and Prince) to feminine (Queen and Princess). Our embedding encodes the concept of "gender"! And if we move on the vertical axis, we go from a Prince to a King and from a Princess to a Queen. Our embedding also encodes the concept of "age"! We can derive the new vectors from the coordinates of our chart: • King → [3, 1] • Queen → [3, 2] • Prince → [1, 1] • Princess → [1, 2] The first component represents the concept of "age": King and Queen have a value of 3, indicating they are older than Prince and Princess with a value of 1. The second component represents the concept of "gender": King and Prince have a value of 1, indicating male, while Queen and Princess have a value of 2, indicating female. I used two dimensions for this example because we only have four words, but using more would allow us to represent other practical concepts besides gender and age. For instance, GPT3 uses 12,288 dimensions to encode their vocabulary. That's a lot! Text Embeddings are the backbone of some of the most impressive generative AI models we use today. I love explaining Machine Learning and Artificial Intelligence ideas. If you enjoy in-depth content like this, follow me @svpino so you don't miss what comes next.
104
575
60
3,011
1,016,446
While I'm on the topic of AI/GPT (see last tweet), if you haven't tried GitHub Copilot, you should. Natural language -> source code in seconds. (Ctrl+Enter to browse results.) Plus, it can translate code between languages, or document your code & more github.com/features/copilot
197
Highly recommended viewing to understand the impact AI/LLMs are going to have on computing in the coming years. Feels like we're at a tipping point: youtube.com/watch?v=qbIk7-JP…
198
IBM Wazi as a Service: Automate, Accelerate and Manage Your zOS Dev Test Cloud Infrastructure ibm.com/cloud/blog/announcem…
2
159
Suggested Read: 5 Best Terraform Tools That You Need in 2022 buff.ly/3N6O7nx
1
11
43
. @github it seems like there have been a lot of issues/degraded performance in Actions this month, which is impacting team productivity and eroding trust. Can you share a post-mortem of the issues? githubstatus.com/history
This Post is from an account that no longer exists. Learn more
Time-lapse & demo of my latest guitar build... a cigar box style guitar made from reclaimed wood from an old piano: youtu.be/SyMad356Alw
Excited to talk about #IBM #Cloud for Financial Services at Astor Place in #NYC today!
1
4
Introducing OpenShift Service Mesh 2.1 - Federation Has Arrived (aka Mutli-Cluster Istio on OCP) 🚀 Finally this has landed for @openshift 🙌, have had a lot of clients asking for this support for a while. I want to try this with Knative with Istio now cloud.redhat.com/blog/introd… – at Raleigh, NC
Anyone ever use one of those realtime survey/quiz tools in their presentations (either in person or online/streamed)? Any recommendations? The important point is that I need realtime feedback. The intent is to make online sessions more engaging.
Understanding How Facebook Disappeared from the Internet on Oct. 4th 2021 Here is the the type of article I was looking about the incident 🕸️ blog.cloudflare.com/october-…
5
1
10
Public service announcement: do not, I repeat, do not cook Carolina Reaper peppers indoors without proper ventilation. No, a kitchen hood won’t cut it. 🌶🌶🌶🌶 … but they sure are delicious
2
Woot 🙌! ⁦@openshift⁩ v4.8 Now Available in Managed OCP on ⁦@IBMcloud⁩ Was waiting for this to try latest version of OpenShift Pipelines (Tekton), OpenShift GitOps (ArgoCD) and OpenShift Serverless (Knative) ibm.com/cloud/blog/announcem…
1
4
This is pretty amazing, a *working* datacenter simulator built with Unreal Engine: The IBM 1401 datacenter simulator - experience 1960's mainframe programming buff.ly/3stjDna
5
29
3
95
IBM Cloud Satellite was named 'best of the best' for product design. It's truly rewarding working with a talented team focused on solving client problems. IBM Sets Company Record with 3 Product Design Wins at the 2021 Red Dot Awards by @arinbhowmick link.medium.com/KyhxZPNsXib