Text Classification
Transformers
TensorFlow
TensorBoard
Safetensors
longformer
Generated from Trainer
Run this model with HF Jobs
Run nathanReitinger/scotusPRED on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/nathanReitinger/scotusPRED. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/nathanReitinger/scotusPRED on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use nathanReitinger/scotusPRED with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nathanReitinger/scotusPRED with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nathanReitinger/scotusPRED")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nathanReitinger/scotusPRED") model = AutoModelForSequenceClassification.from_pretrained("nathanReitinger/scotusPRED", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f6825a2
1
Parent(s): f01f2c4
Training in progress epoch 2
Browse filesFiles changed (2)
- README.md+4-3
- tf_model.h5+1-1
13 unmodified lines1415161718192021222321 unmodified lines45464748495013 unmodified linesThis model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.It achieves the following results on the evaluation set:- Train Loss: 0.6408- Validation Loss: 0.6319- Train Accuracy: 0.6689- Epoch: 1## Model description21 unmodified lines|:----------:|:---------------:|:--------------:|:-----:|| 0.6428 | 0.6397 | 0.6689 | 0 || 0.6408 | 0.6319 | 0.6689 | 1 |### Framework versions13 unmodified lines1415161718192021222321 unmodified lines4546474849505113 unmodified linesThis model is a fine-tuned version of [distilbert-base-uncased](https://huggingface.co/distilbert-base-uncased) on an unknown dataset.It achieves the following results on the evaluation set:- Train Loss: 0.6354- Validation Loss: 0.6292- Train Accuracy: 0.6689- Epoch: 2## Model description21 unmodified lines|:----------:|:---------------:|:--------------:|:-----:|| 0.6428 | 0.6397 | 0.6689 | 0 || 0.6408 | 0.6319 | 0.6689 | 1 || 0.6354 | 0.6292 | 0.6689 | 2 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:30fd719902b891d600e01dff9b3f7839e3dd993ecb7dcd768395690cb89cd9a7size 267951808123version https://git-lfs.github.com/spec/v1oid sha256:dadc47f0db5098b0115879a13d212f6055337fddcf66d3cdb01c91b10015431fsize 267951808
README.md+4-3
tf_model.h5+1-1