bayan-api / out2.txt
Bayan AI
Add debugging scripts and fix grammar/punctuation logic
ce14862
Raw
History Blame
46 kB
��python : 2026-06-26 02:14:43,107 - app - INFO - ============================================================
At line:1 char:24
+ $env:PYTHONPATH="src"; python test_pc.py > out2.txt 2>&1; Get-Content ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (2026-06-26 02:1...===============:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
2026-06-26 02:14:43,107 - app - INFO - BAYAN � Loading ALL models at startup (eager mode)...
2026-06-26 02:14:43,107 - app - INFO - ============================================================
2026-06-26 02:14:43,107 - app - INFO - Loading summarization model from Hugging Face: bayan10/summarization-model
2026-06-26 02:14:43,107 - model_loader - INFO - Using remote model source: bayan10/summarization-model
2026-06-26 02:14:43,107 - model_loader - INFO - Using CPU device
2026-06-26 02:14:43,107 - model_loader - INFO - Loading tokenizer...
2026-06-26 02:14:43,378 - model_loader - INFO - Tokenizer loaded successfully
2026-06-26 02:14:43,378 - model_loader - INFO - Loading model (this may take a while)...
Loading weights: 0%| | 0/264 [00:00<?, ?it/s]
Loading weights: 17%|#6 | 44/264 [00:00<00:00, 379.55it/s]
Loading weights: 37%|###7 | 98/264 [00:00<00:00, 455.61it/s]
Loading weights: 57%|#####6 | 150/264 [00:00<00:00, 482.51it/s]
Loading weights: 76%|#######6 | 201/264 [00:00<00:00, 443.74it/s]
Loading weights: 94%|#########4| 249/264 [00:00<00:00, 437.03it/s]
Loading weights: 100%|##########| 264/264 [00:00<00:00, 352.49it/s]
2026-06-26 02:14:44,349 - model_loader - INFO - Model loaded successfully on cpu
2026-06-26 02:14:44,350 - app - INFO - Summarization model loaded successfully
2026-06-26 02:14:44,350 - app - INFO - Models loaded: ['summarization']
2026-06-26 02:14:44,353 - nlp.spelling.araspell_service - INFO - Loading AraSpell spelling model (lazy init)...
2026-06-26 02:14:44,353 - nlp.spelling.araspell_service - INFO - Resolving checkpoint:
bayan10/AraSpell-Model/last_model.pt
2026-06-26 02:14:46,913 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/bayan10/AraSpell-Model/resolve/main/last_model.pt "HTTP/1.1 302 Found"
Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits
and faster downloads.
2026-06-26 02:14:46,913 - huggingface_hub.utils._http - WARNING - Warning: You are sending unauthenticated requests to
the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.
2026-06-26 02:14:46,916 - nlp.spelling.araspell_service - INFO - Checkpoint path: C:\Users\dell\.cache\huggingface\hub\
models--bayan10--AraSpell-Model\snapshots\2f99d61881a4339baeaddf9f67ffa90c37044b03\last_model.pt
2026-06-26 02:14:46,916 - nlp.spelling.araspell_service - INFO - Loading tokenizer: aubmindlab/bert-base-arabertv02
2026-06-26 02:14:47,297 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/bert-base-arabertv02/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:14:47,526 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/aubmindlab/
bert-base-arabertv02/016fb9d6768f522a59c6e0d2d5d5d43a4e1bff60/config.json "HTTP/1.1 200 OK"
2026-06-26 02:14:47,897 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/bert-base-arabertv02/resolve/main/tokenizer_config.json "HTTP/1.1 307 Temporary
Redirect"
2026-06-26 02:14:48,131 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/aubmindlab/
bert-base-arabertv02/016fb9d6768f522a59c6e0d2d5d5d43a4e1bff60/tokenizer_config.json "HTTP/1.1 200 OK"
2026-06-26 02:14:48,526 - httpx - INFO - HTTP Request: GET https://huggingface.co/api/models/aubmindlab/bert-base-arabe
rtv02/tree/main/additional_chat_templates?recursive=false&expand=false "HTTP/1.1 404 Not Found"
2026-06-26 02:14:48,928 - httpx - INFO - HTTP Request: GET
https://huggingface.co/api/models/aubmindlab/bert-base-arabertv02/tree/main?recursive=true&expand=false "HTTP/1.1 200
OK"
2026-06-26 02:14:49,328 - nlp.spelling.araspell_service - INFO - Building EncoderDecoderModel from AraBERT...
2026-06-26 02:14:49,705 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/bert-base-arabertv02/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:14:50,113 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/aubmindlab/
bert-base-arabertv02/016fb9d6768f522a59c6e0d2d5d5d43a4e1bff60/config.json "HTTP/1.1 200 OK"
Loading weights: 0%| | 0/199 [00:00<?, ?it/s]
Loading weights: 100%|##########| 199/199 [00:00<00:00, 2679.89it/s]
[transformers] BertModel LOAD REPORT from: aubmindlab/bert-base-arabertv02
Key | Status | |
-------------------------------------------+------------+--+-
cls.predictions.transform.dense.weight | UNEXPECTED | |
cls.seq_relationship.weight | UNEXPECTED | |
cls.predictions.transform.dense.bias | UNEXPECTED | |
cls.predictions.transform.LayerNorm.bias | UNEXPECTED | |
cls.predictions.transform.LayerNorm.weight | UNEXPECTED | |
cls.seq_relationship.bias | UNEXPECTED | |
cls.predictions.bias | UNEXPECTED | |
Notes:
- UNEXPECTED: can be ignored when loading from different task/architecture; not ok if you expect identical arch.
2026-06-26 02:14:50,817 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/bert-base-arabertv02/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:14:51,261 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/aubmindlab/
bert-base-arabertv02/016fb9d6768f522a59c6e0d2d5d5d43a4e1bff60/config.json "HTTP/1.1 200 OK"
Loading weights: 0%| | 0/202 [00:00<?, ?it/s]
Loading weights: 100%|##########| 202/202 [00:00<00:00, 4528.64it/s]
[transformers] BertLMHeadModel LOAD REPORT from: aubmindlab/bert-base-arabertv02
Key | Status |
-------------------------------------------------------------------+------------+-
cls.seq_relationship.bias | UNEXPECTED |
bert.pooler.dense.bias | UNEXPECTED |
bert.pooler.dense.weight | UNEXPECTED |
cls.seq_relationship.weight | UNEXPECTED |
bert.encoder.layer.{0...11}.crossattention.self.key.weight | MISSING |
bert.encoder.layer.{0...11}.crossattention.output.LayerNorm.weight | MISSING |
bert.encoder.layer.{0...11}.crossattention.output.dense.bias | MISSING |
bert.encoder.layer.{0...11}.crossattention.output.dense.weight | MISSING |
bert.encoder.layer.{0...11}.crossattention.self.query.bias | MISSING |
bert.encoder.layer.{0...11}.crossattention.self.value.weight | MISSING |
bert.encoder.layer.{0...11}.crossattention.self.query.weight | MISSING |
bert.encoder.layer.{0...11}.crossattention.self.value.bias | MISSING |
bert.encoder.layer.{0...11}.crossattention.self.key.bias | MISSING |
bert.encoder.layer.{0...11}.crossattention.output.LayerNorm.bias | MISSING |
Notes:
- UNEXPECTED: can be ignored when loading from different task/architecture; not ok if you expect identical arch.
- MISSING: those params were newly initialized because missing from the checkpoint. Consider training on your
downstream task.
2026-06-26 02:14:52,587 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/bert-base-arabertv02/resolve/main/generation_config.json "HTTP/1.1 404 Not Found"
2026-06-26 02:14:53,625 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/bert-base-arabertv02/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:14:54,850 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/aubmindlab/
bert-base-arabertv02/016fb9d6768f522a59c6e0d2d5d5d43a4e1bff60/config.json "HTTP/1.1 200 OK"
2026-06-26 02:14:54,867 - nlp.spelling.araspell_service - INFO - Loading checkpoint weights on cpu...
2026-06-26 02:14:57,945 - nlp.spelling.araspell_service - INFO - Spelling model loaded on cpu, epoch: N/A
2026-06-26 02:15:02,571 - nlp.spelling.araspell_rules - INFO - VocabularyManager initialized with CamelTools Analyzer
2026-06-26 02:15:05,198 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/bert-base-arabertv02/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:15:06,167 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/aubmindlab/
bert-base-arabertv02/016fb9d6768f522a59c6e0d2d5d5d43a4e1bff60/config.json "HTTP/1.1 200 OK"
2026-06-26 02:15:07,151 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/bert-base-arabertv02/resolve/main/tokenizer_config.json "HTTP/1.1 307 Temporary
Redirect"
2026-06-26 02:15:07,876 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/aubmindlab/
bert-base-arabertv02/016fb9d6768f522a59c6e0d2d5d5d43a4e1bff60/tokenizer_config.json "HTTP/1.1 200 OK"
2026-06-26 02:15:08,676 - httpx - INFO - HTTP Request: GET https://huggingface.co/api/models/aubmindlab/bert-base-arabe
rtv02/tree/main/additional_chat_templates?recursive=false&expand=false "HTTP/1.1 404 Not Found"
2026-06-26 02:15:09,521 - httpx - INFO - HTTP Request: GET
https://huggingface.co/api/models/aubmindlab/bert-base-arabertv02/tree/main?recursive=true&expand=false "HTTP/1.1 200
OK"
2026-06-26 02:15:10,837 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/bert-base-arabertv02/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:15:11,654 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/aubmindlab/
bert-base-arabertv02/016fb9d6768f522a59c6e0d2d5d5d43a4e1bff60/config.json "HTTP/1.1 200 OK"
Loading weights: 0%| | 0/202 [00:00<?, ?it/s]
Loading weights: 100%|##########| 202/202 [00:00<00:00, 4870.06it/s]
[transformers] BertForMaskedLM LOAD REPORT from: aubmindlab/bert-base-arabertv02
Key | Status | |
----------------------------+------------+--+-
cls.seq_relationship.bias | UNEXPECTED | |
bert.pooler.dense.bias | UNEXPECTED | |
bert.pooler.dense.weight | UNEXPECTED | |
cls.seq_relationship.weight | UNEXPECTED | |
Notes:
- UNEXPECTED: can be ignored when loading from different task/architecture; not ok if you expect identical arch.
2026-06-26 02:15:11,825 - nlp.spelling.araspell_rules - INFO - Contextual correction enabled
2026-06-26 02:15:11,825 - nlp.spelling.araspell_service - INFO - AraSpell ready in 27.5s
2026-06-26 02:15:11,874 - app - INFO - \u2713 Spelling model loaded in 27.5s
2026-06-26 02:15:11,888 - nlp.grammar.grammar_service - INFO - Loading Grammar model (lazy init)...
2026-06-26 02:15:12,074 - nlp.grammar.grammar_service - INFO - Connecting to Gradio Space:
mohammedahmedezz2004/bayan_arabic_grammarly_correction (attempt 1/3)
2026-06-26 02:15:13,094 - httpx - INFO - HTTP Request: GET
https://huggingface.co/api/spaces/mohammedahmedezz2004/bayan_arabic_grammarly_correction "HTTP/1.1 200 OK"
2026-06-26 02:15:13,966 - httpx - INFO - HTTP Request: GET
https://huggingface.co/api/spaces/mohammedahmedezz2004/bayan_arabic_grammarly_correction/runtime "HTTP/1.1 200 OK"
2026-06-26 02:15:16,595 - httpx - INFO - HTTP Request: GET
https://mohammedahmedezz2004-bayan-arabic-grammarly-correction.hf.space/config "HTTP/1.1 200 OK"
2026-06-26 02:15:18,857 - httpx - INFO - HTTP Request: GET
https://mohammedahmedezz2004-bayan-arabic-grammarly-correction.hf.space/gradio_api/info?serialize=False "HTTP/1.1 200
OK"
2026-06-26 02:15:18,860 - nlp.grammar.grammar_service - INFO - Gradio Client connected
2026-06-26 02:15:18,860 - nlp.grammar.grammar_service - INFO - Loading ArabicGrammarGuard (camel-tools MLE
disambiguator)...
2026-06-26 02:15:19,655 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/telemetry/py_client/initiated
"HTTP/1.1 200 OK"
2026-06-26 02:15:22,518 - httpx - INFO - HTTP Request: GET https://mohammedahmedezz2004-bayan-arabic-grammarly-correcti
on.hf.space/gradio_api/heartbeat/2c75a00a-fbdf-43dc-8da0-019ce2f7f142 "HTTP/1.1 200 OK"
2026-06-26 02:15:23,744 - nlp.grammar.grammar_service - INFO - ArabicGrammarGuard loaded
2026-06-26 02:15:23,744 - nlp.grammar.grammar_service - INFO - Grammar model ready in 11.9s
2026-06-26 02:15:23,746 - app - INFO - \u2713 Grammar model loaded in 11.9s
2026-06-26 02:15:23,747 - nlp.punctuation.punctuation_service - INFO - Loading PuncAra-v1 punctuation model (lazy
init)...
2026-06-26 02:15:23,747 - nlp.punctuation.punctuation_service - INFO - Punctuation model device: cpu
2026-06-26 02:15:23,747 - nlp.punctuation.punctuation_service - INFO - Loading model from HF Hub: bayan10/PuncAra-v1
2026-06-26 02:15:24,964 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/bayan10/PuncAra-v1/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:15:25,789 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/bayan10/Pun
cAra-v1/16ee45e626427c08d0b2377748455cda1acb40c4/config.json "HTTP/1.1 200 OK"
2026-06-26 02:15:26,857 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/bayan10/PuncAra-v1/resolve/main/model.safetensors "HTTP/1.1 302 Found"
Loaded as API: https://mohammedahmedezz2004-bayan-arabic-grammarly-correction.hf.space
Loading weights: 0%| | 0/521 [00:00<?, ?it/s]
Loading weights: 54%|#####4 | 282/521 [00:00<00:00, 2794.58it/s]
Loading weights: 100%|##########| 521/521 [00:00<00:00, 2855.66it/s]
2026-06-26 02:15:28,431 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/bayan10/PuncAra-v1/resolve/main/generation_config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:15:29,499 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/bayan10/Pun
cAra-v1/16ee45e626427c08d0b2377748455cda1acb40c4/generation_config.json "HTTP/1.1 200 OK"
2026-06-26 02:15:30,679 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/bayan10/PuncAra-v1/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:15:31,661 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/bayan10/Pun
cAra-v1/16ee45e626427c08d0b2377748455cda1acb40c4/config.json "HTTP/1.1 200 OK"
2026-06-26 02:15:32,755 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/bayan10/PuncAra-v1/resolve/main/tokenizer_config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:15:33,690 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/bayan10/Pun
cAra-v1/16ee45e626427c08d0b2377748455cda1acb40c4/tokenizer_config.json "HTTP/1.1 200 OK"
2026-06-26 02:15:34,789 - httpx - INFO - HTTP Request: GET
https://huggingface.co/api/models/bayan10/PuncAra-v1/tree/main/additional_chat_templates?recursive=false&expand=false
"HTTP/1.1 404 Not Found"
2026-06-26 02:15:35,780 - httpx - INFO - HTTP Request: GET
https://huggingface.co/api/models/bayan10/PuncAra-v1/tree/main?recursive=true&expand=false "HTTP/1.1 200 OK"
2026-06-26 02:15:35,962 - nlp.punctuation.punctuation_service - INFO - PuncAra-v1 ready in 12.2s
2026-06-26 02:15:35,962 - app - INFO - \u2713 Punctuation model loaded in 12.2s
2026-06-26 02:15:35,968 - nlp.autocomplete.autocomplete_service - INFO - Loading AutoComplete model (lazy init)...
2026-06-26 02:15:36,980 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/bayan10/AutoComplete/resolve/main/bigram_model_v4.pkl "HTTP/1.1 302 Found"
2026-06-26 02:16:33,779 - nlp.autocomplete.autocomplete_service - INFO - Bigram model loaded: 1948664 unigrams,
1881173 bigram contexts
2026-06-26 02:16:33,955 - nlp.autocomplete.autocomplete_service - INFO - Loading GPT-2 tokenizer:
aubmindlab/aragpt2-base
2026-06-26 02:16:36,639 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/aragpt2-base/resolve/main/tokenizer_config.json "HTTP/1.1 404 Not Found"
2026-06-26 02:16:37,442 - httpx - INFO - HTTP Request: GET https://huggingface.co/api/models/aubmindlab/aragpt2-base/tr
ee/main/additional_chat_templates?recursive=false&expand=false "HTTP/1.1 404 Not Found"
2026-06-26 02:16:38,366 - httpx - INFO - HTTP Request: GET
https://huggingface.co/api/models/aubmindlab/aragpt2-base/tree/main?recursive=true&expand=false "HTTP/1.1 200 OK"
2026-06-26 02:16:39,466 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/aragpt2-base/resolve/main/vocab.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:16:39,508 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/aubmindlab/
aragpt2-base/257d7289dac3605a6cd903ff71d67a52fc5d09aa/vocab.json "HTTP/1.1 200 OK"
2026-06-26 02:16:40,416 - nlp.autocomplete.autocomplete_service - INFO - Loading GPT-2 model: aubmindlab/aragpt2-base
2026-06-26 02:16:40,626 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/aragpt2-base/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:16:41,357 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/aubmindlab/
aragpt2-base/257d7289dac3605a6cd903ff71d67a52fc5d09aa/config.json "HTTP/1.1 200 OK"
2026-06-26 02:16:42,294 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/aragpt2-base/resolve/main/model.safetensors "HTTP/1.1 302 Found"
Loading weights: 0%| | 0/148 [00:00<?, ?it/s]
Loading weights: 100%|##########| 148/148 [00:00<00:00, 2402.97it/s]
[transformers] GPT2LMHeadModel LOAD REPORT from: aubmindlab/aragpt2-base
Key | Status | |
----------------------------+------------+--+-
h.{0...11}.attn.masked_bias | UNEXPECTED | |
Notes:
- UNEXPECTED: can be ignored when loading from different task/architecture; not ok if you expect identical arch.
2026-06-26 02:16:44,066 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/aragpt2-base/resolve/main/generation_config.json "HTTP/1.1 404 Not Found"
2026-06-26 02:16:45,456 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/aubmindlab/aragpt2-base/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:16:46,937 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/aubmindlab/
aragpt2-base/257d7289dac3605a6cd903ff71d67a52fc5d09aa/config.json "HTTP/1.1 200 OK"
2026-06-26 02:16:46,939 - nlp.autocomplete.autocomplete_service - INFO - GPT-2 loaded successfully (hybrid mode
enabled)
2026-06-26 02:16:46,939 - nlp.autocomplete.autocomplete_service - INFO - AutoComplete ready in 71.0s (mode: hybrid)
2026-06-26 02:16:46,939 - app - INFO - \u2713 Autocomplete model loaded in 71.0s
2026-06-26 02:16:46,947 - nlp.dialect.dialect_service - INFO - [DIALECT] Loading model from
'bayan10/dialect-to-msa-model'...
2026-06-26 02:16:48,676 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/bayan10/dialect-to-msa-model/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:16:49,616 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/bayan10/dia
lect-to-msa-model/39128b953c8e0636ebbdad760572d6fe2bb9d0fb/config.json "HTTP/1.1 200 OK"
2026-06-26 02:16:51,011 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/bayan10/dialect-to-msa-model/resolve/main/tokenizer_config.json "HTTP/1.1 307 Temporary
Redirect"
2026-06-26 02:16:51,858 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/bayan10/dia
lect-to-msa-model/39128b953c8e0636ebbdad760572d6fe2bb9d0fb/tokenizer_config.json "HTTP/1.1 200 OK"
2026-06-26 02:16:53,186 - httpx - INFO - HTTP Request: GET https://huggingface.co/api/models/bayan10/dialect-to-msa-mod
el/tree/main/additional_chat_templates?recursive=false&expand=false "HTTP/1.1 404 Not Found"
2026-06-26 02:16:54,046 - httpx - INFO - HTTP Request: GET
https://huggingface.co/api/models/bayan10/dialect-to-msa-model/tree/main?recursive=true&expand=false "HTTP/1.1 200 OK"
2026-06-26 02:17:01,739 - httpx - INFO - HTTP Request: GET
https://huggingface.co/api/models/bayan10/dialect-to-msa-model "HTTP/1.1 200 OK"
2026-06-26 02:17:03,179 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/bayan10/dialect-to-msa-model/resolve/main/config.json "HTTP/1.1 307 Temporary Redirect"
2026-06-26 02:17:04,193 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/bayan10/dia
lect-to-msa-model/39128b953c8e0636ebbdad760572d6fe2bb9d0fb/config.json "HTTP/1.1 200 OK"
[transformers] `torch_dtype` is deprecated! Use `dtype` instead!
Loading weights: 0%| | 0/190 [00:00<?, ?it/s]
Loading weights: 32%|###1 | 60/190 [00:00<00:00, 581.25it/s]
Loading weights: 64%|######4 | 122/190 [00:00<00:00, 601.43it/s]
Loading weights: 97%|#########6| 184/190 [00:00<00:00, 591.96it/s]
Loading weights: 100%|##########| 190/190 [00:02<00:00, 66.56it/s]
[transformers] The tied weights mapping and config for this model specifies to tie shared.weight to lm_head.weight,
but both are present in the checkpoints with different values, so we will NOT tie them. You should update the config
with `tie_word_embeddings=False` to silence this warning.
2026-06-26 02:17:08,224 - httpx - INFO - HTTP Request: HEAD
https://huggingface.co/bayan10/dialect-to-msa-model/resolve/main/generation_config.json "HTTP/1.1 307 Temporary
Redirect"
2026-06-26 02:17:09,153 - httpx - INFO - HTTP Request: HEAD https://huggingface.co/api/resolve-cache/models/bayan10/dia
lect-to-msa-model/39128b953c8e0636ebbdad760572d6fe2bb9d0fb/generation_config.json "HTTP/1.1 200 OK"
2026-06-26 02:17:09,175 - nlp.dialect.dialect_service - INFO - [DIALECT] Model loaded successfully (float16).
2026-06-26 02:17:09,175 - app - INFO - \u2713 Dialect model loaded in 22.2s
2026-06-26 02:17:09,176 - app - INFO - ============================================================
2026-06-26 02:17:09,176 - app - INFO - BAYAN � All models loaded in 146.1s
2026-06-26 02:17:09,176 - app - INFO - ============================================================
Traceback (most recent call last):
File "C:\Users\dell\PycharmProjects\JupyterProject1\PythonProject\BAYAN\test_pc.py", line 7, in <module>
from app import apply_patches
ImportError: cannot import name 'apply_patches' from 'app'
(c:\Users\dell\PycharmProjects\JupyterProject1\PythonProject\BAYAN\src\app.py)