Run this model with HF Jobs
Run helliun/article_sent_pol on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/helliun/article_sent_pol. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/helliun/article_sent_pol on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use helliun/article_sent_pol with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use helliun/article_sent_pol with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="helliun/article_sent_pol")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("helliun/article_sent_pol") model = AutoModelForSequenceClassification.from_pretrained("helliun/article_sent_pol", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from helliun/article_sent_pol: direct link, hf CLI and curl.
- Browser
- Download file 587 Bytes
-
https://huggingface.co/helliun/article_sent_pol/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://helliun/article_sent_pol/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/helliun/article_sent_pol/resolve/main/tokenizer_config.json
587 Bytes
| { | |
| "cls_token": "[CLS]", | |
| "do_basic_tokenize": true, | |
| "do_lower_case": true, | |
| "mask_token": "[MASK]", | |
| "max_len": 512, | |
| "name_or_path": "nlptown/bert-base-multilingual-uncased-sentiment", | |
| "never_split": null, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "special_tokens_map_file": "/root/.cache/huggingface/transformers/ed85e7bfaa7dfcf9924004400478a6426fcab28d3e427960549371a1729115d1.dd8bd9bfd3664b530ea4e645105f557769387b3da9f79bdb55ed556bdd80611d", | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "unk_token": "[UNK]" | |
| } | |