All models

blenderbot-small

An open-domain chatbot built on a sequence-to-sequence transformer.

Language · 622 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (41 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
85.1M
Operations
622
Framework
PyTorch
Recurrent
No
License
Apache-2.0
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m3693
Graph hash
959aa07aac824e8018d71459c30e3689b60f48fb540faf132d42979c16fea08a
Skeleton hash
a5a6f5b49b37d70eef0d32884b141edbf8372f702c6e05cc5f3572bbb19f0b0d
Architecture hash
0a50e2e3c75656152b502465612d861fbe24dba21238c7cefac7b0ab46b7e0d6
Diagram SHA-256
c579f5c45261070b3211217c87bf43ba82db61f693ac3a48a95f4e8475bc13cc
TorchLens version
2.35.3
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

How this diagram was made

transformers.AutoModel.from_config()

What it is

This model is Blenderbot Small, a different architecture from the default Blenderbot that is used only with the 90M checkpoint.

Blenderbot is the Blender chatbot model, proposed in the paper Recipes for building an open-domain chatbot. It is built on a standard sequence-to-sequence transformer architecture. The paper argues that other ingredients besides scale matter for a chatbot, and that large models can learn conversational skills when given appropriate training data and choice of generation strategy.

The authors built variants with 90M, 2.7B and 9.4B parameters. The library has two model classes: Blenderbot is the default, and Blenderbot Small covers a smaller checkpoint that has a different architecture. Both use absolute position embeddings, so it is usually advised to pad inputs on the right.

Key idea. The Blender chatbot paper shows that large models can learn conversational skills when given appropriate training data and a suitable generation strategy.

  • Blenderbot
  • Blender chatbot
  • Blenderbot Small
  • blenderbot-small
  • open-domain chatbot
  • chatbot
  • dialogue model
  • multi-turn dialogue

AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.