Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- id
|
4 |
+
---
|
5 |
+
How to import:
|
6 |
+
```python
|
7 |
+
from transformers import AutoModel, AutoTokenizer
|
8 |
+
|
9 |
+
tokenizer = BertTokenizer.from_pretrained("thoriqfy/indobert-emotion-classification")
|
10 |
+
config = BertConfig.from_pretrained("thoriqfy/indobert-emotion-classification")
|
11 |
+
model = BertForSequenceClassification.from_pretrained("thoriqfy/indobert-emotion-classification", config=config)
|
12 |
+
```
|