Instructions to use puzzz21/sci-sentiment-classify with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use puzzz21/sci-sentiment-classify with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="puzzz21/sci-sentiment-classify")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("puzzz21/sci-sentiment-classify") model = AutoModelForSequenceClassification.from_pretrained("puzzz21/sci-sentiment-classify") - Notebooks
- Google Colab
- Kaggle
Request for Citation Details
hello ,
i want the code for prediction sentiment model and also need details for citing in our journal . i would be delighted .
regards,
shreyansh
Hello @Shreyansh-GG ,
The code used for this model is available here: https://github.com/puzzz21/finetune-scibert/blob/main/finetune_scibert_sentiment.py . Also, you could find the details of this model here: https://huggingface.co/puzzz21/sci-sentiment-classify. Likewise, DOI is here:
@misc {puja_maharjan_2024,
author = { {Puja Maharjan} },
title = { sci-sentiment-classify (Revision 8f10af2) },
year = 2024,
url = { https://huggingface.co/puzzz21/sci-sentiment-classify },
doi = { 10.57967/hf/1592 },
publisher = { Hugging Face }
}
Please let me know if you have any further queries.
Best,
Puja
hello puja mam,
i want to know the citation sentiment.csv on which you had trained the model because i want to know how many features you used for sentiment classification since i have only text and i need to classify into one of three sentiment i need to re train ,or maybe not . also i could not find the public dataset from that link and it would be easy if i can get the final dataset before finetuning .it will help me.
thanks for reply ,
shreyansh