Downloads · 30 days
14.5K
44% of all-time downloads
activebus/BERT-DK_rest
BERT-DK_rest is a fill-mask model from activebus. Use it when you need the model to fill a missing word. It is set up for transformers.
BERT (post-)trained from review corpus to understand sentiment, options and various e-commence aspects.
Downloads · 30 days
14.5K
44% of all-time downloads
All-time downloads
33.1K
Public
Repo size
1.3 GB
Likes
0
Public
Click a slice to open those files.
.bin440 MB · 50%
From the Hugging Face model README
BERT (post-)trained from review corpus to understand sentiment, options and various e-commence aspects.
BERT-DK_rest is trained from 1G (19 types) restaurants from Yelp.
The original model is from BERT-base-uncased trained from Wikipedia+BookCorpus.
Models are post-trained from Amazon Dataset and Yelp Dataset.
Loading the post-trained weights are as simple as, e.g.,
import torch
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("activebus/BERT-DK_rest")
model = AutoModel.from_pretrained("activebus/BERT-DK_rest")
Check our NAACL paper
If you find this work useful, please cite as following.
@inproceedings{xu_bert2019,
title = "BERT Post-Training for Review Reading Comprehension and Aspect-based Sentiment Analysis",
author = "Xu, Hu and Liu, Bing and Shu, Lei and Yu, Philip S.",
booktitle = "Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics",
month = "jun",
year = "2019",
}