Back to all models

Unable to determine this model’s pipeline type. Check the docs .

Monthly model downloads

lanwuwei/BERTOverflow_stackoverflow_github lanwuwei/BERTOverflow_stackoverflow_github
last 30 days



Contributed by

lanwuwei Wuwei Lan
3 models

How to use this model directly from the 🤗/transformers library:

Copy to clipboard
from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("lanwuwei/BERTOverflow_stackoverflow_github") model = AutoModel.from_pretrained("lanwuwei/BERTOverflow_stackoverflow_github")
Uploaded in S3


Model description

We pre-trained BERT-base model on 152 million sentences from the StackOverflow's 10 year archive. More details of this model can be found in our ACL 2020 paper: Code and Named Entity Recognition in StackOverflow.

How to use

from transformers import *
import torch

tokenizer = AutoTokenizer.from_pretrained("lanwuwei/BERTOverflow_stackoverflow_github")
model = AutoModelForTokenClassification.from_pretrained("lanwuwei/BERTOverflow_stackoverflow_github")

BibTeX entry and citation info

    title={Code and Named Entity Recognition in StackOverflow},
    author={Tabassum, Jeniya  and Maddela, Mounica  and Xu, Wei and Ritter, Alan },
    booktitle = {Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics (ACL)},
    year = {2020},