Hugging Face Made Crystal Clear · chapter 2: The Big Picture: Hub, Libraries, and Two Ways to Run

Inside one model repo

2026-09-12

Four kinds of file, a Git rail giving them history and conversation, and Xet chunk storage underneath making multi-gigabyte files practical.

Below: the paragraph from the book that builds this idea, then the diagram itself (Figure 2.2), and a recap. About a minute of reading.

Since every column of Figure 2.1 is made of repos, the next thing to learn is what one repo looks like inside. Figure 2.2 opens up a typical model repo. The same anatomy, with different file types, applies to datasets and Spaces.

Figure 2.2: Inside one model repo. Four kinds of file, a Git rail giving them history and conversation, and Xet chunk storage underneath making multi-gigabyte files practical.
Figure 2.2: Inside one model repo. Four kinds of file, a Git rail giving them history and conversation, and Xet chunk storage underneath making multi-gigabyte files practical.

Recap

  • The idea: Four kinds of file, a Git rail giving them history and conversation, and Xet chunk storage underneath making multi-gigabyte files practical.
  • The picture: Figure 2.2, from chapter 2 ("The Big Picture: Hub, Libraries, and Two Ways to Run") of Hugging Face Made Crystal Clear.
  • Go deeper: the chapter builds this step by step, with recipes and sources at the end.

This diagram is one of many in Hugging Face Made Crystal Clear.

Every chapter opens with the gist, draws the hard ideas, and ends with recipes and sources.

Get the book

All diagrams