Run this model with HF Jobs
Run Buseak/pos_tagger_mT5 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/Buseak/pos_tagger_mT5. 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/Buseak/pos_tagger_mT5 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 Buseak/pos_tagger_mT5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Buseak/pos_tagger_mT5 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Buseak/pos_tagger_mT5") model = AutoModelForSeq2SeqLM.from_pretrained("Buseak/pos_tagger_mT5", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse filesFiles changed (2)
- README.mdAdded+75
- generation_config.jsonAdded+6
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475---license: apache-2.0base_model: google/mt5-smalltags:- generated_from_trainermetrics:- bleumodel-index:- name: pos_tagger_mT5 results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# pos_tagger_mT5
This model is a fine-tuned version of [google/mt5-small](https://huggingface.co/google/mt5-small) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.2412- Bleu: 43.0091- Gen Len: 15.8396
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 4- eval_batch_size: 4- seed: 42- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- num_epochs: 15
### Training results
| Training Loss | Epoch | Step | Validation Loss | Bleu | Gen Len ||:-------------:|:-----:|:-----:|:---------------:|:-------:|:-------:|| 1.4428 | 1.0 | 1951 | 1.0474 | 5.7868 | 9.7778 || 1.1516 | 2.0 | 3902 | 0.9576 | 10.5757 | 12.2847 || 1.0597 | 3.0 | 5853 | 0.8899 | 13.9347 | 14.9239 || 0.9884 | 4.0 | 7804 | 0.8302 | 16.1689 | 15.3619 || 0.9326 | 5.0 | 9755 | 0.7601 | 18.7725 | 14.7579 || 0.8743 | 6.0 | 11706 | 0.6490 | 23.2392 | 15.3214 || 0.7841 | 7.0 | 13657 | 0.5002 | 30.4345 | 15.5328 || 0.6894 | 8.0 | 15608 | 0.4017 | 35.8055 | 15.7107 || 0.6169 | 9.0 | 17559 | 0.3348 | 39.2237 | 15.7143 || 0.5643 | 10.0 | 19510 | 0.2959 | 40.8199 | 15.7694 || 0.5362 | 11.0 | 21461 | 0.2716 | 41.8776 | 15.8021 || 0.515 | 12.0 | 23412 | 0.2573 | 42.4591 | 15.8157 || 0.4902 | 13.0 | 25363 | 0.2470 | 42.7953 | 15.8316 || 0.47 | 14.0 | 27314 | 0.2420 | 42.9749 | 15.8346 || 0.4635 | 15.0 | 29265 | 0.2412 | 43.0091 | 15.8396 |
### Framework versions
- Transformers 4.35.2- Pytorch 2.1.0+cu121- Datasets 2.16.1- Tokenizers 0.15.0123456{ "decoder_start_token_id": 0, "eos_token_id": 1, "pad_token_id": 0, "transformers_version": "4.35.2"}README.mdAdded+75
generation_config.jsonAdded+6