Downloads · 30 days
2
5% of all-time downloads
DJY75/my-first-model
my-first-model is a text classification model from DJY75. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
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
Downloads · 30 days
2
5% of all-time downloads
All-time downloads
37
Public
Parameters
180K
723 KB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors723 KB · 50%
From the Hugging Face model README
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:
This model is for educational purposes only - specifically for learning how to upload and manage models on the Hugging Face Hub.
from transformers import AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("DJY75/my-first-model")