Instructions to use hanseokhyeon/bert-badword-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hanseokhyeon/bert-badword-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hanseokhyeon/bert-badword-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hanseokhyeon/bert-badword-base") model = AutoModelForSequenceClassification.from_pretrained("hanseokhyeon/bert-badword-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update pytorch_model.bin
Browse files- pytorch_model.bin +3 -0
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9e682d2336bbc9791d0a1b12f2584452c89b810bdf1c2c1fb7debfcfd42ed41
|
| 3 |
+
size 435765065
|