| 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 | |