Hugging Facehuggingface.co
A project space for every directory subject.
Turn a subject into a project.
Space to exploreThis space is dedicated to this subject. The source text stays intact; your brief, decisions and notes are saved separately in your account.
The sketch explained
Transformers: connecting text to a model
The tokenizer turns text into token IDs. The model uses these inputs to produce a task-specific output, here a sentiment prediction.
On a small screen, scroll the diagram horizontally to read its labels.
- Input text
- Text is the input to this sentiment-analysis example.
- Tokenizer
- The model’s tokenizer prepares the required IDs and masks.
- Pretrained model
- Loaded weights and configuration determine the model’s operations.
- Task output
- Output depends on the task and checkpoint; not every model generates text.
Loading project…
YOUR WORKING BRIEF
No sector-specific application is deployed automatically. This framework organizes your project and its decisions.


