Run this model with HF Jobs
Run AIWizards/MultiPRIDE-DualEncoder-MainStage-FT-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-MainStage-FT-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-MainStage-FT-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-MainStage-FT-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AIWizards/MultiPRIDE-DualEncoder-MainStage-FT-it with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AIWizards/MultiPRIDE-DualEncoder-MainStage-FT-it")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AIWizards/MultiPRIDE-DualEncoder-MainStage-FT-it") model = AutoModelForSequenceClassification.from_pretrained("AIWizards/MultiPRIDE-DualEncoder-MainStage-FT-it", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Luca Tedeschini commited on
MultiPRIDE-DualEncoder-MainStage-FT-it
Browse filesFiles changed (3)
- README.md+12-12
- model.safetensors+1-1
- training_args.bin+1-1
20 unmodified lines2122232425262728242526272829303115 unmodified lines474849505051525354555657585960616257585960616263646520 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.0658- Accuracy: 0.8896- F1: 0.7- Precision: 0.7241- Recall: 0.6774- Loss: 0.0244- Accuracy: 0.9202- F1: 0.8060- Precision: 0.75- Recall: 0.8710
## Model description
15 unmodified lines- learning_rate: 5e-06- train_batch_size: 8- eval_batch_size: 8- seed: 68- seed: 42- 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: 10
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall ||:-------------:|:-----:|:----:|:---------------:|:--------:|:---:|:---------:|:------:|| 0.0337 | 1.0 | 95 | 0.0640 | 0.8896 | 0.7 | 0.7241 | 0.6774 || 0.0282 | 2.0 | 190 | 0.0651 | 0.8896 | 0.7 | 0.7241 | 0.6774 || 0.0258 | 3.0 | 285 | 0.0658 | 0.8896 | 0.7 | 0.7241 | 0.6774 || 0.0434 | 4.0 | 380 | 0.0658 | 0.8896 | 0.7 | 0.7241 | 0.6774 || Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall ||:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|| 0.0219 | 1.0 | 95 | 0.0262 | 0.9202 | 0.8060 | 0.75 | 0.8710 || 0.0255 | 2.0 | 190 | 0.0251 | 0.9202 | 0.8060 | 0.75 | 0.8710 || 0.0278 | 3.0 | 285 | 0.0249 | 0.9202 | 0.8060 | 0.75 | 0.8710 || 0.0204 | 4.0 | 380 | 0.0244 | 0.9202 | 0.8060 | 0.75 | 0.8710 |
### Framework versions1223version https://git-lfs.github.com/spec/v1oid sha256:10bb1148f5031e9c7dca428e7f3d0f90a73c41bcca734d79ab360d5e7b860004oid sha256:dc83d2cc0651ed59d0228c5e0124353732928cf4044002fe3668f984b8156637size 4433063241223version https://git-lfs.github.com/spec/v1oid sha256:ca2b700aee44a078e0c5f4da63eba2ecc7ad23e075425b757baaba91e7b430b9oid sha256:a43904e7e0b36a0b6eea1540df0b26129de53c9270ff2cb55380dd96ebf49384size 5969README.md+12-12
model.safetensors+1-1
training_args.bin+1-1