It was made with the purpose of being able to classify scholarly work with a fixed set of well-defined topics. This is NOT the full model being used to tag
OpenAlex
works with a topic. For that, check out the following github repo:
OpenAlex Topic Classification
That repository will also contain information about text preprocessing, modeling, testing, and deployment.
Model description
The model was trained using the following input data format (so it is recommended the data be in this format as well):
Using both title and abstract:
"<TITLE> {insert-processed-title-here}\n<ABSTRACT> {insert-processed-abstract-here}"
Using only title:
"<TITLE> {insert-processed-title-here}"
Using only abstract:
"<TITLE> NONE\n<ABSTRACT> {insert-processed-abstract-here}"
The quickest way to use this model in Python is with the following code (assuming you have the transformers library installed):
from transformers import pipeline
title = "{insert-processed-title-here}"
abstract = "{insert-processed-abstract-here}"
classifier = \
pipeline(model="OpenAlex/bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract", top_k=10, "truncation":True,"max_length":512)
classifier(f"""<TITLE> {title}\n<ABSTRACT> {abstract}""")
This will return the top 10 outputs from the model. There will be 2 pieces of information here:
Full Topic Label: Made up of both the
OpenAlex
topic ID and the topic label (ex: "1048: Ecology and Evolution of Viruses in Ecosystems")
Model Score: Model's confidence in the topic (ex: "0.364")
Intended uses & limitations
The model is intended to be used as part of a larger model that also incorporates journal information and citation features. However, this model is good if you want to use it for quickly generating a topic based only on a title/abstract.
Since this model was fine-tuned on a BERT model, all of the biases seen in that model will most likely show up in this model as well.
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract huggingface.co is an AI model on huggingface.co that provides bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract's model effect (), which can be used instantly with this OpenAlex bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract model. huggingface.co supports a free trial of the bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract model, and also provides paid use of the bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract. Support call bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract model through api, including Node.js, Python, http.
bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract huggingface.co is an online trial and call api platform, which integrates bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract's modeling effects, including api services, and provides a free online trial of bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract, you can try bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract online for free by clicking the link below.
OpenAlex bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract online free url in huggingface.co:
bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract is an open source model from GitHub that offers a free installation service, and any user can find bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract on GitHub to install. At the same time, huggingface.co provides the effect of bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract install, users can directly use bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
bert-base-multilingual-cased-finetuned-openalex-topic-classification-title-abstract install url in huggingface.co: