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+10-10
- model.safetensors+1-1
- training_args.bin+1-1
20 unmodified lines2122232425262728242526272829303115 unmodified lines47484950505152532 unmodified lines565758596061625960616263646520 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.0441- Accuracy: 0.9141- F1: 0.7667- Precision: 0.7931- Recall: 0.7419- Loss: 0.0101- Accuracy: 0.9693- F1: 0.9180- Precision: 0.9333- Recall: 0.9032
## Model description
15 unmodified lines- learning_rate: 5e-06- train_batch_size: 8- eval_batch_size: 8- seed: 150- seed: 1337- 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.0489 | 1.0 | 95 | 0.0488 | 0.9141 | 0.7667 | 0.7931 | 0.7419 || 0.0524 | 2.0 | 190 | 0.0460 | 0.9141 | 0.7667 | 0.7931 | 0.7419 || 0.0517 | 3.0 | 285 | 0.0454 | 0.9141 | 0.7667 | 0.7931 | 0.7419 || 0.0514 | 4.0 | 380 | 0.0441 | 0.9141 | 0.7667 | 0.7931 | 0.7419 || 0.0264 | 1.0 | 95 | 0.0112 | 0.9693 | 0.9180 | 0.9333 | 0.9032 || 0.0283 | 2.0 | 190 | 0.0107 | 0.9693 | 0.9180 | 0.9333 | 0.9032 || 0.0293 | 3.0 | 285 | 0.0104 | 0.9693 | 0.9180 | 0.9333 | 0.9032 || 0.0267 | 4.0 | 380 | 0.0101 | 0.9693 | 0.9180 | 0.9333 | 0.9032 |
### Framework versions1223version https://git-lfs.github.com/spec/v1oid sha256:f83db89dacf847791b186060f24c646a544c659f7010b0a60c29cc5496db6222oid sha256:4cbc1f496c6d6ab8d2c7f63afc24969791183cd8e46ab06c7be2f9b86e4f1af7size 4433063241223version https://git-lfs.github.com/spec/v1oid sha256:e9c881ca738b5b4d45f921f07da26881068b85c150a9b3441b31abe8e7ee0220oid sha256:fc85d3004ca90d86ccd7877496d2a6d621f9c4257f0e1b0c0026d5b57b102d70size 5969README.md+10-10
model.safetensors+1-1
training_args.bin+1-1