Token Classification
Transformers
Safetensors
Turkish
privacy_filter
privacy
pii
kvkk
turkish
named-entity-recognition
data-redaction
privacy-filter
runeward
Instructions to use curiositytech/runeward-kvkk-filter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use curiositytech/runeward-kvkk-filter with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="curiositytech/runeward-kvkk-filter")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("curiositytech/runeward-kvkk-filter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download finetune_summary.json from curiositytech/runeward-kvkk-filter: direct link, hf CLI and curl.
- Browser
- Download file 2.62 kB
-
https://huggingface.co/curiositytech/runeward-kvkk-filter/resolve/main/finetune_summary.json
- Command line
-
hf download hf://curiositytech/runeward-kvkk-filter/finetune_summary.json
-
curl -L -o finetune_summary.json https://huggingface.co/curiositytech/runeward-kvkk-filter/resolve/main/finetune_summary.json
2.62 kB
| { | |
| "artifacts": { | |
| "config_json": "/content/kvkk_privacy_filter/checkpoints/runeward-kvkk-filter/config.json", | |
| "model_safetensors": "/content/kvkk_privacy_filter/checkpoints/runeward-kvkk-filter/model.safetensors", | |
| "summary_json": "/content/kvkk_privacy_filter/checkpoints/runeward-kvkk-filter/finetune_summary.json" | |
| }, | |
| "base_checkpoint": "/root/.opf/privacy_filter", | |
| "batch_size": 4, | |
| "best_epoch": 1, | |
| "best_metric": 0.48707335321822814, | |
| "best_metric_name": "validation_loss", | |
| "checkpoint_category_version": "v2", | |
| "device": "cuda", | |
| "elapsed_s": 144.99954116400022, | |
| "encoding": "o200k_base", | |
| "epoch_metrics": [ | |
| { | |
| "elapsed_s": 133.80282421100037, | |
| "epoch": 1, | |
| "optimizer_steps": 1083, | |
| "train_batches": 1083, | |
| "train_loss": 0.6570545906167135, | |
| "train_token_accuracy": 0.882782038185402, | |
| "train_tokens": 69503, | |
| "validation_batches": 136, | |
| "validation_loss": 0.48707335321822814, | |
| "validation_token_accuracy": 0.909714826647734, | |
| "validation_tokens": 8451 | |
| } | |
| ], | |
| "epochs": 1, | |
| "generated_at_unix": 1778480770.1660557, | |
| "grad_accum_steps": 1, | |
| "label_space_json_path": "/content/kvkk_privacy_filter/data/kvkk_label_space.json", | |
| "label_space_source": "label-space-json", | |
| "learning_rate": 1e-05, | |
| "max_grad_norm": 1.0, | |
| "num_output_labels": 89, | |
| "num_train_examples": 4330, | |
| "num_train_windows": 4330, | |
| "num_validation_examples": 541, | |
| "num_validation_windows": 541, | |
| "output_checkpoint_dir": "/content/kvkk_privacy_filter/checkpoints/runeward-kvkk-filter", | |
| "output_head_reinitialized": true, | |
| "output_head_rows_copied": 89, | |
| "output_head_rows_copied_exact": 33, | |
| "output_head_rows_copied_fallback": 56, | |
| "resolved_category_version": "kvkk_tr_v1", | |
| "resolved_n_ctx": 128000, | |
| "schema_version": 1, | |
| "serialized_param_dtype": "bfloat16", | |
| "span_class_names": [ | |
| "O", | |
| "private_person", | |
| "private_email", | |
| "private_phone", | |
| "private_address", | |
| "private_date", | |
| "private_url", | |
| "account_number", | |
| "secret", | |
| "tckn", | |
| "iban", | |
| "tax_number", | |
| "passport_number", | |
| "license_plate", | |
| "credit_card", | |
| "health_data", | |
| "biometric_data", | |
| "genetic_data", | |
| "religion_or_belief", | |
| "political_opinion", | |
| "union_membership", | |
| "criminal_record", | |
| "child_data" | |
| ], | |
| "train_dataset": "/content/kvkk_privacy_filter/data/train_opf.jsonl", | |
| "train_dataset_variant": "full", | |
| "validation_dataset": "/content/kvkk_privacy_filter/data/validation_opf.jsonl", | |
| "validation_dataset_variant": "full", | |
| "validation_split": null, | |
| "weight_decay": 0.01 | |
| } | |