Text Classification
Transformers
TensorBoard
Safetensors
bert
HHD
10_class
multi_labels
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run baobaoS2/model_output 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/baobaoS2/model_output. 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/baobaoS2/model_output 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 baobaoS2/model_output with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use baobaoS2/model_output with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="baobaoS2/model_output")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("baobaoS2/model_output") model = AutoModelForSequenceClassification.from_pretrained("baobaoS2/model_output", device_map="auto") - Notebooks
- Google Colab
- Kaggle
baobaoS2
Browse filesFiles changed (10)
- README.mdAdded+66
- config.jsonAdded+56
- model.safetensorsAdded+3
- runs/Oct30_01-36-21_1417a630482b/events.out.tfevents.1730252759.1417a630482b.937.0Added+3
- runs/Oct30_01-50-00_1417a630482b/events.out.tfevents.1730253001.1417a630482b.937.1Added+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+57
- training_args.binAdded+3
- vocab.txtAdded
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566---library_name: transformerslicense: apache-2.0base_model: beomi/kcbert-basetags:- HHD- 10_class- multi_labels- generated_from_trainermodel-index:- name: model_output 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. -->
# model_output
This model is a fine-tuned version of [beomi/kcbert-base](https://huggingface.co/beomi/kcbert-base) on the unsmile_data dataset.It achieves the following results on the evaluation set:- Loss: 0.1400- Lrap: 0.8763
## 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: 64- eval_batch_size: 64- seed: 42- 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 | Lrap ||:-------------:|:-----:|:----:|:---------------:|:------:|| No log | 1.0 | 235 | 0.1265 | 0.8754 || No log | 2.0 | 470 | 0.1272 | 0.8764 || 0.1042 | 3.0 | 705 | 0.1300 | 0.8797 || 0.1042 | 4.0 | 940 | 0.1373 | 0.8779 || 0.0516 | 5.0 | 1175 | 0.1400 | 0.8763 |
### Framework versions
- Transformers 4.44.2- Pytorch 2.5.0+cu121- Datasets 3.0.2- Tokenizers 0.19.11234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "_name_or_path": "beomi/kcbert-base", "architectures": [ "BertForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "directionality": "bidi", "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "LABEL_0", "1": "LABEL_1", "2": "LABEL_2", "3": "LABEL_3", "4": "LABEL_4", "5": "LABEL_5", "6": "LABEL_6", "7": "LABEL_7", "8": "LABEL_8", "9": "LABEL_9" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "LABEL_0": 0, "LABEL_1": 1, "LABEL_2": 2, "LABEL_3": 3, "LABEL_4": 4, "LABEL_5": 5, "LABEL_6": 6, "LABEL_7": 7, "LABEL_8": 8, "LABEL_9": 9 }, "layer_norm_eps": 1e-12, "max_position_embeddings": 300, "model_type": "bert", "num_attention_heads": 12, "num_hidden_layers": 12, "pad_token_id": 0, "pooler_fc_size": 768, "pooler_num_attention_heads": 12, "pooler_num_fc_layers": 3, "pooler_size_per_head": 128, "pooler_type": "first_token_transform", "position_embedding_type": "absolute", "problem_type": "multi_label_classification", "torch_dtype": "float32", "transformers_version": "4.44.2", "type_vocab_size": 2, "use_cache": true, "vocab_size": 30000}123version https://git-lfs.github.com/spec/v1oid sha256:012ca9d5db96cc2ed824ac9698896f101cb1d7fb7da4c0fe145dd0deb39e1756size 435728400123version https://git-lfs.github.com/spec/v1oid sha256:d832f6de9b8f3b2f300a21c3779e5ab0be4d5754717c4b642aeee1b6d96bb46fsize 10970123version https://git-lfs.github.com/spec/v1oid sha256:8b7a419672fb3b837b288a236178f7a4b7fc60a0f0bff051c31f9954367cb5d9size 191011234567{ "cls_token": "[CLS]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ "added_tokens_decoder": { "0": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "4": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "clean_up_tokenization_spaces": true, "cls_token": "[CLS]", "do_basic_tokenize": true, "do_lower_case": false, "mask_token": "[MASK]", "model_max_length": 300, "never_split": null, "pad_token": "[PAD]", "sep_token": "[SEP]", "strip_accents": null, "tokenize_chinese_chars": true, "tokenizer_class": "BertTokenizer", "unk_token": "[UNK]"}123version https://git-lfs.github.com/spec/v1oid sha256:b0bb9c7f574571b35690229b5017c856acf5c0544326f9674d5760e8cf868832size 5176README.mdAdded+66
config.jsonAdded+56
model.safetensorsAdded+3
runs/Oct30_01-36-21_1417a630482b/events.out.tfevents.1730252759.1417a630482b.937.0Added+3
runs/Oct30_01-50-00_1417a630482b/events.out.tfevents.1730253001.1417a630482b.937.1Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+57
training_args.binAdded+3
vocab.txtAdded