
# bert-base-cased-finetuned-jigsaw

This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the [Kaggle jigsaw toxic comment classification](https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/) dataset.

## How to use

You can use the model with the following code.

```python
from transformers import AutoModelForSequenceClassification, AutoTokenizer, TextClassificationPipeline

model_path = "ZiruiXiong/bert-base-finetuned-toxic-comment-classification"
tokenizer = AutoTokenizer.from_pretrained(model_path)
model = AutoModelForSequenceClassification.from_pretrained(model_path)

pipeline = TextClassificationPipeline(model=model, tokenizer=tokenizer)
print(pipeline('You are also a liar since I hardly spoke with you.'))
```

## Evaluation results

The model achieves 0.95 AUC in a 1500 rows held-out test set.
{"language": ["en"], "license": "afl-3.0", "library_name": "transformers", "metrics": ["accuracy"], "pipeline_tag": "text-classification"}
transformers pytorch bert text-classification en license:afl-3.0 autotrain_compatible endpoints_compatible region:us
TAGS
#transformers #pytorch #bert #text-classification #en #license-afl-3.0 #autotrain_compatible #endpoints_compatible #region-us 


# bert-base-cased-finetuned-jigsaw

This model is a fine-tuned version of bert-base-uncased on the Kaggle jigsaw toxic comment classification dataset.

## How to use

You can use the model with the following code.



## Evaluation results

The model achieves 0.95 AUC in a 1500 rows held-out test set.
# bert-base-cased-finetuned-jigsaw

This model is a fine-tuned version of bert-base-uncased on the Kaggle jigsaw toxic comment classification dataset. ## How to use

You can use the model with the following code. ## Evaluation results

The model achieves 0.95 AUC in a 1500 rows held-out test set.
TAGS
#transformers #pytorch #bert #text-classification #en #license-afl-3.0 #autotrain_compatible #endpoints_compatible #region-us 
 # bert-base-cased-finetuned-jigsaw

This model is a fine-tuned version of bert-base-uncased on the Kaggle jigsaw toxic comment classification dataset. ## How to use

You can use the model with the following code. ## Evaluation results

The model achieves 0.95 AUC in a 1500 rows held-out test set.
TAGS
#transformers #pytorch #bert #text-classification #en #license-afl-3.0 #autotrain_compatible #endpoints_compatible #region-us 
# bert-base-cased-finetuned-jigsaw

This model is a fine-tuned version of bert-base-uncased on the Kaggle jigsaw toxic comment classification dataset.## How to use

You can use the model with the following code.## Evaluation results

The model achieves 0.95 AUC in a 1500 rows held-out test set.