pritamdeka / PubMedBert-PubMed200kRCT

huggingface.co
Total runs: 148
24-hour runs: 0
7-day runs: 1
30-day runs: 137
Model's Last Updated: June 05 2024
text-classification

Introduction of PubMedBert-PubMed200kRCT

Model Details of PubMedBert-PubMed200kRCT

PubMedBert-PubMed200kRCT

This model is a fine-tuned version of microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract-fulltext on the PubMed200kRCT dataset. It achieves the following results on the evaluation set:

  • Loss: 0.2833
  • Accuracy: 0.8942
Model description

More information needed

Intended uses & limitations

The model can be used for text classification tasks of Randomized Controlled Trials that does not have any structure. The text can be classified as one of the following:

  • BACKGROUND
  • CONCLUSIONS
  • METHODS
  • OBJECTIVE
  • RESULTS

The model can be directly used like this:

from transformers import TextClassificationPipeline
from transformers import AutoTokenizer, AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("pritamdeka/PubMedBert-PubMed200kRCT")
tokenizer = AutoTokenizer.from_pretrained("pritamdeka/PubMedBert-PubMed200kRCT")
pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, return_all_scores=True)
pipe("Treatment of 12 healthy female subjects with CDCA for 2 days resulted in increased BAT activity.")

Results will be shown as follows:

[[{'label': 'BACKGROUND', 'score': 0.0028450002428144217},
  {'label': 'CONCLUSIONS', 'score': 0.2581048607826233},
  {'label': 'METHODS', 'score': 0.015086210332810879},
  {'label': 'OBJECTIVE', 'score': 0.0016815993003547192},
  {'label': 'RESULTS', 'score': 0.7222822904586792}]]
Training and evaluation data

More information needed

Training procedure
Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-05
  • train_batch_size: 64
  • eval_batch_size: 64
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 2.0
Training results
Training Loss Epoch Step Validation Loss Accuracy
0.3604 0.14 5000 0.3162 0.8821
0.3326 0.29 10000 0.3112 0.8843
0.3293 0.43 15000 0.3044 0.8870
0.3246 0.58 20000 0.3040 0.8871
0.32 0.72 25000 0.2969 0.8888
0.3143 0.87 30000 0.2929 0.8903
0.3095 1.01 35000 0.2917 0.8899
0.2844 1.16 40000 0.2957 0.8886
0.2778 1.3 45000 0.2943 0.8906
0.2779 1.45 50000 0.2890 0.8935
0.2752 1.59 55000 0.2881 0.8919
0.2736 1.74 60000 0.2835 0.8944
0.2725 1.88 65000 0.2833 0.8942
Framework versions
  • Transformers 4.18.0.dev0
  • Pytorch 1.10.0+cu111
  • Datasets 1.18.3
  • Tokenizers 0.11.6
Citing & Authors

Runs of pritamdeka PubMedBert-PubMed200kRCT on huggingface.co

148
Total runs
0
24-hour runs
0
3-day runs
1
7-day runs
137
30-day runs

More Information About PubMedBert-PubMed200kRCT huggingface.co Model

More PubMedBert-PubMed200kRCT license Visit here:

https://choosealicense.com/licenses/mit

PubMedBert-PubMed200kRCT huggingface.co

PubMedBert-PubMed200kRCT huggingface.co is an AI model on huggingface.co that provides PubMedBert-PubMed200kRCT's model effect (), which can be used instantly with this pritamdeka PubMedBert-PubMed200kRCT model. huggingface.co supports a free trial of the PubMedBert-PubMed200kRCT model, and also provides paid use of the PubMedBert-PubMed200kRCT. Support call PubMedBert-PubMed200kRCT model through api, including Node.js, Python, http.

PubMedBert-PubMed200kRCT huggingface.co Url

https://huggingface.co/pritamdeka/PubMedBert-PubMed200kRCT

pritamdeka PubMedBert-PubMed200kRCT online free

PubMedBert-PubMed200kRCT huggingface.co is an online trial and call api platform, which integrates PubMedBert-PubMed200kRCT's modeling effects, including api services, and provides a free online trial of PubMedBert-PubMed200kRCT, you can try PubMedBert-PubMed200kRCT online for free by clicking the link below.

pritamdeka PubMedBert-PubMed200kRCT online free url in huggingface.co:

https://huggingface.co/pritamdeka/PubMedBert-PubMed200kRCT

PubMedBert-PubMed200kRCT install

PubMedBert-PubMed200kRCT is an open source model from GitHub that offers a free installation service, and any user can find PubMedBert-PubMed200kRCT on GitHub to install. At the same time, huggingface.co provides the effect of PubMedBert-PubMed200kRCT install, users can directly use PubMedBert-PubMed200kRCT installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

PubMedBert-PubMed200kRCT install url in huggingface.co:

https://huggingface.co/pritamdeka/PubMedBert-PubMed200kRCT

Url of PubMedBert-PubMed200kRCT

PubMedBert-PubMed200kRCT huggingface.co Url

Provider of PubMedBert-PubMed200kRCT huggingface.co

pritamdeka
ORGANIZATIONS

Other API from pritamdeka