Text Classification
Transformers
TensorBoard
Safetensors
bert
LMH
10_class
multi_label
Generated from Trainer
text-embeddings-inference
Run this model with HF Jobs
Run han745/1008model 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/han745/1008model. 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/han745/1008model 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 han745/1008model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use han745/1008model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="han745/1008model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("han745/1008model") model = AutoModelForSequenceClassification.from_pretrained("han745/1008model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
han745
Browse filesFiles changed (9)
- README.mdAdded+66
- config.jsonAdded+56
- model.safetensorsAdded+3
- runs/Oct08_02-07-17_1dbc24b6b71d/events.out.tfevents.1728353239.1dbc24b6b71d.721.0Added+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:- LMH- 10_class- multi_label- generated_from_trainermodel-index:- name: 1008model 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. -->
# 1008model
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.1303- Lrap: 0.8792
## 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.1455 | 0.8618 || No log | 2.0 | 470 | 0.1289 | 0.8725 || 0.1704 | 3.0 | 705 | 0.1236 | 0.8793 || 0.1704 | 4.0 | 940 | 0.1292 | 0.8778 || 0.0768 | 5.0 | 1175 | 0.1303 | 0.8792 |
### Framework versions
- Transformers 4.44.2- Pytorch 2.4.1+cu121- Datasets 3.0.1- 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:130ba6255cabc2edbcd4d31ae2f98a7414d1c38deaf77226c2f9102b3b15dcbfsize 435728400123version https://git-lfs.github.com/spec/v1oid sha256:83b01ea067a04e0300341bd02424a1d58413f65ee5f80ea1099b36bdf405ce2bsize 78781234567{ "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:399a3e0428e1fe6e5a8a6fda68157a27211dae52117ce3437b02adbe03098602size 5176README.mdAdded+66
config.jsonAdded+56
model.safetensorsAdded+3
runs/Oct08_02-07-17_1dbc24b6b71d/events.out.tfevents.1728353239.1dbc24b6b71d.721.0Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+57
training_args.binAdded+3
vocab.txtAdded