The research for social science texts needs the support natural language processing tools.
The pre-trained language model has greatly improved the accuracy of text mining in general texts. At present, there is an urgent need for a pre-trained language model specifically for the automatic processing of scientific texts in social science.
We used the abstract of social science research as the training set. Based on the deep language model framework of BERT, we constructed
SSCI-BERT and SSCI-SciBERT pre-training language models by
transformers/run_mlm.py.
We designed four downstream tasks of Text Classification on different social scientific article corpus to verify the performance of the model.
The
from_pretrained method based on
Huggingface Transformers can directly obtain SSCI-BERT and SSCI-SciBERT models online.
1from transformers import AutoTokenizer, AutoModel
2
3tokenizer = AutoTokenizer.from_pretrained("KM4STfulltext/SSCI-BERT-e2")
4
5model = AutoModel.from_pretrained("KM4STfulltext/SSCI-BERT-e2")
1from transformers import AutoTokenizer, AutoModel
2
3tokenizer = AutoTokenizer.from_pretrained("KM4STfulltext/SSCI-SciBERT-e2")
4
5model = AutoModel.from_pretrained("KM4STfulltext/SSCI-SciBERT-e2")
We have put the model on Google Drive for users.