摘要: Start Debugging F5 Run Without Debugging Ctrl+F5 Stop Debugging Shift+F5 Restart Debugging Ctrl+Shift+F5 Step Over F10 Step Into F11 Step Out Shift+F1 阅读全文
posted @ 2023-09-26 14:28 鸽鸽的书房 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 以下是 Tmux 的最简操作流程: 1. 新建会话tmux new -s my_session。(或tmux) 2. 在 Tmux 窗口运行所需的程序。 3. 按下快捷键Ctrl+b d将会话分离。 4. 下次使用时,重新连接到会话tmux attach-session -t my_session。 阅读全文
posted @ 2023-09-08 20:56 鸽鸽的书房 阅读(240) 评论(0) 推荐(0) 编辑
摘要: ## LLM inference workflow **Generative Inference**. A typical LLM generative inference task consists of two stages: i) the prefill stage which takes a 阅读全文
posted @ 2023-08-23 18:57 鸽鸽的书房 阅读(155) 评论(0) 推荐(0) 编辑
摘要: - VSCode启动Debug模式调试带参数的python文件: https://blog.csdn.net/weixin_39329055/article/details/119530587 - 单步调试进入外部文件:launch.json中写入以下: ```json { // 使用 Intell 阅读全文
posted @ 2023-08-14 23:02 鸽鸽的书房 阅读(18) 评论(0) 推荐(0) 编辑
摘要: - Towards Topic-Guided Conversational Recommender System - RecInDial: A Unified Framework for Conversational Recommendation with Pretrained Language M 阅读全文
posted @ 2023-08-14 19:19 鸽鸽的书房 阅读(28) 评论(0) 推荐(0) 编辑
摘要: ## TD learning of state values The data/experience required by the algorithm: - (s0,r1,s1,,st,rt+1,st+1,) or 阅读全文
posted @ 2023-08-13 16:47 鸽鸽的书房 阅读(19) 评论(0) 推荐(0) 编辑
摘要: ### the discounted return $$ \begin{aligned} G_t & =R_{t+1}+\gamma R_{t+2}+\gamma^2 R_{t+3}+\ldots \\ & =R_{t+1}+\gamma\left(R_{t+2}+\gamma R_{t+3}+\l 阅读全文
posted @ 2023-08-13 16:05 鸽鸽的书房 阅读(10) 评论(0) 推荐(0) 编辑
摘要: # 1.7 Markov decision processes This section presents these concepts in a more formal way under the framework of Markov decision processes (MDPs). An 阅读全文
posted @ 2023-08-13 15:30 鸽鸽的书房 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 第6课-随机近似与随机梯度下降 ## 6.1 Motivating examples ## Mean Estimation Revisit the mean estimation problem: - Consider a random variable X. - Our aim is to e 阅读全文
posted @ 2023-08-12 16:32 鸽鸽的书房 阅读(139) 评论(0) 推荐(0) 编辑
摘要: ```python import torch def promptGating(gating, adding, x): ''' gating: (num_prefix, dim) adding: (num_prefix, dim) x: (seq_length, batch_size, dim) ' 阅读全文
posted @ 2023-08-09 17:34 鸽鸽的书房 阅读(25) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示