stormsidali2001/IMRAD-introduction-sentences-moves-sub-moves-dataset
Preview โข Updated โข 4 โข 1
How to use stormsidali2001/IMRAD_introduction_moves_classifier with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0.
# See https://github.com/keras-team/tf-keras for more details.
# !pip install "huggingface_hub<1.0" tf_keras
from huggingface_hub import from_pretrained_keras
model = from_pretrained_keras("stormsidali2001/IMRAD_introduction_moves_classifier")
This model is a fine-tuned BERT model designed to classify sentences from the introductions of scientific research papers into one of three IMRaD moves:
Intended Uses:
Limitations:
The model was trained and evaluated on the "IMRAD Introduction Sentences Moves & Sub-moves Dataset" available on Hugging Face: https://huggingface.co/datasets/stormsidali2001/IMRAD-introduction-sentences-moves-sub-moves-dataset
The dataset consists of sentences extracted from scientific research paper introductions, manually labeled with their corresponding IMRaD moves.
Training Details:
bert-base-cased model from Google was used as the base model.You can use this model with the pipeline function from the transformers library:
from transformers import pipeline
classifier = pipeline("text-classification", model="your-username/your-model-name")
sentence = "Electronic cigarettes were introduced into the US market in 2007."
result = classifier(sentence)
print(result)