Commit Graph

794 Commits

Author SHA1 Message Date
戒酒的李白 48be28635f Update README.md 2024-12-10 22:14:22 +08:00
戒酒的李白 9557acb4b9 Add files via upload 2024-12-10 22:14:01 +08:00
戒酒的李白 c5a62548ad Update README.md 2024-12-10 22:12:35 +08:00
戒酒的李白 c0164ecbb5 Add files via upload 2024-12-10 22:11:06 +08:00
戒酒的李白 918658c7a3 Update README.md 2024-12-10 21:28:24 +08:00
lycorisk 38c11b05d5 Update user.py
1,密码哈希:
    将密码加盐哈希的逻辑抽取到 hash_password 函数中,提高代码复用性。
2,参数化查询:
    使用参数化的 SQL 查询防止 SQL 注入攻击。
3表单字段获取:
    使用 get 方法获取表单字段,并移除多余空格。
4,友好错误提示:
    登录失败时,返回错误信息,并保留用户名以减少用户重新输入的负担。
2024-12-10 21:28:12 +08:00
戒酒的李白 9c5c97d1e5 Update README.md 2024-12-10 21:20:42 +08:00
戒酒的李白 6d254a866c Update README.md 2024-12-10 21:18:48 +08:00
sukiun 72f7c2aa61 Merge pull request #3 from sukiyra/main
Update app.py
2024-12-10 20:54:11 +08:00
sukiun 158c0b8cea Update app.py
1,中间件代码逻辑可以优化,以减少重复的 return 语句,并提高可读性
2,为了更好地调试和监控,建议为应用添加日志记录,捕获用户请求和错误
2024-12-10 20:52:22 +08:00
戒酒的李白 933471a446 Update README.md 2024-12-10 20:49:22 +08:00
juanboy e41334cd04 app final update 2024-10-18 22:22:49 +08:00
juanboy 96af98f9fa app rebuilt 2024-10-18 22:20:04 +08:00
juanboy a4fba83c4a predict.demo built 2024-10-18 22:15:21 +08:00
juanboy 848da77e91 front end app update 2024-10-18 22:09:37 +08:00
juanboy 975890d636 failure.html page built 2024-10-18 22:05:44 +08:00
juanboy 249313662c waiting.html page built 2024-10-18 22:02:52 +08:00
juanboy 9bfc6f3668 success.html 2024-10-18 22:01:09 +08:00
juanboy 1417936c48 update app.py 2024-10-18 16:08:11 +08:00
juanboy 440e3c3bee preliminary realize main.html 2024-10-18 16:03:40 +08:00
juanboy 70b54530d1 front end built 2024-10-18 16:00:16 +08:00
戒酒的李白 fd815a2db0 Upload of the final complete model data 2024-10-16 10:40:19 +08:00
戒酒的李白 f8b13ec7b0 The integration process and a complete use example are given 2024-10-16 09:46:37 +08:00
戒酒的李白 af5e2265ee The final classification layer is complete 2024-10-15 08:13:08 +08:00
戒酒的李白 3efea929c8 The multi-head attention mechanism is basically completed. 2024-10-13 10:04:18 +08:00
戒酒的李白 9af61e2ade Calculates the scaling dot product attention 2024-10-07 09:51:29 +08:00
戒酒的李白 4500b2719e Divide the input into long heads 2024-10-06 11:54:32 +08:00
戒酒的李白 f5e307d3f8 Define the linear transformation layer 2024-10-06 11:34:31 +08:00
戒酒的李白 ee739c3c81 Multi-head attention mechanism infrastructure and input dimension settings. 2024-10-05 00:49:24 +08:00
戒酒的李白 ba192296cd A small change. 2024-10-04 23:16:45 +08:00
戒酒的李白 5adabea097 BCAT is basically completed. 2024-10-04 23:15:44 +08:00
戒酒的李白 b49d16ab07 BCAT Preliminary 2024-10-04 22:18:54 +08:00
戒酒的李白 80aa0cfa9c Implement the get_bert_ctm_embeddings function and embedding generation and loading logic 2024-10-03 00:48:10 +08:00
戒酒的李白 4d91f30dd3 Bert's method of processing sentences 2024-10-02 23:36:00 +08:00
戒酒的李白 6cf336a761 Upload model parameters of CTM module 2024-10-02 23:30:30 +08:00
戒酒的李白 88981ad5cd The BERT_CTM module is finally completed 2024-10-01 21:22:26 +08:00
戒酒的李白 34405d7886 Merge branch 'main' of https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem 2024-10-01 15:51:03 +08:00
戒酒的李白 f2ebb56509 Added inference function for the model 2024-10-01 15:50:57 +08:00
suki-un 8e1635e865 更新 index.html 2024-09-30 23:43:03 +08:00
suki-un de9d51c875 readme-cn 2024-09-30 23:39:04 +08:00
suki-un c41028a615 readme-cn 2024-09-30 23:36:51 +08:00
戒酒的李白 91a192e379 Add BERT-CTM model with save/load and error handling 2024-09-30 13:38:56 +08:00
戒酒的李白 f0f43c8e98 Integrated training function of CTM model 2024-09-30 09:24:08 +08:00
戒酒的李白 5108ae1254 Implement Chinese word segmentation 2024-09-30 01:06:03 +08:00
戒酒的李白 48af69dace Batch processing text embedding tests 2024-09-30 00:38:42 +08:00
戒酒的李白 8c0479a978 Test the BERT model for Chinese simulation embedding 2024-09-30 00:14:40 +08:00
戒酒的李白 701926ba83 Import the initial BERT pre-trained model 2024-09-27 00:24:30 +08:00
戒酒的李白 ce80b15e13 Input the new dataset for sentiment recognition 2024-09-27 00:16:47 +08:00
戒酒的李白 e83639b42e Initialization of the New Sentiment Recognition Model 2024-09-27 00:10:35 +08:00
戒酒的李白 413c88943b readme updata 2024-09-10 10:20:25 +08:00