My First Model

Model Description

This is a tiny 2-layer transformer model created to learn how to upload models to Hugging Face. It was built from a DistilBERT configuration with:

  • 2 hidden layers
  • 4 hidden units per layer
  • 2 attention heads

Intended Uses

This model is for educational purposes only - specifically for learning how to upload and manage models on the Hugging Face Hub.

How to Use

from transformers import AutoModelForSequenceClassification

model = AutoModelForSequenceClassification.from_pretrained("DJY75/my-first-model")
Downloads last month
2
Safetensors
Model size
180k params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Space using DJY75/my-first-model 1