Upload folder using huggingface_hub
Browse filesFiles changed (8)
- AGENT12_MODEL_CARD.mdAdded+22
- agent12_metrics.jsonAdded+65
- config.jsonAdded+46
- generation_config.jsonAdded+264
- model.safetensorsAdded+3
- processor_config.jsonAdded+17
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+127
12345678910111213141516171819202122
# Agent 12 — Whisper Scam Call Transcription
Base model: `openai/whisper-small`
Final production model source: `unmodified_pretrained_base_checkpoint`
LoRA training success: `False`
Baseline WER: `3.8692307692307693`
Adapted WER: `None`
CTranslate2 int8 export success: `True`
## Data note
This notebook creates synthetic Hinglish scam-call TTS/placeholder audio when real labeled audio is unavailable. This is bootstrap-only and must not replace real scam-call validation.
## Fallback policy
If LoRA adaptation does not improve WER, production export falls back to the unmodified pretrained Whisper checkpoint.1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "agent_id": "agent_12", "agent_name": "Whisper Scam Call Transcription", "created_at_utc": "2026-07-03T23:30:00.904381Z", "base_model_name": "openai/whisper-small", "final_model_source": "unmodified_pretrained_base_checkpoint", "used_lora_adaptation": false, "lora_training_success": false, "lora_error": "ImportError('Found an incompatible version of torchao. Found version 0.10.0, but only versions above 0.16.0 are supported')", "merge_error": null, "baseline_wer": 3.8692307692307693, "adapted_wer": null, "fallback_policy": "Use adapted model only if WER improves; otherwise use base Whisper checkpoint.", "ct2_int8_export_success": true, "ct2_int8_export_error": null, "source_counts": { "synthetic_bootstrap": 80 }, "synthetic_bootstrap_rows": 80, "synthetic_bootstrap_warning": "Synthetic TTS/placeholder domain audio is bootstrap-only. Validate with real scam-call audio before production quality claims.", "scam_terms": [ "otp", "\u0913\u091f\u0940\u092a\u0940", "kyc", "\u0915\u0947\u0935\u093e\u0908\u0938\u0940", "upi", "\u092f\u0942\u092a\u0940\u0906\u0908", "digital arrest", "\u0921\u093f\u091c\u093f\u091f\u0932 \u0905\u0930\u0947\u0938\u094d\u091f", "bank account", "\u092c\u0948\u0902\u0915 \u0905\u0915\u093e\u0909\u0902\u091f", "account freeze", "\u0916\u093e\u0924\u093e \u092b\u094d\u0930\u0940\u091c", "aadhaar", "\u0906\u0927\u093e\u0930", "pan", "\u092a\u0948\u0928", "customs", "parcel", "courier", "police", "cyber crime", "fir", "verification", "verify", "pin", "cvv", "password", "refund", "cashback", "payment", "transfer", "anydesk", "screen share" ], "artifacts": { "final_model_dir": "/kaggle/working/agent_12_whisper_scam_call_transcription/agent12_whisper_final_model", "ct2_int8_dir": "/kaggle/working/agent_12_whisper_scam_call_transcription/agent12_whisper_ct2_int8_cpu", "inference_helper": "/kaggle/working/agent_12_whisper_scam_call_transcription/agent12_inference.py", "baseline_wer_eval": "/kaggle/working/agent_12_whisper_scam_call_transcription/agent12_baseline_wer_eval.csv", "adapted_wer_eval": "/kaggle/working/agent_12_whisper_scam_call_transcription/agent12_adapted_wer_eval.csv", "synthetic_manifest": "/kaggle/working/agent_12_whisper_scam_call_transcription/agent12_synthetic_domain_audio_manifest.csv", "sample_transcripts": "/kaggle/working/agent_12_whisper_scam_call_transcription/agent12_initial_sample_transcripts.csv" }}12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ "activation_dropout": 0.0, "activation_function": "gelu", "apply_spec_augment": false, "architectures": [ "WhisperForConditionalGeneration" ], "attention_dropout": 0.0, "bos_token_id": 50257, "classifier_proj_size": 256, "d_model": 768, "decoder_attention_heads": 12, "decoder_ffn_dim": 3072, "decoder_layerdrop": 0.0, "decoder_layers": 12, "decoder_start_token_id": 50258, "dropout": 0.0, "dtype": "float32", "encoder_attention_heads": 12, "encoder_ffn_dim": 3072, "encoder_layerdrop": 0.0, "encoder_layers": 12, "eos_token_id": 50257, "forced_decoder_ids": null, "init_std": 0.02, "is_encoder_decoder": true, "mask_feature_length": 10, "mask_feature_min_masks": 0, "mask_feature_prob": 0.0, "mask_time_length": 10, "mask_time_min_masks": 2, "mask_time_prob": 0.05, "max_source_positions": 1500, "max_target_positions": 448, "median_filter_width": 7, "model_type": "whisper", "num_hidden_layers": 12, "num_mel_bins": 80, "pad_token_id": 50257, "scale_embedding": false, "tie_word_embeddings": true, "transformers_version": "5.0.0", "use_cache": false, "use_weighted_layer_sum": false, "vocab_size": 51865}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264{ "alignment_heads": [ [ 5, 3 ], [ 5, 9 ], [ 8, 0 ], [ 8, 4 ], [ 8, 7 ], [ 8, 8 ], [ 9, 0 ], [ 9, 7 ], [ 9, 9 ], [ 10, 5 ] ], "begin_suppress_tokens": [ 220, 50257 ], "bos_token_id": 50257, "decoder_start_token_id": 50258, "eos_token_id": 50257, "forced_decoder_ids": [ [ 1, null ], [ 2, 50359 ] ], "is_multilingual": true, "lang_to_id": { "<|af|>": 50327, "<|am|>": 50334, "<|ar|>": 50272, "<|as|>": 50350, "<|az|>": 50304, "<|ba|>": 50355, "<|be|>": 50330, "<|bg|>": 50292, "<|bn|>": 50302, "<|bo|>": 50347, "<|br|>": 50309, "<|bs|>": 50315, "<|ca|>": 50270, "<|cs|>": 50283, "<|cy|>": 50297, "<|da|>": 50285, "<|de|>": 50261, "<|el|>": 50281, "<|en|>": 50259, "<|es|>": 50262, "<|et|>": 50307, "<|eu|>": 50310, "<|fa|>": 50300, "<|fi|>": 50277, "<|fo|>": 50338, "<|fr|>": 50265, "<|gl|>": 50319, "<|gu|>": 50333, "<|haw|>": 50352, "<|ha|>": 50354, "<|he|>": 50279, "<|hi|>": 50276, "<|hr|>": 50291, "<|ht|>": 50339, "<|hu|>": 50286, "<|hy|>": 50312, "<|id|>": 50275, "<|is|>": 50311, "<|it|>": 50274, "<|ja|>": 50266, "<|jw|>": 50356, "<|ka|>": 50329, "<|kk|>": 50316, "<|km|>": 50323, "<|kn|>": 50306, "<|ko|>": 50264, "<|la|>": 50294, "<|lb|>": 50345, "<|ln|>": 50353, "<|lo|>": 50336, "<|lt|>": 50293, "<|lv|>": 50301, "<|mg|>": 50349, "<|mi|>": 50295, "<|mk|>": 50308, "<|ml|>": 50296, "<|mn|>": 50314, "<|mr|>": 50320, "<|ms|>": 50282, "<|mt|>": 50343, "<|my|>": 50346, "<|ne|>": 50313, "<|nl|>": 50271, "<|nn|>": 50342, "<|no|>": 50288, "<|oc|>": 50328, "<|pa|>": 50321, "<|pl|>": 50269, "<|ps|>": 50340, "<|pt|>": 50267, "<|ro|>": 50284, "<|ru|>": 50263, "<|sa|>": 50344, "<|sd|>": 50332, "<|si|>": 50322, "<|sk|>": 50298, "<|sl|>": 50305, "<|sn|>": 50324, "<|so|>": 50326, "<|sq|>": 50317, "<|sr|>": 50303, "<|su|>": 50357, "<|sv|>": 50273, "<|sw|>": 50318, "<|ta|>": 50287, "<|te|>": 50299, "<|tg|>": 50331, "<|th|>": 50289, "<|tk|>": 50341, "<|tl|>": 50348, "<|tr|>": 50268, "<|tt|>": 50351, "<|uk|>": 50280, "<|ur|>": 50290, "<|uz|>": 50337, "<|vi|>": 50278, "<|yi|>": 50335, "<|yo|>": 50325, "<|zh|>": 50260 }, "max_initial_timestamp_index": 50, "max_length": 448, "no_timestamps_token_id": 50363, "pad_token_id": 50257, "prev_sot_token_id": 50361, "return_timestamps": false, "suppress_tokens": [ 1, 2, 7, 8, 9, 10, 14, 25, 26, 27, 28, 29, 31, 58, 59, 60, 61, 62, 63, 90, 91, 92, 93, 359, 503, 522, 542, 873, 893, 902, 918, 922, 931, 1350, 1853, 1982, 2460, 2627, 3246, 3253, 3268, 3536, 3846, 3961, 4183, 4667, 6585, 6647, 7273, 9061, 9383, 10428, 10929, 11938, 12033, 12331, 12562, 13793, 14157, 14635, 15265, 15618, 16553, 16604, 18362, 18956, 20075, 21675, 22520, 26130, 26161, 26435, 28279, 29464, 31650, 32302, 32470, 36865, 42863, 47425, 49870, 50254, 50258, 50358, 50359, 50360, 50361, 50362 ], "task_to_id": { "transcribe": 50359, "translate": 50358 }, "transformers_version": "5.0.0"}123version https://git-lfs.github.com/spec/v1oid sha256:1d7734884874f1a1513ed9aa760a4f8e97aaa02fd6d93a3a85d27b2ae9ca596bsize 9669950801234567891011121314151617{ "feature_extractor": { "chunk_length": 30, "dither": 0.0, "feature_extractor_type": "WhisperFeatureExtractor", "feature_size": 80, "hop_length": 160, "n_fft": 400, "n_samples": 480000, "nb_max_frames": 3000, "padding_side": "right", "padding_value": 0.0, "return_attention_mask": false, "sampling_rate": 16000 }, "processor_class": "WhisperProcessor"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127{ "add_prefix_space": false, "backend": "tokenizers", "bos_token": "<|endoftext|>", "clean_up_tokenization_spaces": true, "eos_token": "<|endoftext|>", "errors": "replace", "extra_special_tokens": [ "<|endoftext|>", "<|startoftranscript|>", "<|en|>", "<|zh|>", "<|de|>", "<|es|>", "<|ru|>", "<|ko|>", "<|fr|>", "<|ja|>", "<|pt|>", "<|tr|>", "<|pl|>", "<|ca|>", "<|nl|>", "<|ar|>", "<|sv|>", "<|it|>", "<|id|>", "<|hi|>", "<|fi|>", "<|vi|>", "<|he|>", "<|uk|>", "<|el|>", "<|ms|>", "<|cs|>", "<|ro|>", "<|da|>", "<|hu|>", "<|ta|>", "<|no|>", "<|th|>", "<|ur|>", "<|hr|>", "<|bg|>", "<|lt|>", "<|la|>", "<|mi|>", "<|ml|>", "<|cy|>", "<|sk|>", "<|te|>", "<|fa|>", "<|lv|>", "<|bn|>", "<|sr|>", "<|az|>", "<|sl|>", "<|kn|>", "<|et|>", "<|mk|>", "<|br|>", "<|eu|>", "<|is|>", "<|hy|>", "<|ne|>", "<|mn|>", "<|bs|>", "<|kk|>", "<|sq|>", "<|sw|>", "<|gl|>", "<|mr|>", "<|pa|>", "<|si|>", "<|km|>", "<|sn|>", "<|yo|>", "<|so|>", "<|af|>", "<|oc|>", "<|ka|>", "<|be|>", "<|tg|>", "<|sd|>", "<|gu|>", "<|am|>", "<|yi|>", "<|lo|>", "<|uz|>", "<|fo|>", "<|ht|>", "<|ps|>", "<|tk|>", "<|nn|>", "<|mt|>", "<|sa|>", "<|lb|>", "<|my|>", "<|bo|>", "<|tl|>", "<|mg|>", "<|as|>", "<|tt|>", "<|haw|>", "<|ln|>", "<|ha|>", "<|ba|>", "<|jw|>", "<|su|>", "<|translate|>", "<|transcribe|>", "<|startoflm|>", "<|startofprev|>", "<|nocaptions|>", "<|notimestamps|>" ], "is_local": false, "language": null, "model_max_length": 1024, "pad_token": "<|endoftext|>", "predict_timestamps": false, "processor_class": "WhisperProcessor", "return_attention_mask": false, "task": "transcribe", "tokenizer_class": "WhisperTokenizer", "unk_token": "<|endoftext|>"}AGENT12_MODEL_CARD.mdAdded+22
agent12_metrics.jsonAdded+65
config.jsonAdded+46
generation_config.jsonAdded+264
model.safetensorsAdded+3
processor_config.jsonAdded+17
tokenizer.jsonAdded
tokenizer_config.jsonAdded+127