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")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files3 unmodified lines456789103 unmodified lines"BertForSequenceClassification"],"id2label": {0: "Human", 1: "AI"},"label2id": {"Human": 0, "AI": 1}"attention_probs_dropout_prob": 0.1,"classifier_dropout": null,"hidden_act": "gelu",3 unmodified lines456789103 unmodified lines"BertForSequenceClassification"],"id2label": {0: "Human", 1: "AI"},"label2id": {"Human": 0, "AI": 1},"attention_probs_dropout_prob": 0.1,"classifier_dropout": null,"hidden_act": "gelu",
config.json+1-1