Instructions to use andythetechnerd03/BERT-tiny_AI-Human with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use andythetechnerd03/BERT-tiny_AI-Human with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="andythetechnerd03/BERT-tiny_AI-Human")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("andythetechnerd03/BERT-tiny_AI-Human") model = AutoModelForSequenceClassification.from_pretrained("andythetechnerd03/BERT-tiny_AI-Human") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -25,5 +25,5 @@
|
|
| 25 |
"vocab_size": 30522,
|
| 26 |
"id2label": [
|
| 27 |
"Human",
|
| 28 |
-
"AI"
|
| 29 |
}
|
|
|
|
| 25 |
"vocab_size": 30522,
|
| 26 |
"id2label": [
|
| 27 |
"Human",
|
| 28 |
+
"AI"]
|
| 29 |
}
|