YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

My Custom BERT Model

This is a fine-tuned version of bert-base-uncased for binary sentiment analysis.

Model Overview

  • Model: BERT for sequence classification
  • Number of Labels: 2
  • Dataset: Custom sentiment dataset

How to Use

from transformers import AutoModelForSequenceClassification, AutoTokenizer

# Load model and tokenizer
model = AutoModelForSequenceClassification.from_pretrained("your_username/my_model")
tokenizer = AutoTokenizer.from_pretrained("your_username/my_model")

# Tokenize text
inputs = tokenizer("I love this!", return_tensors="pt")
outputs = model(**inputs)
Downloads last month
3
Safetensors
Model size
109M params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support