Run this model with HF Jobs
Run mascIT/bert-tiny-ita-lemma-classification 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/mascIT/bert-tiny-ita-lemma-classification. 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/mascIT/bert-tiny-ita-lemma-classification 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 mascIT/bert-tiny-ita-lemma-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mascIT/bert-tiny-ita-lemma-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mascIT/bert-tiny-ita-lemma-classification")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mascIT/bert-tiny-ita-lemma-classification") model = AutoModelForSequenceClassification.from_pretrained("mascIT/bert-tiny-ita-lemma-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload BertForSequenceClassification
Browse filesFiles changed (2)
- config.jsonAdded+43
- pytorch_model.binAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243{ "_name_or_path": "mascIT/bert-tiny-ita", "architectures": [ "BertForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 128, "id2label": { "0": "AGG", "1": "VERBO_INTRANSITIVO", "2": "VERBO_TRANSITIVO", "3": "SOST_MASCHILE", "4": "SOST_FEMMINILE", "5": "AVVERBIO", "6": "AGG_SOSTANTIVATO" }, "initializer_range": 0.02, "intermediate_size": 512, "label2id": { "AGG": 0, "AGG_SOSTANTIVATO": 6, "AVVERBIO": 5, "SOST_FEMMINILE": 4, "SOST_MASCHILE": 3, "VERBO_INTRANSITIVO": 1, "VERBO_TRANSITIVO": 2 }, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "num_attention_heads": 2, "num_hidden_layers": 2, "pad_token_id": 0, "position_embedding_type": "absolute", "torch_dtype": "float32", "transformers_version": "4.34.0", "type_vocab_size": 2, "use_cache": true, "vocab_size": 20000}123version https://git-lfs.github.com/spec/v1oid sha256:b09ff027db5168d7881ea8fdc13d0e37532d0cfd4090195afc4c9b738b7bdcfcsize 12172908config.jsonAdded+43
pytorch_model.binAdded+3