摘要:
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 阅读全文
摘要:
以下是 Tmux 的最简操作流程: 1. 新建会话tmux new -s my_session。(或tmux) 2. 在 Tmux 窗口运行所需的程序。 3. 按下快捷键Ctrl+b d将会话分离。 4. 下次使用时,重新连接到会话tmux attach-session -t my_session。 阅读全文
摘要:
## LLM inference workflow **Generative Inference**. A typical LLM generative inference task consists of two stages: i) the prefill stage which takes a 阅读全文
摘要:
- VSCode启动Debug模式调试带参数的python文件: https://blog.csdn.net/weixin_39329055/article/details/119530587 - 单步调试进入外部文件:launch.json中写入以下: ```json { // 使用 Intell 阅读全文
摘要:
- Towards Topic-Guided Conversational Recommender System - RecInDial: A Unified Framework for Conversational Recommendation with Pretrained Language M 阅读全文
摘要:
## TD learning of state values The data/experience required by the algorithm: - or 阅读全文
摘要:
### 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 阅读全文
摘要:
# 1.7 Markov decision processes This section presents these concepts in a more formal way under the framework of Markov decision processes (MDPs). An 阅读全文
摘要:
第6课-随机近似与随机梯度下降 ## 6.1 Motivating examples ## Mean Estimation Revisit the mean estimation problem: - Consider a random variable . - Our aim is to e 阅读全文
摘要:
```python import torch def promptGating(gating, adding, x): ''' gating: (num_prefix, dim) adding: (num_prefix, dim) x: (seq_length, batch_size, dim) ' 阅读全文