Instructions to use mankra/mini_text_classification_finetune_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mankra/mini_text_classification_finetune_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mankra/mini_text_classification_finetune_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mankra/mini_text_classification_finetune_model") model = AutoModelForSequenceClassification.from_pretrained("mankra/mini_text_classification_finetune_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from mankra/mini_text_classification_finetune_model: direct link, hf CLI and curl.
- Browser
- Download file 3.21 kB
-
https://huggingface.co/mankra/mini_text_classification_finetune_model/resolve/main/README.md
- Command line
-
hf download hf://mankra/mini_text_classification_finetune_model/README.md
-
curl -L -o README.md https://huggingface.co/mankra/mini_text_classification_finetune_model/resolve/main/README.md
3.21 kB
| license: mit | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: mini_text_classification_finetune_model | |
| 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. --> | |
| # mini_text_classification_finetune_model | |
| This model is a fine-tuned version of [microsoft/Multilingual-MiniLM-L12-H384](https://huggingface.co/microsoft/Multilingual-MiniLM-L12-H384) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 1.2095 | |
| - Accuracy: 0.3333 | |
| ## 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: 16 | |
| - eval_batch_size: 16 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 30 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:| | |
| | No log | 1.0 | 1 | 1.3045 | 0.3333 | | |
| | No log | 2.0 | 2 | 1.2998 | 0.3333 | | |
| | No log | 3.0 | 3 | 1.2947 | 0.3333 | | |
| | No log | 4.0 | 4 | 1.2899 | 0.3333 | | |
| | No log | 5.0 | 5 | 1.2851 | 0.3333 | | |
| | No log | 6.0 | 6 | 1.2809 | 0.3333 | | |
| | No log | 7.0 | 7 | 1.2766 | 0.3333 | | |
| | No log | 8.0 | 8 | 1.2721 | 0.3333 | | |
| | No log | 9.0 | 9 | 1.2684 | 0.3333 | | |
| | No log | 10.0 | 10 | 1.2645 | 0.3333 | | |
| | No log | 11.0 | 11 | 1.2607 | 0.3333 | | |
| | No log | 12.0 | 12 | 1.2567 | 0.3333 | | |
| | No log | 13.0 | 13 | 1.2528 | 0.3333 | | |
| | No log | 14.0 | 14 | 1.2490 | 0.3333 | | |
| | No log | 15.0 | 15 | 1.2451 | 0.3333 | | |
| | No log | 16.0 | 16 | 1.2413 | 0.3333 | | |
| | No log | 17.0 | 17 | 1.2377 | 0.3333 | | |
| | No log | 18.0 | 18 | 1.2342 | 0.3333 | | |
| | No log | 19.0 | 19 | 1.2307 | 0.3333 | | |
| | No log | 20.0 | 20 | 1.2275 | 0.3333 | | |
| | No log | 21.0 | 21 | 1.2244 | 0.3333 | | |
| | No log | 22.0 | 22 | 1.2215 | 0.3333 | | |
| | No log | 23.0 | 23 | 1.2190 | 0.3333 | | |
| | No log | 24.0 | 24 | 1.2167 | 0.3333 | | |
| | No log | 25.0 | 25 | 1.2147 | 0.3333 | | |
| | No log | 26.0 | 26 | 1.2130 | 0.3333 | | |
| | No log | 27.0 | 27 | 1.2116 | 0.3333 | | |
| | No log | 28.0 | 28 | 1.2105 | 0.3333 | | |
| | No log | 29.0 | 29 | 1.2098 | 0.3333 | | |
| | No log | 30.0 | 30 | 1.2095 | 0.3333 | | |
| ### Framework versions | |
| - Transformers 4.30.2 | |
| - Pytorch 2.0.1+cu118 | |
| - Datasets 2.13.1 | |
| - Tokenizers 0.13.3 | |