File size: 462 Bytes
b428214
 
4a097fa
 
 
 
 
 
 
 
 
f2cbf4d
 
 
 
9f420eb
 
 
f2cbf4d
 
 
9f420eb
 
f2cbf4d
 
 
9f420eb
f2cbf4d
9f420eb
f2cbf4d
 
 
9f420eb
f2cbf4d
 
 
 
9f420eb
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
license: mit
language:
- en
metrics:
- accuracy
library_name: transformers
pipeline_tag: text-classification
tags:
- text-classification
- art
---

## Uses


For social good. 


### Direct Use


model_path = ""


model = BertForSequenceClassification.from_pretrained(model_path)

tokenizer= BertTokenizerFast.from_pretrained(model_path)

nlp= pipeline("sentiment-analysis", model=model, tokenizer=tokenizer)

nlp("text")



#### Metrics


Accuracy  metrics