---
title: scibert_scivocab_uncased_field_of_study
canonical_url: "https://www.modelscope.cn/models/LLM-Research/scibert_scivocab_uncased_field_of_study"
md_url: "https://www.modelscope.cn/models/LLM-Research/scibert_scivocab_uncased_field_of_study.md"
repository: LLM-Research/scibert_scivocab_uncased_field_of_study
last_updated: 2024-09-09
pipeline_tag: text-classification
tasks:
  - text-classification
model_type:
  - bert
architectures:
  - BertForSequenceClassification
library_name:
  - pytorch
frameworks:
  - pytorch
inference_backends:
  - "deploy_task emb"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 2102
stars: 0
---

# scibert_scivocab_uncased_field_of_study

> scibert_scivocab_uncased_field_of_study - LLM-Research 在 ModelScope 开源的模型。Field of study pytorch model is a finetuned version of allenai/scibertscivocabuncased.

LLM-Research/scibert_scivocab_uncased_field_of_study 是 ModelScope 魔搭社区上的text-classification模型，可用 deploy_task emb、sglang 0.5.2、vllm 0.9.2 部署。

- **Repository**: LLM-Research/scibert_scivocab_uncased_field_of_study
- **Tasks**: text-classification
- **Inference backends**: deploy_task emb, sglang 0.5.2, vllm 0.9.2
- **Downloads**: 2102
- **Stars**: 0
- **Last updated**: 2024-09-09

Source: https://www.modelscope.cn/models/LLM-Research/scibert_scivocab_uncased_field_of_study

---

Field of study pytorch model is a finetuned version of allenai/scibert_scivocab_uncased.

Data for finetuning was harvested utlizing OpenAI models using following prompt:

```
def prompt_with_journal(title, abstract, journal_name):
    message = [
        {"role": "system", "content": "You are a highly intelligent and accurate information extraction system. You take title, abstract, journal name of a \
         scientific article as input and your task is to classify the scientific field of study of the passage.",
         "role": "user", "content": "You need to classify it with key: 'field_of_study' assign as many 'field_of_study' as you find it fit: \
    'Agricultural and Food sciences', \
    'Art', \
    'Biology',\
    'Business',\
    'Chemistry',\
    'Computer science',\
    'Economics',\
    'Education',\
    'Engineering',\
    'Environmental science',\
    'Geography',\
    'Geology',\
    'History',\
    'Law',\
    'Linguistics',\
    'Materials science',\
    'Mathematics',\
    'Medicine',\
    'Philosophy',\
    'Physics',\
    'Political science',\
    'Psychology',\
    'Sociology'\
    Only select from the above list, or 'Other'."},
      
    {"role": "assistant", 
     "content": ("```python \n"
                 f"title = { title } \n"
                 f"abstract = { abstract }\n"
                 f"journal_name = { journal_name }\n"
                  "{'field_of_study': ["
    )},]
    return message
```
