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+11-10
- model.safetensors+1-1
- training_args.bin+1-1
20 unmodified lines2122232425262728242526272829303115 unmodified lines47484950505152532 unmodified lines56575859606162596061626364656620 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.0244- Accuracy: 0.9202- F1: 0.8060- Precision: 0.75- Recall: 0.8710- Loss: 0.0596- Accuracy: 0.8896- F1: 0.7188- Precision: 0.6970- Recall: 0.7419
## Model description
15 unmodified lines- learning_rate: 5e-06- 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.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 || 0.0424 | 1.0 | 95 | 0.0613 | 0.8834 | 0.6984 | 0.6875 | 0.7097 || 0.0341 | 2.0 | 190 | 0.0604 | 0.8896 | 0.7188 | 0.6970 | 0.7419 || 0.0437 | 3.0 | 285 | 0.0604 | 0.8896 | 0.7188 | 0.6970 | 0.7419 || 0.0374 | 4.0 | 380 | 0.0595 | 0.8896 | 0.7188 | 0.6970 | 0.7419 || 0.0338 | 5.0 | 475 | 0.0596 | 0.8896 | 0.7188 | 0.6970 | 0.7419 |
### Framework versions1223version https://git-lfs.github.com/spec/v1oid sha256:dc83d2cc0651ed59d0228c5e0124353732928cf4044002fe3668f984b8156637oid sha256:4a07156f51a9e1ec69086daff345bcfb0bc8a5cc42c75b6cc5d159c08061b1fdsize 4433063241223version https://git-lfs.github.com/spec/v1oid sha256:a43904e7e0b36a0b6eea1540df0b26129de53c9270ff2cb55380dd96ebf49384oid sha256:6deb231eedea9933764ed914e3da94b34d3846611603314ff69af046fbed8a43size 5969README.md+11-10
model.safetensors+1-1
training_args.bin+1-1