Instructions to use Softechlb/articles_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Softechlb/articles_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Softechlb/articles_classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Softechlb/articles_classification") model = AutoModelForSequenceClassification.from_pretrained("Softechlb/articles_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 371 Bytes
58567f4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"add_prefix_space": false,
"bos_token": "<s>",
"cls_token": "<s>",
"eos_token": "</s>",
"errors": "replace",
"mask_token": "<mask>",
"model_max_length": 1000000000000000019884624838656,
"pad_token": "<pad>",
"sep_token": "</s>",
"special_tokens_map_file": null,
"tokenizer_class": "BartTokenizer",
"trim_offsets": true,
"unk_token": "<unk>"
}
|