Run this model with HF Jobs
Run AIWizards/MultiPRIDE-LGBT-Pretrain-it 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/AIWizards/MultiPRIDE-LGBT-Pretrain-it. 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/AIWizards/MultiPRIDE-LGBT-Pretrain-it 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 AIWizards/MultiPRIDE-LGBT-Pretrain-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AIWizards/MultiPRIDE-LGBT-Pretrain-it with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AIWizards/MultiPRIDE-LGBT-Pretrain-it")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AIWizards/MultiPRIDE-LGBT-Pretrain-it") model = AutoModelForSequenceClassification.from_pretrained("AIWizards/MultiPRIDE-LGBT-Pretrain-it", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Luca Tedeschini commited on
MultiPRIDE-LGBT-Pretrain-it
Browse filesFiles changed (3)
- README.md+14-11
- model.safetensors+1-1
- training_args.bin+1-1
20 unmodified lines212223242526272829303115 unmodified lines474849505152532 unmodified lines565758596061626364656620 unmodified linesThis model is a fine-tuned version of [nickprock/setfit-italian-hate-speech](https://huggingface.co/nickprock/setfit-italian-hate-speech) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.1991- Accuracy: 0.7607- F1: 0.8- Precision: 0.8125- Recall: 0.7879## Model description15 unmodified lines- learning_rate: 2e-05- train_batch_size: 8- eval_batch_size: 8- seed: 85- optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 102 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|| 0.1634 | 1.0 | 95 | 0.1197 | 0.7178 | 0.7653 | 0.7732 | 0.7576 || 0.1046 | 2.0 | 190 | 0.1295 | 0.7669 | 0.8137 | 0.7905 | 0.8384 || 0.031 | 3.0 | 285 | 0.1493 | 0.7178 | 0.7629 | 0.7789 | 0.7475 || 0.0158 | 4.0 | 380 | 0.1701 | 0.7362 | 0.7839 | 0.78 | 0.7879 || 0.0021 | 5.0 | 475 | 0.1991 | 0.7607 | 0.8 | 0.8125 | 0.7879 |### Framework versions20 unmodified lines212223242526272829303115 unmodified lines474849505152532 unmodified lines565758596061626364656667686920 unmodified linesThis model is a fine-tuned version of [nickprock/setfit-italian-hate-speech](https://huggingface.co/nickprock/setfit-italian-hate-speech) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.1855- Accuracy: 0.7669- F1: 0.81- Precision: 0.8020- Recall: 0.8182## Model description15 unmodified lines- learning_rate: 2e-05- train_batch_size: 8- eval_batch_size: 8- seed: 150- optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 102 unmodified lines| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|| 0.1659 | 1.0 | 95 | 0.1178 | 0.6994 | 0.7066 | 0.8676 | 0.5960 || 0.0871 | 2.0 | 190 | 0.1135 | 0.7362 | 0.7650 | 0.8333 | 0.7071 || 0.0356 | 3.0 | 285 | 0.1231 | 0.7178 | 0.7356 | 0.8533 | 0.6465 || 0.007 | 4.0 | 380 | 0.1414 | 0.7546 | 0.8077 | 0.7706 | 0.8485 || 0.0021 | 5.0 | 475 | 0.1829 | 0.7607 | 0.8134 | 0.7727 | 0.8586 || 0.0004 | 6.0 | 570 | 0.1654 | 0.7423 | 0.7879 | 0.7879 | 0.7879 || 0.0001 | 7.0 | 665 | 0.1950 | 0.7546 | 0.8039 | 0.7810 | 0.8283 || 0.0001 | 8.0 | 760 | 0.1855 | 0.7669 | 0.81 | 0.8020 | 0.8182 |### Framework versions
123version https://git-lfs.github.com/spec/v1oid sha256:d2e985e257a9bf70273e9539bc45e392ef2b4808ea8ef241677ccfa6df02ff3bsize 439740408123version https://git-lfs.github.com/spec/v1oid sha256:62d40017291dbdec3f93e354b0b09f05a72af1c43aebdf1ab59f302759f8a878size 439740408
123version https://git-lfs.github.com/spec/v1oid sha256:fc7acdb78e0c09238a72ffab4b414f30bc5b0bddbc08722013adb1b34b3c8295size 5969123version https://git-lfs.github.com/spec/v1oid sha256:fee34ce42bf5247b444b01f93b5bd5d5dd1d31e4e3a00467be22483431b25757size 5969
README.md+14-11
model.safetensors+1-1
training_args.bin+1-1