BERT-XD_Review
is a cross-domain (beyond just
laptop
and
restaurant
) language model, where each example is from a single product / restaurant with the same rating, post-trained (fine-tuned) on a combination of 5-core Amazon reviews and all Yelp data, expected to be 22 G in total. It is trained for 4 epochs on
bert-base-uncased
.
The preprocessing code
here
.
Loading the post-trained weights are as simple as, e.g.,
import torch
from transformers import AutoModel, AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("activebus/BERT-XD_Review")
model = AutoModel.from_pretrained("activebus/BERT-XD_Review")
Evaluation Results
Check our
NAACL paper
BERT_Review
is expected to have similar performance on domain-specific tasks (such as aspect extraction) as
BERT-DK
, but much better on general tasks such as aspect sentiment classification (different domains mostly share similar sentiment words).
Citation
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",
}
Runs of activebus BERT-XD_Review on huggingface.co
68
Total runs
1
24-hour runs
-2
3-day runs
3
7-day runs
37
30-day runs
More Information About BERT-XD_Review huggingface.co Model
BERT-XD_Review huggingface.co
BERT-XD_Review huggingface.co is an AI model on huggingface.co that provides BERT-XD_Review's model effect (), which can be used instantly with this activebus BERT-XD_Review model. huggingface.co supports a free trial of the BERT-XD_Review model, and also provides paid use of the BERT-XD_Review. Support call BERT-XD_Review model through api, including Node.js, Python, http.
BERT-XD_Review huggingface.co is an online trial and call api platform, which integrates BERT-XD_Review's modeling effects, including api services, and provides a free online trial of BERT-XD_Review, you can try BERT-XD_Review online for free by clicking the link below.
activebus BERT-XD_Review online free url in huggingface.co:
BERT-XD_Review is an open source model from GitHub that offers a free installation service, and any user can find BERT-XD_Review on GitHub to install. At the same time, huggingface.co provides the effect of BERT-XD_Review install, users can directly use BERT-XD_Review installed effect in huggingface.co for debugging and trial. It also supports api for free installation.