julien-c HF staff commited on
Commit
8c40fcf
1 Parent(s): 92cbb11

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_laptop/README.md

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