Text Classification
Transformers
Safetensors
English
distilbert
fake
real
news
text-embeddings-inference
Instructions to use KenLumod/ML-Project-DistilBERT-Fake-and-Real-Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KenLumod/ML-Project-DistilBERT-Fake-and-Real-Classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="KenLumod/ML-Project-DistilBERT-Fake-and-Real-Classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("KenLumod/ML-Project-DistilBERT-Fake-and-Real-Classifier") model = AutoModelForSequenceClassification.from_pretrained("KenLumod/ML-Project-DistilBERT-Fake-and-Real-Classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signaturef8a5428 -
Update README.md
Verified signatured615307 -
Update README.md
Verified signatureb73f1e8 -
Create README.md
Verified signature95c61d3 -
Upload folder using huggingface_hub
Verified signature8ef5f5d -
initial commit
Verified signature1bfa201