Instructions to use TGA/TwitterTrNewsDetection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TGA/TwitterTrNewsDetection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="TGA/TwitterTrNewsDetection")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("TGA/TwitterTrNewsDetection") model = AutoModelForSequenceClassification.from_pretrained("TGA/TwitterTrNewsDetection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
3af365a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:4f365e5cc72dcc55a38e41b46c796c629e488e568c7c75a7196e7cc92f800ceb
size 737458541
|