RSS Feed Subscribe to RSS Feed

 

Research paper summary: Attention is all you need

Attention is all you need is an era defining paper from eight researchers who all worked for Google at the time. The title is a play on the Beatles song, Love is all you need.

The paper addresses some of the shortcomings of other common approaches in Machine Learning (such as recurrent and convolutional layers), in favor of a new  architecture, the Transformer. It is based on an approach called self-attention where the model can associate the current token (or word) to any other token in the document, regardless of it’s position. This makes the model so much better at capturing associations and meaning across documents. Further, the Transformer architecture is able to to this processing in parallel, making it faster that preceding models.

I don’t have a Machine Learning background, so this paper was a tough read for me. My interpretation reflects that and I have relied on (and quoted from) other interpretations to help me, including:

  • “The Illustrated Transformer” (github.io) by Jay Alammar, which is the most digestible interpretation I could find, and
  • This summary from the University of Notre Dame (although exact authorship unclear)

Still, the original is short (16 pages) and is so influential that it was worth reading directly; it came to define the modern era of AI and of LLMs (Large Language Models).

 

(more…)

Tags: , , , , , , ,

Rest and Microservices talk at the Las Vegas .Net Group

Thanks to Richard Rosenheim for inviting me to talk on REST and Microservice at the Las Vegas .Net Group today.

If you came along, thanks for attending!

You can find my slides here.

You can also check out my blog posts that the talk is based on:

Tags: , , , , , , , ,

An intro to Microservices and REST: SoCal Code Camp 2014

If you came along to my session at the SoCal Code Camp, thanks for attending! Any feedback always appreciated.

You can find the slides on slideshare.

You can also check out my blog posts that the talk is based on:

 

Shaun

 

Tags: , , , , , , , , , ,

An introduction to REST

REST, or Representational State Transfer is an architectural style, or more simply, a set of constraints.

We will look at the constraints REST imposes for web apps, but some highlights are:

  • Uniform interfaces: all resources are identified by URIs (think: links)
  • It relies on a stateless, client-server, cacheable communications protocol (think: HTTP).
  • Interaction with resources is via a set of standard methods (think: HTTP verbs)

 

REST can be viewed as a lightweight alternative to mechanisms like RPC (Remote Procedure Calls) and Web Services protocols (SOAP, WSDL, etc)., but it is much more than that too! It is not an exaggeration to say that REST has been used to guide the design and development of the architecture for the modern Web.

The term REST was defined in 2000 by Roy Fielding in his doctoral dissertation at UC Irvine.

(more…)

Tags: , , , , ,