Text Classification
Transformers
PyTorch
TensorBoard
distilbert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run padmajabfrl/Religion-Classification-Custom-Model 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/padmajabfrl/Religion-Classification-Custom-Model. 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/padmajabfrl/Religion-Classification-Custom-Model 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 padmajabfrl/Religion-Classification-Custom-Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use padmajabfrl/Religion-Classification-Custom-Model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="padmajabfrl/Religion-Classification-Custom-Model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("padmajabfrl/Religion-Classification-Custom-Model") model = AutoModelForSequenceClassification.from_pretrained("padmajabfrl/Religion-Classification-Custom-Model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Padmaj Srivastav commited on
Commit ·
750938c
1
Parent(s): b9221b3
Training in progress, step 500
Browse filesFiles changed (11)
- .gitignoreAdded+1
- config.jsonAdded+35
- pytorch_model.binAdded+3
- runs/Jun28_06-33-45_98981bf94d4f/events.out.tfevents.1687934051.98981bf94d4f.6432.0Added+3
- runs/Jun28_06-33-45_98981bf94d4f/events.out.tfevents.1687934337.98981bf94d4f.6432.1Added+3
- runs/Jun28_06-42-15_98981bf94d4f/events.out.tfevents.1687934543.98981bf94d4f.6432.2Added+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+14
- training_args.binAdded+3
- vocab.txtAdded
1checkpoint-*/1234567891011121314151617181920212223242526272829303132333435{ "_name_or_path": "distilbert-base-uncased", "activation": "gelu", "architectures": [ "DistilBertForSequenceClassification" ], "attention_dropout": 0.1, "dim": 768, "dropout": 0.1, "hidden_dim": 3072, "id2label": { "0": "Hindu", "1": "Muslim", "2": "Christian" }, "initializer_range": 0.02, "label2id": { "Christian": 2, "Hindu": 0, "Muslim": 1 }, "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.30.2", "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:3266017364fdc447148b4c3bcf57c927d52c1180f57eae90c6837f8d206b7d7dsize 267858605123version https://git-lfs.github.com/spec/v1oid sha256:09a442f0870be8d3e5386ce73562f414e4989a52a315e130bc2a4fe11f995e3csize 4106123version https://git-lfs.github.com/spec/v1oid sha256:90424c9b3ad8e4ca4c4cece9798f5c004f6c325fadf570c9fba7f5a5c115533bsize 4106123version https://git-lfs.github.com/spec/v1oid sha256:c0a1691b5560acb9d9d80d01f5c2b63ee7a84a7d74f3c8d090f90cacf30d1af2size 42631234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}1234567891011121314{ "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_lower_case": true, "mask_token": "[MASK]", "model_max_length": 512, "num_labels": 3, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "DistilBertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:a0494fb08090b2208ac8239fc7d1af215fc243fc623a1ef725101aa69b0a61ebsize 3963.gitignoreAdded+1
config.jsonAdded+35
pytorch_model.binAdded+3
runs/Jun28_06-33-45_98981bf94d4f/events.out.tfevents.1687934051.98981bf94d4f.6432.0Added+3
runs/Jun28_06-33-45_98981bf94d4f/events.out.tfevents.1687934337.98981bf94d4f.6432.1Added+3
runs/Jun28_06-42-15_98981bf94d4f/events.out.tfevents.1687934543.98981bf94d4f.6432.2Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+14
training_args.binAdded+3
vocab.txtAdded