Run this model with HF Jobs
Run AIWizards/MultiPRIDE-DualEncoder-LPFT-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-DualEncoder-LPFT-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-DualEncoder-LPFT-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-DualEncoder-LPFT-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AIWizards/MultiPRIDE-DualEncoder-LPFT-it with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AIWizards/MultiPRIDE-DualEncoder-LPFT-it")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AIWizards/MultiPRIDE-DualEncoder-LPFT-it") model = AutoModelForSequenceClassification.from_pretrained("AIWizards/MultiPRIDE-DualEncoder-LPFT-it", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Luca Tedeschini commited on
MultiPRIDE-DualEncoder-LPFT-it
Browse filesFiles changed (3)
- README.md+11-16
- model.safetensors+1-1
- training_args.bin+1-1
20 unmodified lines2122232425262728242526272829303115 unmodified lines47484950505152532 unmodified lines56575859606162636465666768596061626364656620 unmodified lines
This 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.0258- Accuracy: 0.9202- F1: 0.8060- Precision: 0.75- Recall: 0.8710- Loss: 0.0666- Accuracy: 0.8773- F1: 0.6970- Precision: 0.6571- Recall: 0.7419
## Model description
15 unmodified lines- learning_rate: 2e-05- train_batch_size: 8- eval_batch_size: 8- seed: 42- 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.1876 | 1.0 | 95 | 0.1464 | 0.8037 | 0.3043 | 0.4667 | 0.2258 || 0.1365 | 2.0 | 190 | 0.1072 | 0.8773 | 0.6667 | 0.6897 | 0.6452 || 0.112 | 3.0 | 285 | 0.0677 | 0.8957 | 0.7302 | 0.7188 | 0.7419 || 0.0535 | 4.0 | 380 | 0.0465 | 0.9141 | 0.7742 | 0.7742 | 0.7742 || 0.036 | 5.0 | 475 | 0.0335 | 0.8957 | 0.7385 | 0.7059 | 0.7742 || 0.0322 | 6.0 | 570 | 0.0299 | 0.9141 | 0.7879 | 0.7429 | 0.8387 || 0.0239 | 7.0 | 665 | 0.0274 | 0.9202 | 0.8060 | 0.75 | 0.8710 || 0.0275 | 8.0 | 760 | 0.0263 | 0.9202 | 0.8060 | 0.75 | 0.8710 || 0.0289 | 9.0 | 855 | 0.0259 | 0.9202 | 0.8060 | 0.75 | 0.8710 || 0.0206 | 10.0 | 950 | 0.0258 | 0.9202 | 0.8060 | 0.75 | 0.8710 || 0.1757 | 1.0 | 95 | 0.1019 | 0.8160 | 0.6154 | 0.5106 | 0.7742 || 0.0839 | 2.0 | 190 | 0.0634 | 0.8896 | 0.7097 | 0.7097 | 0.7097 || 0.0433 | 3.0 | 285 | 0.0606 | 0.8650 | 0.6667 | 0.6286 | 0.7097 || 0.0284 | 4.0 | 380 | 0.0659 | 0.8650 | 0.6765 | 0.6216 | 0.7419 || 0.0237 | 5.0 | 475 | 0.0666 | 0.8773 | 0.6970 | 0.6571 | 0.7419 |
### Framework versions1223version https://git-lfs.github.com/spec/v1oid sha256:3f6ae44e96c27fb3e0cfebb87ea640b968661c726f7a3676d5b0db410a4bbfcdoid sha256:368a7060eb2734a3002384163fa1543f4b5a601c3066359f79cd91c3ea39e139size 4433063241223version https://git-lfs.github.com/spec/v1oid sha256:d18f333459043645aa8879f45aef0eadf91e82cd2a6e431bad0fc2ecd578220foid sha256:29e9b72d2bc94c3201dc981a24d317f970d6af186733170f9e9546dfba89c9c5size 5969README.md+11-16
model.safetensors+1-1
training_args.bin+1-1