Instructions to use AyoubChLin/bert_cnn_news with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AyoubChLin/bert_cnn_news with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AyoubChLin/bert_cnn_news")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AyoubChLin/bert_cnn_news") model = AutoModelForSequenceClassification.from_pretrained("AyoubChLin/bert_cnn_news", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (86a400047eedb9ed7f22b8f4109511c7f8621efe) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>8d2d2b7
-
Update README.md
9658a2a -
Update config.json
d20da6b -
Update README.md
87c7fd8 -
Update README.md
e282d16 -
Upload tokenizer
010c788 -
Upload BertForSequenceClassification
4d5d7e3
-
Upload bert-base-cnn-news with huggingface_hub
1b6c5e9
-
initial commit
965298a