Skip to content

Daily Study

更新: 5/23/2025 字数: 0 字 时长: 0 分钟

Daily Plan

#todo

大模型安全学习

集中大模型安全相关的案例:大模型安全解决方案 - 百度安全

横向联邦学习

联邦学习与传统的分布式机器学习的主要区别在于:

  • 无数据共享:数据完全分散在各客户端节点且只允许本地访问,系统中各实体(参数服务器和客户端)间不允许交换数据源
  • 加密模型交换:参数服务器和客户端之间的信息交换的内容是模型(或者更新量),并且一般会经过加密或者掩码等技术避免模型泄露
  • 低通信开销:每一轮中,客户端对本地模型进行多次更新后才与参数服务器进行一次模型交换,通信频率远低于基于梯度交换的传统方法

博客搜索功能

VitePress 集成了 Algolia 搜索功能,Algolia 是一个强大的搜索引擎,可以为 VitePress 提供快速的搜索体验。要在 VitePress 中集成 Algolia 搜索功能,:直接在 DocSearch官网,点 Apply 申请,然后输入仓库和博客链接,申请成功后会给你一个配置文件,直接放到 VitePress 的 config.ts 中即可。

ts
//Algolia搜索
    search: {
      provider: 'algolia',
      options: {
        appId: 'DVPBWZ7F33',
        apiKey: '156d8274221b76c89f5f1e7ea3397bea',
        indexName: 'zongaohuangio',
        locales: {
          root: {
            placeholder: '搜索文档',
            translations: {
              button: {
                buttonText: '搜索文档',
                buttonAriaLabel: '搜索文档'
              },
              modal: {
                searchBox: {
                  resetButtonTitle: '清除查询条件',
                  resetButtonAriaLabel: '清除查询条件',
                  cancelButtonText: '取消',
                  cancelButtonAriaLabel: '取消'
                },
                startScreen: {
                  recentSearchesTitle: '搜索历史',
                  noRecentSearchesText: '没有搜索历史',
                  saveRecentSearchButtonTitle: '保存至搜索历史',
                  removeRecentSearchButtonTitle: '从搜索历史中移除',
                  favoriteSearchesTitle: '收藏',
                  removeFavoriteSearchButtonTitle: '从收藏中移除'
                },
                errorScreen: {
                  titleText: '无法获取结果',
                  helpText: '你可能需要检查你的网络连接'
                },
                footer: {
                  selectText: '选择',
                  navigateText: '切换',
                  closeText: '关闭',
                  searchByText: '搜索提供者'
                },
                noResultsScreen: {
                  noResultsText: '无法找到相关结果',
                  suggestedQueryText: '你可以尝试查询',
                  reportMissingResultsText: '你认为该查询应该有结果?',
                  reportMissingResultsLinkText: '点击反馈'
                },
              },
            },
          },
        },
      },
    },

菜就多练

本站访客数 人次 本站总访问量