narcolepticchicken commited on
Commit
d5b0f64
·
verified ·
1 Parent(s): 6d724f3

Sidecar NER: fax + cc_last4 + contact_block

Browse files
Files changed (2) hide show
  1. README.md +61 -15
  2. model.safetensors +1 -1
README.md CHANGED
@@ -1,26 +1,72 @@
1
  ---
 
 
 
2
  tags:
3
- - ml-intern
 
 
 
 
 
 
 
 
4
  ---
5
 
6
- # narcolepticchicken/privacy-filter-sidecar-bert
 
7
 
8
- <!-- ml-intern-provenance -->
9
- ## Generated by ML Intern
10
 
11
- This model repository was generated by [ML Intern](https://github.com/huggingface/ml-intern), an agent for machine learning research and development on the Hugging Face Hub.
 
 
 
 
 
 
12
 
13
- - Try ML Intern: https://smolagents-ml-intern.hf.space
14
- - Source code: https://github.com/huggingface/ml-intern
15
 
16
- ## Usage
17
 
18
- ```python
19
- from transformers import AutoModelForCausalLM, AutoTokenizer
20
 
21
- model_id = 'narcolepticchicken/privacy-filter-sidecar-bert'
22
- tokenizer = AutoTokenizer.from_pretrained(model_id)
23
- model = AutoModelForCausalLM.from_pretrained(model_id)
24
- ```
25
 
26
- For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-base-uncased
5
  tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - precision
9
+ - recall
10
+ - f1
11
+ - accuracy
12
+ model-index:
13
+ - name: privacy-filter-sidecar-bert
14
+ results: []
15
  ---
16
 
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
 
20
+ # privacy-filter-sidecar-bert
 
21
 
22
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0021
25
+ - Precision: 0.9795
26
+ - Recall: 0.9832
27
+ - F1: 0.9814
28
+ - Accuracy: 0.9997
29
 
30
+ ## Model description
 
31
 
32
+ More information needed
33
 
34
+ ## Intended uses & limitations
 
35
 
36
+ More information needed
 
 
 
37
 
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 32
49
+ - eval_batch_size: 32
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - lr_scheduler_warmup_steps: 0.1
54
+ - num_epochs: 5
55
+ - mixed_precision_training: Native AMP
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
60
+ |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:|
61
+ | 0.0028 | 1.0 | 313 | 0.0021 | 0.9790 | 0.9832 | 0.9811 | 0.9996 |
62
+ | 0.0014 | 2.0 | 626 | 0.0020 | 0.9816 | 0.9837 | 0.9826 | 0.9997 |
63
+ | 0.0003 | 3.0 | 939 | 0.0020 | 0.9775 | 0.9821 | 0.9798 | 0.9996 |
64
+ | 0.0003 | 4.0 | 1252 | 0.0021 | 0.9795 | 0.9832 | 0.9814 | 0.9997 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 5.8.0
70
+ - Pytorch 2.11.0+cu130
71
+ - Datasets 4.8.5
72
+ - Tokenizers 0.22.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:247e017026eec56225c0d5d24dfb7c4a647fbe420185401ba02f21db1881a699
3
  size 435611444
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46f17b871618448b33853b4e26466f31984a549b069efb912ac19decb6e14599
3
  size 435611444