sangrimlee commited on
Commit
47fdca1
β€’
1 Parent(s): 7644bbe

Add README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -0
README.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: ko
3
+ ---
4
+
5
+ # BERT multilingual basecased finetuned with NSMC
6
+
7
+ This model is a fine-tune checkpoint of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased), fine-tuned on [NSMC(Naver Sentiment Movie Corpus)](https://github.com/e9t/nsmc).
8
+
9
+ ## Usage
10
+
11
+ You can use this model directly with a pipeline for sentiment-analysis:
12
+
13
+ ```python
14
+ >>> from transformers import pipeline
15
+ >>> classifier = pipeline(
16
+ "sentiment-analysis", model="sangrimlee/bert-base-multilingual-cased-nsmc"
17
+ )
18
+ >>> classifier("흠...ν¬μŠ€ν„°λ³΄κ³  μ΄ˆλ”©μ˜ν™”μ€„....μ˜€λ²„μ—°κΈ°μ‘°μ°¨ 가볍지 μ•Šκ΅¬λ‚˜.")
19
+ >>> classifier("μ•‘μ…˜μ΄ μ—†λŠ”λ°λ„ 재미 μžˆλŠ” λͺ‡μ•ˆλ˜λŠ” μ˜ν™”")
20
+
21
+ [{'label': 'negative', 'score': 0.9642567038536072}]
22
+ [{'label': 'positive', 'score': 0.9970554113388062}]
23
+ ```