Run this model with HF Jobs
Run M47Labs/it_iptc 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/M47Labs/it_iptc. 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/M47Labs/it_iptc 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 M47Labs/it_iptc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use M47Labs/it_iptc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="M47Labs/it_iptc")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("M47Labs/it_iptc") model = AutoModelForSequenceClassification.from_pretrained("M47Labs/it_iptc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
e9fc9a2
1
Parent(s): 1d957a6
first commit
Browse filesFiles changed (6)
- config.jsonAdded+63
- pytorch_model.binAdded+3
- special_tokens_map.jsonAdded+1
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+1
- vocab.txtAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ "_name_or_path": "dbmdz/bert-base-italian-xxl-uncased", "architectures": [ "BertForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "arts/culture/entertainment and media", "1": "conflict/war and peace", "2": "crime/law and justice", "3": "disaster/accident and emergency incident", "4": "economy/business and finance", "5": "education", "6": "environment", "7": "health", "8": "human interest", "9": "labour", "10": "lifestyle and leisure", "11": "politics", "12": "religion and belief", "13": "science and technology", "14": "society", "15": "sport", "16": "weather" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "arts/culture/entertainment and media": 0, "conflict/war and peace": 1, "crime/law and justice": 2, "disaster/accident and emergency incident": 3, "economy/business and finance": 4, "education": 5, "environment": 6, "health": 7, "human interest": 8, "labour": 9, "lifestyle and leisure": 10, "politics": 11, "religion and belief": 12, "science and technology": 13, "society": 14, "sport": 15, "weather": 16 }, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 0, "position_embedding_type": "absolute", "torch_dtype": "float32", "transformers_version": "4.11.3", "type_vocab_size": 2, "use_cache": true, "vocab_size": 32102}123version https://git-lfs.github.com/spec/v1oid sha256:de81d4de6392121583b9d25a6830287c1e47ffa665ba125d9695e54b8520ae35size 4429191491{"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}1{"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "max_len": 512, "special_tokens_map_file": null, "name_or_path": "dbmdz/bert-base-italian-xxl-uncased", "do_basic_tokenize": true, "never_split": null, "tokenizer_class": "BertTokenizer"}config.jsonAdded+63
pytorch_model.binAdded+3
special_tokens_map.jsonAdded+1
tokenizer.jsonAdded
tokenizer_config.jsonAdded+1
vocab.txtAdded