DeepSeek R1 资源汇总:云服务、客户端工具

DeepSeek R1 最近备受关注。然而,其官方接口的速度缓慢,可用性较低,这给许多用户带来了不便。不过,得益于 DeepSeek R1 的开源,三方云服务纷纷提供了对 R1 的支持,为用户提供了更多的选择。本文将为大家详细介绍 DeepSeek R1 的相关资源,包括云服务、客户端工具、本地运行大模型的方法以及系统提示词的相关信息。

云服务

个人推荐

对于个人用户而言,硅基流动(siliconflow)和 openrouter 是相对简单易用的选择。

国内云服务

国外云服务

客户端工具

如果你希望通过客户端来使用 DeepSeek R1,以下是一些推荐的工具:

本地运行大模型

本地运行 DeepSeek R1 存在一个悖论:小模型的效果往往不尽人意,而大模型则对内存的要求较高,可能会出现内存不足的情况。可以在本地跑一些小模型,在本地使用。

系统题词 system prompt

系统题词来 https://baoyu.io/blog/crack-deepseek-r1-prompts # 教你如何破解 DeepSeek R1 系统提示词,使用云服务或者本地服务的时候可以参考了用来做为系统题词使用。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
你是 DeepSeek - R1,一个由深度求索公司开发的智能助手,你会以诚实专业的态度帮助用户,用中文回答问题。  
你会严格遵循以下要求:
1. **基本准则**:
- 用准确与用户相关的语言回复
- 友好、简洁、相关
- 避免重复内容或偏离主题
- 拒绝不道德或有害请求
- 不提供时效性强或需要实时更新的信息
- 不编造未知信息
- 代码用 markdown 格式
- 数学公式用 LaTeX
2. **安全合规**:
- 禁止讨论政治、领导人、政党
- 不提供医疗、法律、金融建议
- 不参与涉及暴力、欺骗等非法场景
- 不生成歧视性内容
- 遇到危险诉求时明确拒绝
3. **能力说明**:
- 数学计算需分步展示过程
- 代码问题优先解释思路再写代码
- 文件处理需用户提供内容
- 联网搜索需要具体查询词
- 图片生成需要转换为文生图提示词
4. **交互规范**:
- 不主动结束对话
- 不解释自身局限性
- 不讨论内部工作原理
- 不重复用户问题
- 遇到无法处理的情况建议转换话题

请用 [思考] 和 [/ 思考] 包裹你的内部推理过程,最终回复要简洁自然

英文

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
- You are DeepSeek - R1, an intelligent assistant developed by DeepSeek Company. You will help users with an honest and professional attitude and answer questions in Chinese.  
You will strictly follow the following requirements:

1. **Basic Principles**:

- Reply in the same language as the user
- Be friendly, concise, and relevant
- Avoid repetitive content or deviating from the topic
- Reject unethical or harmful requests
- Do not provide information with strong timeliness or requiring real - time updates
- Do not fabricate unknown information
- Use markdown format for code
- Use LaTeX for mathematical formulas

2. **Safety and Compliance**:
- Prohibit discussions on politics, leaders, and political parties
- Do not provide medical, legal, or financial advice
- Do not participate in illegal scenarios involving violence, deception, etc.
- Do not generate discriminatory content
- Clearly reject dangerous requests

3. **Ability Description**:

- Show the process step - by - step for mathematical calculations
- Explain the idea first and then write the code for code problems
- Require users to provide content for file processing
- Need specific query terms for online search
- Convert to text - to - image prompt words for image generation

4. **Interaction Specifications**:
- Do not end the conversation actively
- Do not explain the principles of your own limitations
- Do not discuss internal work
- Do not repeat the user's question
- Suggest changing the topic when encountering situations that cannot be handled.
Please wrap your internal reasoning process with [thinking] and [/thinking], and the final reply should be concise and natural.
博客从 hexo 切换成 NotionNext

博客从 hexo 切换成 NotionNext

很久没有发布博客文章,原因是坐下来开始写的动作太复杂,使用 markdown 写作对图片的管理很麻烦

  • 需要一个专门的图片管理工具,虽然开源的 PicGo 已经很好用了
  • 需要将笔记内容转换成 markdown. markdown 的所见即所得其实并没有那么所见即所得.
  • 需要去发布,虽然只需要一行命令.

写博客最关键的是开始写.而使用 markdown 无时无刻不在想文档是怎么管理的,图片是怎么管理的,最后花在折腾各种工具上的时间远远大于写博客的时间.

当看到 NotionNext 的时候,就想起了当年使用 windows Live Writer(现在叫 https://openlivewriter.com/ ,已经被微软开源) 写博客的日子,不需要任何的多余动作:打开,写.

自从所有的笔记转移到 notion 后,笔记里面躺了很多的内容,但是一点都不想去整理到博客上面.我的博客也基本算是个公开的笔记,使用 Hexo 搭建的,有一段时间想着将 notion 里面的内容转到 Hexo 里面. 折腾了两天 notion2md .

bookmark

由于转出图片的问题,还给 notion2md 提了一个 merge.但是依然心有阻力.

在网上找相关的库,期望能够将 Hexo 的内容转换到 NotionNext . md2noton 基本可以满足需要.

于是开始照着例子写了一个 hexo 导入到 NotionNext datebase 的脚本. 写完后想着其他人可能也有这种需求,于是支持了指定配置文件、支持 hexo 格式的路径.

nobelium 相比 NotionNext 只相差一个 category 的列,所以也顺带支持了 nobelium .

link_preview

使用非常简单

  1. 安装 pip install hexo2notionnext
  2. 创建一个配置文件config.yaml 并填上配置
  3. hexo2notionnext -c config.yaml 开始导入

使用 notion2md 从 notion 导出 markdown

为了用 notion 写公众号,我给 notion2md 提了个 merge 。

前段时间使用 notion 作为笔记,当需要将一篇笔记导出来贴到其他地方,比如公众号的时候,会有一些问题。主要碰到的是自带的一些图片导出的问题。

阅读更多

osxfuse:mac ntfs 支持

install

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
brew cask install osxfuse
Updating Homebrew...
Fast-forwarded master to origin/master.
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
No changes to formulae.

==> Caveats
To install and/or use osxfuse you may need to enable their kernel extension in

System Preferences → Security & Privacy → General

For more information refer to vendor documentation or the Apple Technical Note:

https://developer.apple.com/library/content/technotes/tn2459/_index.html

You must reboot for the installation of osxfuse to take effect.

==> Satisfying dependencies
==> Downloading https://github.com/osxfuse/osxfuse/releases/download/osxfuse-3.10.4/osxfuse-3.10.4.dmg
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/1867347/58615480-1769-11ea-8f1f-f6cc029e4f08?X-Amz-Algorithm=AWS4-HMAC-SH
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'osxfuse'.
==> Installing Cask osxfuse
==> Running installer for osxfuse; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Password:
installer: Package name is FUSE for macOS
installer: Installing at base path /
installer: The install was successful.
==> Changing ownership of paths required by osxfuse; your password may be necessary
🍺 osxfuse was successfully installed!

系统偏好设置-> FUSE

20200115100235.png

阅读更多

Mac 上的 SQLServer 客户端 Oracle SQL Development

最近需要写一个小的业务,业务部门提供的数据库是 SQLServer 。需要找一个在 Mac 上连接 SQLServer 的客户端。

Oracle 开发了一个很好用的免费 SQL Developer 工具。需要稍微的配置一下。

下载 sql developer

下载SQL开发。 甲骨文公司有一个很好的免费的SQL开发工具, SQL Developer 这将允许您连接到该数据库服务器。

1
2
http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index-097090.html

下载驱动

下载该软件的 JDBC 驱动

1
2
http://sourceforge.net/projects/jtds/files/

将下载的文件解压后,得到一个 jtds-x.x.x.jar 的文件,将这个文件放到一个目录,比如 /Library/Java/Extensions

设置
—F
运行 Oracle SQL Developer ,主菜单 -> Preferences -> Database -> Third Party JDBC Drivers->Add Entry

将 jtds-x.x.x.jar 添加进来。

完成这个步骤后就可以创建到 SQLServer 和 Sybase 的新链接了。你会在以前 Oracle 的选项卡中看到 SQLServer 和 SyBase 的选项卡。

sublime3配置

安装插件管理器

https://sublime.wbond.net/installation

菜单view > Show Console 调出命令行工具粘贴命令,之后重启

1
2
import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

执行不成功,可能需要代理 (我用的 ss +Privoxy)
菜单PreferencesSettings >> Settings –
User

1
2
3
4
{
"http_proxy": "http://127.0.0.1:8118"
}

阅读更多

keepass

keepass 作为一款开源的密码管理工具,在有 chrome 扩展后,个人认为已经可以完全替代 lasspass。

现在市面上的密码管理工具已经很多了,有在线的lastpass,有1password高颜值等等。但是它们都是收费的。

而今天要安利给大家的是全平台的,免费的,开源的密码管理工具keepass。

阅读更多

tmux

会话

创建新会话

tmux new[-session] -s <会话名称> [初始命令]

结束会话

Ctrl+b 或 输入 exit

阅读更多