clause_model
Browse filesFiles changed (9)
- README.mdAdded+71
- config.jsonAdded+128
- model.safetensorsAdded+3
- runs/Aug22_11-13-21_978f4495e191/events.out.tfevents.1724325208.978f4495e191.379.0Added+3
- special_tokens_map.jsonAdded+7
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+57
- training_args.binAdded+3
- vocab.txtAdded
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071---license: cc-by-sa-4.0base_model: nlpaueb/bert-base-uncased-contractstags:- generated_from_trainermetrics:- accuracymodel-index:- name: clause_model 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. -->
# clause_model
This model is a fine-tuned version of [nlpaueb/bert-base-uncased-contracts](https://huggingface.co/nlpaueb/bert-base-uncased-contracts) on the None dataset.It achieves the following results on the evaluation set:- Loss: 0.5961- Accuracy: 0.8955
## 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- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08- lr_scheduler_type: linear- lr_scheduler_warmup_steps: 500- num_epochs: 10- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:-----:|:----:|:---------------:|:--------:|| 3.0237 | 1.0 | 883 | 0.9479 | 0.7783 || 0.6024 | 2.0 | 1766 | 0.5360 | 0.8713 || 0.2674 | 3.0 | 2649 | 0.5095 | 0.8866 || 0.1629 | 4.0 | 3532 | 0.5706 | 0.8904 || 0.1027 | 5.0 | 4415 | 0.5767 | 0.8866 || 0.0724 | 6.0 | 5298 | 0.5502 | 0.8955 || 0.0646 | 7.0 | 6181 | 0.5825 | 0.8917 || 0.0458 | 8.0 | 7064 | 0.6150 | 0.8981 || 0.0359 | 9.0 | 7947 | 0.5936 | 0.8955 || 0.0268 | 10.0 | 8830 | 0.5961 | 0.8955 |
### Framework versions
- Transformers 4.42.4- Pytorch 2.3.1+cu121- Datasets 2.21.0- Tokenizers 0.19.1123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128{ "_name_or_path": "nlpaueb/bert-base-uncased-contracts", "architectures": [ "BertForSequenceClassification" ], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "eos_token_ids": null, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "Governing Law", "1": "Competitive Restriction Exception", "2": "Non-Compete", "3": "Exclusivity", "4": "No-Solicit Of Customers", "5": "No-Solicit Of Employees", "6": "Non-Disparagement", "7": "Rofr/Rofo/Rofn", "8": "Change Of Control", "9": "Revenue/Profit Sharing", "10": "Price Restrictions", "11": "Minimum Commitment", "12": "Ip Ownership Assignment", "13": "Joint Ip Ownership", "14": "License Grant", "15": "Irrevocable Or Perpetual License", "16": "Source Code Escrow", "17": "Post-Termination Services", "18": "Uncapped Liability", "19": "Cap On Liability", "20": "Liquidated Damages", "21": "Warranty Duration", "22": "Insurance", "23": "Covenant Not To Sue", "24": "Severability", "25": "Indemnification", "26": "Waiver", "27": "Compensation", "28": "Confidentiality", "29": "Termination", "30": "Arbitration", "31": "Force Majeure", "32": "Definition", "33": "Survival", "34": "Assignment", "35": "Dispute Resolution", "36": "Audits", "37": "Security Deposit", "38": "Breach", "39": "Intellectual Property Rights", "40": "Obligations", "41": "Exclusion from Confidentiality", "42": "Ownership of Confidential Information", "43": "Legal Obligation to Disclose", "44": "No Binding", "45": "Return of Information", "46": "Permitted Use of Information", "47": "Others" }, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": { "Arbitration": 30, "Assignment": 34, "Audits": 36, "Breach": 38, "Cap On Liability": 19, "Change Of Control": 8, "Compensation": 27, "Competitive Restriction Exception": 1, "Confidentiality": 28, "Covenant Not To Sue": 23, "Definition": 32, "Dispute Resolution": 35, "Exclusion from Confidentiality": 41, "Exclusivity": 3, "Force Majeure": 31, "Governing Law": 0, "Indemnification": 25, "Insurance": 22, "Intellectual Property Rights": 39, "Ip Ownership Assignment": 12, "Irrevocable Or Perpetual License": 15, "Joint Ip Ownership": 13, "Legal Obligation to Disclose": 43, "License Grant": 14, "Liquidated Damages": 20, "Minimum Commitment": 11, "No Binding": 44, "No-Solicit Of Customers": 4, "No-Solicit Of Employees": 5, "Non-Compete": 2, "Non-Disparagement": 6, "Obligations": 40, "Others": 47, "Ownership of Confidential Information": 42, "Permitted Use of Information": 46, "Post-Termination Services": 17, "Price Restrictions": 10, "Return of Information": 45, "Revenue/Profit Sharing": 9, "Rofr/Rofo/Rofn": 7, "Security Deposit": 37, "Severability": 24, "Source Code Escrow": 16, "Survival": 33, "Termination": 29, "Uncapped Liability": 18, "Waiver": 26, "Warranty Duration": 21 }, "layer_norm_eps": 1e-12, "max_position_embeddings": 512, "model_type": "bert", "num_attention_heads": 12, "num_hidden_layers": 12, "output_past": true, "pad_token_id": null, "position_embedding_type": "absolute", "problem_type": "single_label_classification", "torch_dtype": "float32", "transformers_version": "4.42.4", "type_vocab_size": 2, "use_cache": true, "vocab_size": 30522}123version https://git-lfs.github.com/spec/v1oid sha256:43849f87c40991651f9e1b3d6d4877538ec8f35e5ecab50f2e92ce37c4ea8c2dsize 438100144123version https://git-lfs.github.com/spec/v1oid sha256:12b3b5b56e87fab89362f329f740f7299f5043f11192818cfe3c952920de8168size 148951234567{ "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 }, "100": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "101": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "102": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "103": { "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": true, "mask_token": "[MASK]", "model_max_length": 512, "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:182a5f1499c0fdd349a826342f7140f0442743da1657ba369e5a1672f8ee3484size 5112README.mdAdded+71
config.jsonAdded+128
model.safetensorsAdded+3
runs/Aug22_11-13-21_978f4495e191/events.out.tfevents.1724325208.978f4495e191.379.0Added+3
special_tokens_map.jsonAdded+7
tokenizer.jsonAdded
tokenizer_config.jsonAdded+57
training_args.binAdded+3
vocab.txtAdded