Update README.md
Browse files
README.md
CHANGED
|
@@ -9,4 +9,25 @@ pipeline_tag: text-classification
|
|
| 9 |
tags:
|
| 10 |
- text-classification
|
| 11 |
- art
|
| 12 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
tags:
|
| 10 |
- text-classification
|
| 11 |
- art
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
## Uses
|
| 15 |
+
|
| 16 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
| 17 |
+
|
| 18 |
+
### Direct Use
|
| 19 |
+
|
| 20 |
+
<!-- model_path = ""
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
model = BertForSequenceClassification.from_pretrained(model_path)
|
| 24 |
+
tokenizer= BertTokenizerFast.from_pretrained(model_path)
|
| 25 |
+
nlp= pipeline("sentiment-analysis", model=model, tokenizer=tokenizer)
|
| 26 |
+
|
| 27 |
+
nlp("text")
|
| 28 |
+
-->
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
#### Metrics
|
| 32 |
+
|
| 33 |
+
<!-- Accuracy metrics -->
|