Text Classification
Transformers
Safetensors
English
bert
fake_news_detection
minilm
text-embeddings-inference
Instructions to use Kami0867/MiniLM-FakeNEWS-Detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Kami0867/MiniLM-FakeNEWS-Detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Kami0867/MiniLM-FakeNEWS-Detection")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Kami0867/MiniLM-FakeNEWS-Detection") model = AutoModelForSequenceClassification.from_pretrained("Kami0867/MiniLM-FakeNEWS-Detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Kami0867/MiniLM-FakeNEWS-Detection")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Kami0867/MiniLM-FakeNEWS-Detection")
model = AutoModelForSequenceClassification.from_pretrained("Kami0867/MiniLM-FakeNEWS-Detection", device_map="auto")Quick Links
README.md exists but content is empty.
- Downloads last month
- -
Model tree for Kami0867/MiniLM-FakeNEWS-Detection
Base model
microsoft/MiniLM-L12-H384-uncased
# Gated model: Login with a HF token with gated access permission hf auth login