Run this model with HF Jobs
Run mradau/stress_classifier 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/mradau/stress_classifier. 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/mradau/stress_classifier 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 mradau/stress_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradau/stress_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mradau/stress_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mradau/stress_classifier") model = AutoModelForSequenceClassification.from_pretrained("mradau/stress_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
add model
Browse filesFiles changed (3)
- README.mdAdded+47
- config.jsonAdded+47
- tf_model.h5Added+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647---tags:- generated_from_keras_callbackmodel-index:- name: tmpydyl607j results: []---
<!-- This model card has been generated automatically according to the information Keras had access to. You shouldprobably proofread and complete it, then remove this comment. -->
# tmpydyl607j
This model was trained from scratch on an unknown dataset.It achieves the following results on the evaluation set:
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- optimizer: None- training_precision: float32
### Training results
### Framework versions
- Transformers 4.16.2- TensorFlow 2.8.0- Datasets 1.18.3- Tokenizers 0.11.01234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ "_name_or_path": "stress_classifier/", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "Other", "1": "Emotional Turmoil", "2": "Everyday Decision Making", "3": "Work", "4": "Social Relationships", "5": "Health, Fatigue, or Physical Pain", "6": "Family Issues", "7": "School", "8": "Financial Problem" }, "initializer_range": 0.02, "label2id": { "Emotional Turmoil": 1, "Everyday Decision Making": 2, "Family Issues": 6, "Financial Problem": 8, "Health, Fatigue, or Physical Pain": 5, "Other": 0, "School": 7, "Social Relationships": 4, "Work": 3 }, "max_position_embeddings": 512, "model_type": "distilbert", "n_heads": 12, "n_layers": 6, "pad_token_id": 0, "problem_type": "single_label_classification", "qa_dropout": 0.1, "seq_classif_dropout": 0.2, "sinusoidal_pos_embds": false, "tie_weights_": true, "torch_dtype": "float32", "transformers_version": "4.16.2", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:0412b37eba448422785513cf0b6267ce0b0db90f3df951c75cd2d6dbdb142d51size 267977896README.mdAdded+47
config.jsonAdded+47
tf_model.h5Added+3