Measure Zero


  • About

  • Quotes

  • Notes

  • Sitemap

  • Search

万智牌轮抽简要

2023-06-11 | ~ | Games

基本准备: 了解卡池, 一包牌的稀有度分布. 一般除了炸弹外, 要先抓杀.

常见曲线

  • Brian McCormick. (2023). Guide: How to Curve the Perfect Magic: the Gathering Draft Deck. Epic Stream.

信号 (Signals)

很简单.

  • 上家传的牌里有某个颜色的强牌, 说明很可能上家不打这个颜色, 这个颜色称为开放 (open), 可以考虑抓.
  • 上家传的牌里某个颜色没好牌, 说明上家很可能在打这个颜色, 可以考虑换色.
  • 自己抓的时候也要考虑留下的牌会给下家传达什么信号.

沾色 (Splashing)

  • David Royale. (2021). The Ultimate Guide to Splashing in Draft and Sealed (Examples). Draftsim.

数据: 17lands

17lands 名字来源于 17 地是限制赛最常见的配置.

Read more »

Stockfish NNUE 的网络简介

2023-05-28 | ~ | Machine Learning

As of August 6, the efficiently updatable neural network (NNUE) evaluation has landed in the Stockfish repo!

Both the NNUE and the classical evaluations are available, and can be used to assign a value to a position that is later used in alpha-beta (PVS) search to find the best move. The classical evaluation computes this value as a function of various chess concepts, handcrafted by experts, tested and tuned using fishtest. The NNUE evaluation computes this value with a neural network based on basic inputs. The network is optimized and trained on the evaluations of millions of positions at moderate search depth.

The NNUE evaluation was first introduced in shogi, and ported to Stockfish afterward. It can be evaluated efficiently on CPUs, and exploits the fact that only parts of the neural network need to be updated after a typical chess move.

Introducing NNUE Evaluation 写得非常简明, 回答了很多重要问题.

Read more »

读文章: InstructUIE 和 Flan collection

2023-05-12 | ~ | Machine Learning

随便记两篇文章.

InstructUIE

Wang, X., Zhou, W., Zu, C., Xia, H., Chen, T., Zhang, Y., … & Du, C. (2023). InstructUIE: Multi-task Instruction Tuning for Unified Information Extraction. arXiv preprint arXiv:2304.08085.

和之前生成式 UIE 方法差不多, 把不同抽取任务写成比较统一的格式, 再 seq2seq. 现在生成模型换成了更大的 LLM, 所以低资源下更好; 输入输出格式也换了. 宣称的结果是和有监督的 BERT 相仿, zero-shot 上显著超越 GPT-3.5.

Read more »

ChatDoc 系列简要

2023-05-09 | ~ 2023-08-03 | Machine Learning

ChatDoc 系列有很多实现, 典型流程如下:

  • 解析文档获得文本, 将文本切成小块, 存储各文本块的 embedding 作为索引
  • 获得用户 query 的 embedding, 从文本块 embedding 索引中召回 (kNN) 相关文本块
  • 将 query 和召回的文本块组装成 prompt 调用 LLM 获得答案

下面是一些开源项目及其实现方式区别

Read more »

Stanford Alpaca 简要

2023-04-24 | ~ 2023-04-26 | Machine Learning

主项目: github, blog

衍生项目

  • alpaca-lora
  • Chinese-alpaca-lora
  • japanese-alpaca-lora
  • cabrita 葡萄牙语
  • ymcui/Chinese-LLaMA-Alpaca 额外的中文词表和预训练
  • ydli-ai/Chinese-ChatLLaMA 也有预训练
Read more »

YDK 转 PDF 开发小记

2023-03-25 | ~ | Games

地址: https://ydk2decklist.streamlit.app/

Read more »

苏州邀请赛 B 组战报

2023-03-18 | ~ | Games

线下赛, 3 月 12 日苏州邀请赛 B 组, RIF 20 分钟包干, 4 胜 1 平 2 负, 排名 9/43. 对手很弱, 但打得不好.

Read more »

俄罗斯连珠快棋赛战报

2023-02-19 | ~ | Games

今天想下棋, 打开 vint 一看, 刚好有比赛. 俄罗斯的比赛 (地址), 塔拉山口-10 规则, 5+2 快棋, 8 轮. 最终 4-4 ×〇××〇×〇〇, 排名 15/28.

很久没下棋了, 昨天熬夜, 今天开赛前还在补觉, 满脑子还是国际象棋.

Read more »

Minimum cut 的一个应用

2023-01-14 | ~ | Machine Learning

同事看表格检测的文章

  • Tensmeyer, C., Morariu, V. I., Price, B., Cohen, S., & Martinez, T. (2019, September). Deep splitting and merging for table structure decomposition. In 2019 International Conference on Document Analysis and Recognition (ICDAR) (pp. 114-121). IEEE.

中的 Split Model 的 Inference 那节. 文章采用的表格检测分为两步, 先划若干条竖直线和水平线将图像分割为许多单元格, 再合并单元格得到表格.

Read more »

MLFlow 简介

2023-01-06 | ~ | Machine Learning

管理深度学习实验

可以参考 这个问题 下的回答. 主要需要保存每次实验的

  • 代码 (Git 提交记录)
  • 数据 (路径), 模型
  • 超参数, 指标
  • 日志

保证实验结果好找, 便于复现实验. 这类工具 (满足上述部分功能) 有很多, 比如 TensorBoard; 自己写也可以.

介绍 MLflow

MLflow 是开源的机器学习工作流 (workflow) 管理平台, 提供了 Python, R, Java, REST API 等多种接口. 它是 Spark 团队 (他们还创建了 Databricks 公司) 2018 年的新作, 现在已经到 2.1 版本了.

With origins in academia and the open source community, Databricks was founded in 2013 by the original creators of Apache Spark™, Delta Lake and MLflow.

如果只是管理实验, 那每个人在本地上自己操作就行. MLflow 提供了中心化的管理, 有助于多人协作, 管理模型生命周期. 包含如下四个组件 (最主要的是 tracking 和 model registry).

Read more »
1 2 3 4 … 18
Shiina

Shiina

知乎 豆瓣 bangumi Instagram Weibo
Creative Commons
RSS
© 2019 - 2025   Shiina   CC BY-NC-ND 4.0
RSS  
Powered by Jekyll
 
Theme NexT.Mist