Text Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
text-embeddings-inference
Instructions to use hohorong/tool_choose2_micro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hohorong/tool_choose2_micro with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hohorong/tool_choose2_micro")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hohorong/tool_choose2_micro") model = AutoModelForSequenceClassification.from_pretrained("hohorong/tool_choose2_micro", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| license: apache-2.0 | |
| base_model: bert-base-multilingual-cased | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: tool_choose2_micro | |
| 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. --> | |
| # tool_choose2_micro | |
| This model is a fine-tuned version of [bert-base-multilingual-cased](https://huggingface.co/bert-base-multilingual-cased) on the None dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.1521 | |
| - Micro f1: 0.4078 | |
| - Macro f1: 0.1041 | |
| ## 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: 3e-05 | |
| - train_batch_size: 4 | |
| - eval_batch_size: 16 | |
| - seed: 1000 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: constant | |
| - num_epochs: 1 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Micro f1 | Macro f1 | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:| | |
| | 0.2306 | 1.0 | 223 | 0.1521 | 0.4078 | 0.1041 | | |
| ### Framework versions | |
| - Transformers 4.35.0 | |
| - Pytorch 2.1.0+cu118 | |
| - Datasets 2.14.6 | |
| - Tokenizers 0.14.1 | |