Text Classification
Transformers
PyTorch
TensorBoard
bert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run Dinithi/clinicalAgitationTextClassificationModelV1 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/Dinithi/clinicalAgitationTextClassificationModelV1. 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/Dinithi/clinicalAgitationTextClassificationModelV1 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 Dinithi/clinicalAgitationTextClassificationModelV1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dinithi/clinicalAgitationTextClassificationModelV1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Dinithi/clinicalAgitationTextClassificationModelV1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Dinithi/clinicalAgitationTextClassificationModelV1") model = AutoModelForSequenceClassification.from_pretrained("Dinithi/clinicalAgitationTextClassificationModelV1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 500
Browse filesFiles changed (10)
- .gitignoreAdded+1
- config.jsonAdded+26
- pytorch_model.binAdded+3
- runs/Sep03_14-13-09_cd31d84db59c/1662214402.7961729/events.out.tfevents.1662214402.cd31d84db59c.72.1Added+3
- runs/Sep03_14-13-09_cd31d84db59c/events.out.tfevents.1662214402.cd31d84db59c.72.0Added+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+15
- training_args.binAdded+3
- vocab.txtAdded
1checkpoint-*/1234567891011121314151617181920212223242526{ "_name_or_path": "emilyalsentzer/Bio_ClinicalBERT", "architectures": [ "BertForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "initializer_range": 0.02, "intermediate_size": 3072, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 0, "position_embedding_type": "absolute", "problem_type": "single_label_classification", "torch_dtype": "float32", "transformers_version": "4.21.2", "type_vocab_size": 2, "use_cache": true, "vocab_size": 28996}123version https://git-lfs.github.com/spec/v1oid sha256:d3678163c0d258df9a2f9638b29fbc84ad63189bb046aa005abdda7cfb9e2a15size 433318253123version https://git-lfs.github.com/spec/v1oid sha256:be9fb9a0b0fd5c9f6d2f292155e82a41970d795dd96ee2dfa91bbf3820f4d849size 5485123version https://git-lfs.github.com/spec/v1oid sha256:20cb627250feef6602db2f6fcc8610b4828707217b43a928c47f17f2b96bc20fsize 94481234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}123456789101112131415{ "cls_token": "[CLS]", "do_basic_tokenize": true, "do_lower_case": true, "mask_token": "[MASK]", "name_or_path": "emilyalsentzer/Bio_ClinicalBERT", "never_split": null, "pad_token": "[PAD]", "sep_token": "[SEP]", "special_tokens_map_file": null, "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:fe89c05bdf10fefaad0fb8cd78856db4a1c4f5b39174e538f7f8fdcc060d4d8csize 3375.gitignoreAdded+1
config.jsonAdded+26
pytorch_model.binAdded+3
runs/Sep03_14-13-09_cd31d84db59c/1662214402.7961729/events.out.tfevents.1662214402.cd31d84db59c.72.1Added+3
runs/Sep03_14-13-09_cd31d84db59c/events.out.tfevents.1662214402.cd31d84db59c.72.0Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+15
training_args.binAdded+3
vocab.txtAdded