Text Classification
Transformers
PyTorch
TensorBoard
bert
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run Dinithi/BioBERT 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/BioBERT. 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/BioBERT 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/BioBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dinithi/BioBERT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Dinithi/BioBERT")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Dinithi/BioBERT") model = AutoModelForSequenceClassification.from_pretrained("Dinithi/BioBERT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 500
Browse filesFiles changed (10)
- .gitignoreAdded+1
- config.jsonAdded+27
- pytorch_model.binAdded+3
- runs/Sep03_22-04-28_d12678db24db/1662242698.8307679/events.out.tfevents.1662242698.d12678db24db.72.1Added+3
- runs/Sep03_22-04-28_d12678db24db/events.out.tfevents.1662242698.d12678db24db.72.0Added+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+16
- training_args.binAdded+3
- vocab.txtAdded
1checkpoint-*/123456789101112131415161718192021222324252627{ "_name_or_path": "dmis-lab/biobert-v1.1", "architectures": [ "BertForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "gradient_checkpointing": false, "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:010d7c1dc5e660571bd21c6de35142f0e4f2855a2b54c7a92aa3b774cdf1f5f7size 433318253123version https://git-lfs.github.com/spec/v1oid sha256:736d32e683b809ffcc20e0642ac82d1afb3f336ec3d3d398388e940fd0d069efsize 5422123version https://git-lfs.github.com/spec/v1oid sha256:09fa6948f88444cfb5e262ca9a357c8999c2cade7853d4b19910a9166f9a06adsize 94521234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}12345678910111213141516{ "cls_token": "[CLS]", "do_basic_tokenize": true, "do_lower_case": false, "mask_token": "[MASK]", "model_max_length": 512, "name_or_path": "dmis-lab/biobert-v1.1", "never_split": null, "pad_token": "[PAD]", "sep_token": "[SEP]", "special_tokens_map_file": "/root/.cache/huggingface/transformers/118da8438a7854000cfcf052566f83ae4f4159ac25796e49e16c3b18746041b4.dd8bd9bfd3664b530ea4e645105f557769387b3da9f79bdb55ed556bdd80611d", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:35c252119a78f0cbffb27a72f89b5f92a45938e919f9845d4a8d237571cf26bdsize 3375.gitignoreAdded+1
config.jsonAdded+27
pytorch_model.binAdded+3
runs/Sep03_22-04-28_d12678db24db/1662242698.8307679/events.out.tfevents.1662242698.d12678db24db.72.1Added+3
runs/Sep03_22-04-28_d12678db24db/events.out.tfevents.1662242698.d12678db24db.72.0Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+16
training_args.binAdded+3
vocab.txtAdded