KamilHugsFaces / clay-modernbert-v1

huggingface.co
Total runs: 4
24-hour runs: 0
7-day runs: 0
30-day runs: 1
Model's Last Updated: January 13 2026
text-classification

Introduction of clay-modernbert-v1

Model Details of clay-modernbert-v1

ModernBERT Fine-tuned for Binary Classification

This model is a fine-tuned version of answerdotai/ModernBERT-base for binary classification.

Training Details
  • Training epochs : 3
  • Batch size : 16
  • Learning rate : 2e-05
  • Training samples : 800
  • Validation samples : 200
Evaluation Results
  • Accuracy : 0.4400
  • Precision : 0.9333
  • Recall : 0.4421
  • F1 Score : 0.6000
Usage
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch

tokenizer = AutoTokenizer.from_pretrained("KamilHugsFaces/clay-modernbert-v1")
model = AutoModelForSequenceClassification.from_pretrained("KamilHugsFaces/clay-modernbert-v1")

text = "Your text here"
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=512)

with torch.no_grad():
    outputs = model(**inputs)
    prediction = torch.argmax(outputs.logits, dim=-1).item()
    probabilities = torch.softmax(outputs.logits, dim=-1)[0]

print(f"Prediction: {prediction}")
print(f"Confidence: {probabilities[prediction]:.4f}")

Runs of KamilHugsFaces clay-modernbert-v1 on huggingface.co

4
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
1
30-day runs

More Information About clay-modernbert-v1 huggingface.co Model

More clay-modernbert-v1 license Visit here:

https://choosealicense.com/licenses/apache-2.0

clay-modernbert-v1 huggingface.co

clay-modernbert-v1 huggingface.co is an AI model on huggingface.co that provides clay-modernbert-v1's model effect (), which can be used instantly with this KamilHugsFaces clay-modernbert-v1 model. huggingface.co supports a free trial of the clay-modernbert-v1 model, and also provides paid use of the clay-modernbert-v1. Support call clay-modernbert-v1 model through api, including Node.js, Python, http.

KamilHugsFaces clay-modernbert-v1 online free

clay-modernbert-v1 huggingface.co is an online trial and call api platform, which integrates clay-modernbert-v1's modeling effects, including api services, and provides a free online trial of clay-modernbert-v1, you can try clay-modernbert-v1 online for free by clicking the link below.

KamilHugsFaces clay-modernbert-v1 online free url in huggingface.co:

https://huggingface.co/KamilHugsFaces/clay-modernbert-v1

clay-modernbert-v1 install

clay-modernbert-v1 is an open source model from GitHub that offers a free installation service, and any user can find clay-modernbert-v1 on GitHub to install. At the same time, huggingface.co provides the effect of clay-modernbert-v1 install, users can directly use clay-modernbert-v1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

clay-modernbert-v1 install url in huggingface.co:

https://huggingface.co/KamilHugsFaces/clay-modernbert-v1

Url of clay-modernbert-v1

Provider of clay-modernbert-v1 huggingface.co

KamilHugsFaces
ORGANIZATIONS

Other API from KamilHugsFaces