davanstrien / jim-crow-laws-ml-agent

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

Introduction of jim-crow-laws-ml-agent

Model Details of jim-crow-laws-ml-agent

Jim Crow Law Classifier (ModernBERT-base)

A text classification model fine-tuned on biglam/on_the_books to identify Jim Crow laws in historical US legislative text.

Model Description

This model classifies sections of US state legislation as either Jim Crow laws (discriminatory laws targeting racial minorities) or non-Jim Crow laws . It was fine-tuned from answerdotai/ModernBERT-base , which supports up to 8,192 tokens of context.

Performance

Evaluated on a stratified 15% held-out test set (268 samples):

Metric Score
F1 0.9487
Accuracy 0.9701
Precision 0.9367
Recall 0.9610
Training Details
  • Base model : answerdotai/ModernBERT-base (149M parameters)
  • Dataset : biglam/on_the_books (1,785 samples total; 1,517 train / 268 test)
  • Max sequence length : 1024 tokens
  • Epochs : 5 (best checkpoint at epoch 5 by F1)
  • Batch size : 16
  • Learning rate : 2e-5 with linear decay
  • Warmup : 6% of training steps
  • Weight decay : 0.01
  • Hardware : NVIDIA T4 GPU
  • Training time : ~8 minutes
Usage
from transformers import pipeline

classifier = pipeline("text-classification", model="davanstrien/jim-crow-laws-ml-agent")

text = "The Commission shall provide separate sleeping quarters and separate eating space for the different races."
result = classifier(text)
print(result)
# [{'label': 'jim_crow', 'score': 0.99...}]
Dataset

The On the Books dataset contains 1,785 sections of North Carolina state legislation from the Jim Crow era, annotated by historians as either Jim Crow laws or non-Jim Crow laws. The dataset is imbalanced: 71% non-Jim Crow, 29% Jim Crow.

Labels
  • no_jim_crow (0): Non-discriminatory legislation
  • jim_crow (1): Jim Crow law (racially discriminatory legislation)
Limitations
  • Trained only on North Carolina legislation; may not generalize to other states
  • Historical language patterns may not transfer to modern legal text
  • The model may be biased toward the specific annotation criteria used in the dataset

Runs of davanstrien jim-crow-laws-ml-agent on huggingface.co

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

More Information About jim-crow-laws-ml-agent huggingface.co Model

More jim-crow-laws-ml-agent license Visit here:

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

jim-crow-laws-ml-agent huggingface.co

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

jim-crow-laws-ml-agent huggingface.co Url

https://huggingface.co/davanstrien/jim-crow-laws-ml-agent

davanstrien jim-crow-laws-ml-agent online free

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

davanstrien jim-crow-laws-ml-agent online free url in huggingface.co:

https://huggingface.co/davanstrien/jim-crow-laws-ml-agent

jim-crow-laws-ml-agent install

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

jim-crow-laws-ml-agent install url in huggingface.co:

https://huggingface.co/davanstrien/jim-crow-laws-ml-agent

Url of jim-crow-laws-ml-agent

jim-crow-laws-ml-agent huggingface.co Url

Provider of jim-crow-laws-ml-agent huggingface.co

davanstrien
ORGANIZATIONS

Other API from davanstrien

huggingface.co

Total runs: 13
Run Growth: 5
Growth Rate: 38.46%
Updated:September 24 2024
huggingface.co

Total runs: 10
Run Growth: 6
Growth Rate: 54.55%
Updated:April 11 2024
huggingface.co

Total runs: 9
Run Growth: -3
Growth Rate: -33.33%
Updated:September 07 2023