Downloads · 30 days
45
1% of all-time downloads
yosef-samy019/gpt-face-celeb-generator
gpt-face-celeb-generator is a text generation model from yosef-samy019. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This model is a GPT-2 fine-tuned to act as an autoregressive generator for human faces. Instead of predicting text tokens, it predicts visual tokens extracted from the CelebA dataset via a VQ-VAE.
Downloads · 30 days
45
1% of all-time downloads
All-time downloads
5.7K
Public
Parameters
86.3M
13.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors345 MB · 100%
From the Hugging Face model README
This model is a GPT-2 fine-tuned to act as an autoregressive generator for human faces. Instead of predicting text tokens, it predicts visual tokens extracted from the CelebA dataset via a VQ-VAE.
The core idea is to treat image generation as a language modeling problem.
This model is designed to work in conjunction with the project's custom VQ-VAE decoder. It accepts a sequence of facial attribute tokens and generates the corresponding latent representation of a face.
<START_FACE> <ATTRIBUTES> <START_GENERATION> <256_TOKENS> <END_GENERATION>.The model shows steady convergence in cross-entropy loss over 5 epochs:
| Epoch | Training Loss | Validation Loss |
|---|---|---|
| 1.0 | 3.7055 | 3.7670 |
| 5.0 | 3.6473 | 3.7547 |