julien-c HF staff commited on
Commit
ee3409c
·
1 Parent(s): c453588

Migrate model card from transformers-repo

Browse files

Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755
Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/activebus/BERT-DK_rest/README.md

Files changed (1) hide show
  1. README.md +41 -0
README.md ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ReviewBERT
2
+
3
+ BERT (post-)trained from review corpus to understand sentiment, options and various e-commence aspects.
4
+
5
+ `BERT-DK_rest` is trained from 1G (19 types) restaurants from Yelp.
6
+
7
+ ## Model Description
8
+
9
+ The original model is from `BERT-base-uncased` trained from Wikipedia+BookCorpus.
10
+ Models are post-trained from [Amazon Dataset](http://jmcauley.ucsd.edu/data/amazon/) and [Yelp Dataset](https://www.yelp.com/dataset/challenge/).
11
+
12
+
13
+ ## Instructions
14
+ Loading the post-trained weights are as simple as, e.g.,
15
+
16
+ ```python
17
+ import torch
18
+ from transformers import AutoModel, AutoTokenizer
19
+
20
+ tokenizer = AutoTokenizer.from_pretrained("activebus/BERT-DK_rest")
21
+ model = AutoModel.from_pretrained("activebus/BERT-DK_rest")
22
+
23
+ ```
24
+
25
+
26
+ ## Evaluation Results
27
+
28
+ Check our [NAACL paper](https://www.aclweb.org/anthology/N19-1242.pdf)
29
+
30
+
31
+ ## Citation
32
+ If you find this work useful, please cite as following.
33
+ ```
34
+ @inproceedings{xu_bert2019,
35
+ title = "BERT Post-Training for Review Reading Comprehension and Aspect-based Sentiment Analysis",
36
+ author = "Xu, Hu and Liu, Bing and Shu, Lei and Yu, Philip S.",
37
+ booktitle = "Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics",
38
+ month = "jun",
39
+ year = "2019",
40
+ }
41
+ ```