GPT Under the HoodBarry S. StahlSolution Architect & Developer@bsstahl@cognitiveinheritance.comhttps://CognitiveInheritance.com |
![]() |
Favorite Physicists
Other notables: Stephen Hawking, Edwin Hubble |
Favorite Mathematicians
Other notables: Daphne Koller, Grady Booch, Leonardo Fibonacci, Evelyn Berezin, Benoit Mandelbrot |
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
Reference Implementation - AI Demos on GitHub
|
![]() |
|
![]() |
Note: For normalized vectors, cosine similarity is the same as the dot-product |
![]() |
Feature | Example |
---|---|
Synonym | "Happy" is closer to "Joyful" than to "Sad" |
Language | "The Queen" is very close to "La Reina" |
Idiom | "He kicked the bucket" is closer to "He died" than to "He kicked the ball" |
Sarcasm | "Well, look who's on time" is closer to "Actually Late" than "Actually Early" |
Homonym | "Bark" (dog sound) is closer to "Howl" than to "Bark" (tree layer) |
Collocation | "Fast food" is closer to "Junk food" than to "Fast car" |
Proverb | "The early bird catches the worm" is closer to "Success comes to those who prepare well and put in effort" than to "A bird in the hand is worth two in the bush" |
Metaphor | "Time is money" is closer to "Don't waste your time" than to "Time flies" |
Simile | "He is as brave as a lion" is closer to "He is very courageous" than to "He is a lion" |
|
![]() |
|
![]() |
When these 3 matrices are applied to the positionalized input, it results in the model adding appropriate context to each token. |
![]() |
By stacking multiple Feature between Attention layers, GPT models achieve deeper learning capabilities, allowing for more nuanced understanding and generation of text |
![]() |
|
![]() |
|
![]() |
System: As a resume scanner specializing in software engineers, focus solely on summarizing their key skills and experience durations, omitting demographics like age and location.
User: [Submits appropriate resume]
Assistant:
- Expertise in Java, J2EE, Spring Framework, Hibernate
- Experience with front-end technologies such as HTML, CSS, JavaScript, and AngularJS
- Proficient in SQL databases and ORM technologies
- Familiar with containerization and orchestration tools like Docker and Kubernetes
- Strong understanding of software design patterns and best practices
- Excellent problem-solving abilities and attention to detail
- Effective team player with strong communication skills
**Experience:**
- Senior Java Developer at XYZ Tech Solutions (June 2016 – Present, 5 years)
- Java Software Engineer at Innovative Software Co. (May 2012 – May 2016, 4 years)
**Certifications:**
- Oracle Certified Professional, Java SE 8 Programmer
- Certified ScrumMaster (CSM)
**Education:**
- Bachelor of Science in Computer Science, University of Technical Excellence (Graduated: May 2012)
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |