摘要: git常见操作 git log filename 查看提交记录 git log -p filename 可以显示每次提交的diff 查看某次提交中的某个文件变化,可以直接加上fileName git show c5e69804bbd9725b5dece57f8cbece4a96b9f80b file 阅读全文
posted @ 2019-08-22 17:49 jiftle 阅读(413) 评论(0) 推荐(0)
摘要: 四象限法则 三、处理四象限事务的法则1、第一象限:立即去做2、第二象限:有计划的去做1)对第二象限的事务进行目标描述和任务分解3、第三象限:交给别人去做,用“猴子法则”走出第三象限大部分人发现时间不够的主要原因是将太多不属于自己的工作揽在自己身上。,另一方面可以应用与在团队协作时不要让工作进度停留在 阅读全文
posted @ 2019-06-14 09:54 jiftle 阅读(573) 评论(0) 推荐(1)
摘要: # vim常用技巧 忠告, 如果有插件的需求,使用neovim替换vim ## 常用命令 ### 格式转换 - 查看文件格式 `:set ff` (支持两种格式 unix, dos) - 文件格式转为linux `:set ff=unix` ### 常用 - 删除空行 `:g/^$/d` 删除空行 阅读全文
posted @ 2017-04-01 12:54 jiftle 阅读(884) 评论(5) 推荐(0)
摘要: import torch import torch.nn as nn import torch.nn.functional as F import math class PositionalEncoding(nn.Module): """位置编码:为输入序列添加位置信息""" def __init_ 阅读全文
posted @ 2026-01-29 11:52 jiftle 阅读(3) 评论(0) 推荐(0)
摘要: 原文:https://blog.eimoon.com/p/transformers-attention-is-all-you-need/ 引言:Transformer 如何重塑 AI 格局 在短短几年内,Transformer 架构彻底重塑了人工智能 (AI) 的技术版图。由 Vaswani 等人在 阅读全文
posted @ 2026-01-28 15:06 jiftle 阅读(8) 评论(0) 推荐(0)
摘要: 原文:https://developer.aliyun.com/article/1635093 作为一名机器学习爱好者,我深知在自然语言处理(NLP)领域,Transformer模型的重要性。自从2017年Google的研究团队提出Transformer以来,它迅速成为NLP领域的主流模型,广泛应用 阅读全文
posted @ 2026-01-28 15:02 jiftle 阅读(9) 评论(0) 推荐(0)
摘要: ![图片](https://img2024.cnblogs.com/blog/137928/202601/137928-20260111160459500-1364334423.png) 阅读全文
posted @ 2026-01-11 16:05 jiftle 阅读(6) 评论(0) 推荐(0)
摘要: module ftsdemo go 1.23.6 require ( github.com/blevesearch/bleve/v2 v2.5.7 github.com/gogf/gf v1.16.9 ) require ( github.com/BurntSushi/toml v0.3.1 // 阅读全文
posted @ 2026-01-09 18:38 jiftle 阅读(6) 评论(0) 推荐(0)
摘要: 概要 文档 -> 向量数据库 -> 从向量数据库中检索 -> 检索到的内容和问题,发给AI -> AI总结回答 关键组件 chromem-go go-openai ollama 代码 go.mod module chromago go 1.23.6 require ( github.com/phil 阅读全文
posted @ 2026-01-09 18:36 jiftle 阅读(12) 评论(0) 推荐(0)
摘要: windows下启动 cd wp\pynbwp %windir%\System32\cmd.exe "/K" D:\ProgramData\anaconda3\Scripts\activate.bat D:\ProgramData\anaconda3 阅读全文
posted @ 2025-11-12 09:21 jiftle 阅读(7) 评论(0) 推荐(0)
摘要: #!/bin/bash # # This file echoes four gradients with 24-bit color codes # to the terminal to demonstrate their functionality. # The foreground escape 阅读全文
posted @ 2025-11-12 09:06 jiftle 阅读(8) 评论(0) 推荐(0)
摘要: nohup emacs --daemon > /dev/null 2>&1 & 步骤 使用emacs --daemon启动emacs server. 使用emacsclient -t 连接到这个server. 即使关闭emacs后,daemon仍然存在,可重复连接;需要关闭的话,M-x kill-e 阅读全文
posted @ 2025-11-12 09:02 jiftle 阅读(28) 评论(0) 推荐(0)
摘要: 导入第三方jar 源码时,经常会报下面错误: Plugin with id 'com.android.library' not found 这是由于创建jar 源码时的 gradle 版本和你本地 studio gradle版本不一致导致。 最简单做法: 1.新建一个项目 2.打开最外层 build 阅读全文
posted @ 2025-11-03 17:13 jiftle 阅读(63) 评论(0) 推荐(0)