Instructions to use cuongpp/bartpho-word-base-ed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cuongpp/bartpho-word-base-ed with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("cuongpp/bartpho-word-base-ed") model = AutoModelForSeq2SeqLM.from_pretrained("cuongpp/bartpho-word-base-ed", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from cuongpp/bartpho-word-base-ed: direct link, hf CLI and curl.
- Browser
- Download file 2.31 kB
-
https://huggingface.co/cuongpp/bartpho-word-base-ed/resolve/main/README.md
- Command line
-
hf download hf://cuongpp/bartpho-word-base-ed/README.md
-
curl -L -o README.md https://huggingface.co/cuongpp/bartpho-word-base-ed/resolve/main/README.md
2.31 kB
| base_model: vinai/bartpho-word-base | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: bartpho-word-base-ed | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # bartpho-word-base-ed | |
| This model is a fine-tuned version of [vinai/bartpho-word-base](https://huggingface.co/vinai/bartpho-word-base) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.0119 | |
| - F1 Micro: 0.7414 | |
| - Recall Micro: 0.6649 | |
| - Precision Micro: 0.8378 | |
| - F1 Macro: 0.1869 | |
| - Recall Macro: 0.1816 | |
| - Precision Macro: 0.1949 | |
| ## 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: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - gradient_accumulation_steps: 4 | |
| - total_train_batch_size: 32 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 5 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | F1 Micro | Recall Micro | Precision Micro | F1 Macro | Recall Macro | Precision Macro | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:|:------------:|:---------------:|:--------:|:------------:|:---------------:| | |
| | No log | 1.0 | 373 | 0.0156 | 0.7286 | 0.6544 | 0.8219 | 0.1709 | 0.1813 | 0.1667 | | |
| | 0.1321 | 2.0 | 746 | 0.0124 | 0.7387 | 0.6563 | 0.8448 | 0.1711 | 0.1599 | 0.1889 | | |
| | 0.0134 | 3.0 | 1119 | 0.0126 | 0.7290 | 0.6488 | 0.8319 | 0.1842 | 0.1897 | 0.1866 | | |
| | 0.0134 | 4.0 | 1492 | 0.0119 | 0.7490 | 0.6859 | 0.8248 | 0.1820 | 0.1644 | 0.2081 | | |
| | 0.0105 | 5.0 | 1865 | 0.0119 | 0.7414 | 0.6649 | 0.8378 | 0.1869 | 0.1816 | 0.1949 | | |
| ### Framework versions | |
| - Transformers 4.41.2 | |
| - Pytorch 2.3.0+cu121 | |
| - Datasets 2.20.0 | |
| - Tokenizers 0.19.1 | |