⬆️ deps: Update Node.js dev dependencies#266
Conversation
✅ Deploy Preview for pfccblog ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
6842b13 to
71d38e9
Compare
71d38e9 to
e7ca3bd
Compare
|
@copilot 处理一下 lint-and-fmt 流水线的报错吧 |
Co-authored-by: SigureMo <38436475+SigureMo@users.noreply.github.com>
Head branch was pushed to by a user without write access
Co-authored-by: SigureMo <38436475+SigureMo@users.noreply.github.com>
已修复,提交 |
| 与此同时,线上集训营的**一、二、三等奖**的答辩和评审工作也按计划顺利进行,以下是礼品和获奖选手名单: | ||
|
|
||
| - 一等奖:iPad (第十代) 💻 [@GoldenStain](https://github.com/GoldenStain) | ||
| - 一等奖:iPad (第十代) 💻 [@GoldenStain](https://github.com/GoldenStain) |
There was a problem hiding this comment.
| - 一等奖:iPad (第十代) 💻 [@GoldenStain](https://github.com/GoldenStain) | |
| - 一等奖:iPad(第十代) 💻 [@GoldenStain](https://github.com/GoldenStain) |
| 本期启航计划中涌现出众多优秀营员,一二三等奖的竞争异常激烈,因此我们相应地扩大了获奖名额,以下是奖品及获奖选手名单: | ||
|
|
||
| - 一等奖:iPad (第十代) 💻 [@LittleHeroZZZX](https://github.com/LittleHeroZZZX) | ||
| - 一等奖:iPad (第十代) 💻 [@LittleHeroZZZX](https://github.com/LittleHeroZZZX) |
There was a problem hiding this comment.
| - 一等奖:iPad (第十代) 💻 [@LittleHeroZZZX](https://github.com/LittleHeroZZZX) | |
| - 一等奖:iPad(第十代) 💻 [@LittleHeroZZZX](https://github.com/LittleHeroZZZX) |
| - 仍然只出现在一个 token 上,但这个 token 会是前缀中的某一个,而不是固定在全局的第一个 token。 | ||
|
|
||
| 采用**滑动窗口注意力 (Shifted Window Attention)** 时,attention sink 出现在窗口的“绝对”第一个 token,而非“相对”第一个 token。**较小的窗口大小会抑制 sink 的出现**。 | ||
| 采用**滑动窗口注意力 (Shifted Window Attention)** 时,attention sink 出现在窗口的“绝对”第一个 token,而非“相对”第一个 token。**较小的窗口大小会抑制 sink 的出现**。 |
There was a problem hiding this comment.
| 采用**滑动窗口注意力 (Shifted Window Attention)** 时,attention sink 出现在窗口的“绝对”第一个 token,而非“相对”第一个 token。**较小的窗口大小会抑制 sink 的出现**。 | |
| 采用**滑动窗口注意力(Shifted Window Attention)** 时,attention sink 出现在窗口的“绝对”第一个 token,而非“相对”第一个 token。**较小的窗口大小会抑制 sink 的出现**。 |
| 采用**滑动窗口注意力 (Shifted Window Attention)** 时,attention sink 出现在窗口的“绝对”第一个 token,而非“相对”第一个 token。**较小的窗口大小会抑制 sink 的出现**。 | ||
|
|
||
| 如果一个 token 位于窗口范围内 (即 t≤w,其中 t 为 token 位置,w 为窗口大小),它仍然能够注意到序列的第一个 token,此时模型仍然会在第一个 token 上出现 sink。当 t>w 时,该 token 只能注意到其窗口内的第一个 token (即第 t−w+1 个 token),而这个“相对”的第一个 token 通常不会出现 attention sink。减小窗口大小可以阻止 sink 的出现。 | ||
| 如果一个 token 位于窗口范围内 (即 t≤w,其中 t 为 token 位置,w 为窗口大小),它仍然能够注意到序列的第一个 token,此时模型仍然会在第一个 token 上出现 sink。当 t>w 时,该 token 只能注意到其窗口内的第一个 token (即第 t−w+1 个 token),而这个“相对”的第一个 token 通常不会出现 attention sink。减小窗口大小可以阻止 sink 的出现。 |
There was a problem hiding this comment.
| 如果一个 token 位于窗口范围内 (即 t≤w,其中 t 为 token 位置,w 为窗口大小),它仍然能够注意到序列的第一个 token,此时模型仍然会在第一个 token 上出现 sink。当 t>w 时,该 token 只能注意到其窗口内的第一个 token (即第 t−w+1 个 token),而这个“相对”的第一个 token 通常不会出现 attention sink。减小窗口大小可以阻止 sink 的出现。 | |
| 如果一个 token 位于窗口范围内(即 t≤w,其中 t 为 token 位置,w 为窗口大小),它仍然能够注意到序列的第一个 token,此时模型仍然会在第一个 token 上出现 sink。当 t>w 时,该 token 只能注意到其窗口内的第一个 token(即第 t−w+1 个 token),而这个“相对”的第一个 token 通常不会出现 attention sink。减小窗口大小可以阻止 sink 的出现。 |
|  | ||
|
|
||
| 通过引入可学习的 sink token(作为 implicit bias)或直接在注意力机制中添加可学习的键值偏置 (KV biases) 或仅键偏置 (K biases, 此时$\mathbf{v}^{\star l,h}=\mathbf{0}$),可以将 sink token 从第一个 token 转移到这些引入的 bias 上,且不会损害模型性能 。而仅使用 value bias 则做不到,sink 会回到第一个 token。 | ||
| 通过引入可学习的 sink token(作为 implicit bias)或直接在注意力机制中添加可学习的键值偏置 (KV biases) 或仅键偏置 (K biases, 此时$\mathbf{v}^{\star l,h}=\mathbf{0}$),可以将 sink token 从第一个 token 转移到这些引入的 bias 上,且不会损害模型性能 。而仅使用 value bias 则做不到,sink 会回到第一个 token。 |
There was a problem hiding this comment.
| 通过引入可学习的 sink token(作为 implicit bias)或直接在注意力机制中添加可学习的键值偏置 (KV biases) 或仅键偏置 (K biases, 此时$\mathbf{v}^{\star l,h}=\mathbf{0}$),可以将 sink token 从第一个 token 转移到这些引入的 bias 上,且不会损害模型性能 。而仅使用 value bias 则做不到,sink 会回到第一个 token。 | |
| 通过引入可学习的 sink token(作为 implicit bias)或直接在注意力机制中添加可学习的键值偏置(KV biases)或仅键偏置(K biases, 此时$\mathbf{v}^{\star l,h}=\mathbf{0}$),可以将 sink token 从第一个 token 转移到这些引入的 bias 上,且不会损害模型性能 。而仅使用 value bias 则做不到,sink 会回到第一个 token。 |
Co-authored-by: SigureMo <38436475+SigureMo@users.noreply.github.com>
已在 |
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
Co-authored-by: Nyakku Shigure <sigure.qaq@gmail.com>
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
^2.0.0→^2.1.1^24.13.2→^24.13.3^3.9.1→^3.9.5^0.35.2→^0.35.3Release Notes
lint-md/cli (@lint-md/cli)
v2.1.1Compare Source
Features
--stdinflag for reading markdown from standard input (#35)--fixwrite concurrency limit usingrunTasksWithLimit, prevent memory spike on large batches (#55)--extoption (#37).mdxfile support (#22)Bug Fixes
getThreadCountvalidation before all branches, add stderr output for invalid threadsreadFileconcurrency to match thread count--threadsparameter as positive integerlib/lint-md.jstolib/src/lint-md.jsPerformance
Refactoring
limitConcurrencytorunTasksWithLimit, reduce nestinggetThreadCountreadability with type guardlodash,fs-extraredundant dependencies (#24)Tests
getThreadCountunit tests,runTasksWithLimitconcurrency/order tests, stdin fix content testsprocess.exitinstead of programmatic exittest.eachfor invalid threads andexecFileSyncfor stdin fixmodulePathIgnorePatternsto suppress haste collision warning (#53)Dependencies
globfrom ^8.0.3 to ^13.0.6 (#43)piscinafrom 3.2.0 to 5.1.4 (#32)rimrafwithrm - -rf, moveeslint-configto devDependencies, upgradejestto ^30 (#51)CI/CD
Documentation
--fixvolume permission tipprettier/prettier (prettier)
v3.9.5Compare Source
diff
Markdown: Cap ordered list mark at 999,999,999 (#19351 by @tats-u)
CommonMark parsers only support ordered list item numbers up to 999,999,999.
With this change, Prettier now caps the ordered list item number at 999,999,999 to ensure that the output is correctly parsed as an ordered list by CommonMark parsers. Numbers larger than 999,999,999 are not parsed as list item numbers and are left unchanged in the output:
Markdown: Avoid corrupting empty link with title (#19487 by @andersk)
Do not remove
<>from an inline link or image with an empty URL and a title, as this removal would change its interpretation.Less: Remove extra spaces after
[in map lookups (#19503 by @kovsu)CSS: Prevent addition space in
type()with+(#19516 by @bigandy)This fixes the addition space before
+in CSStype()declaration. For exampletype(<number>+)was being converted intotype(<number> +)which is invalid CSS and does not work.Less: Remove spaces between merge markers and colons (#19517 by @kovsu)
Markdown: Preserve wiki links with aliases (#19527 by @kovsu)
TypeScript: Fix comments being dropped on shorthand
typeimport/export specifiers (#19565 by @kirkwaiblinger)Miscellaneous: Preserving comments'
placementproperty (#19567 by @Janther)Prettier@3.9.0 deleted an undocumented property on comments, which was already used by plugins,
comment.placementis now available again after comment attach.Flow: Stop enforcing empty module declaration to break (#19568 by @fisker)
Angular: Support expression for exhaustive typechecking (#19571 by @fisker)
TypeScript: Ignore comments inside mapped type when checking type parameter comments (#19572 by @fisker)
Less: Fix adjacent block comments being corrupted (#19574 by @kovsu)
JavaScript: Handle dangling comments in
SwitchStatement(#19581 by @fisker)TypeScript: Remove space in comment-only object type (#19583 by @fisker)
v3.9.4Compare Source
v3.9.3Compare Source
v3.9.2Compare Source
lovell/sharp (sharp)
v0.35.3Compare Source
Tighten verification of
textdimensions, TIFF tile dimensions andextendvalues.Improve code bundler support by resolving path to libvips binary.
Increase default concurrency when use of
MALLOC_ARENA_MAXis detected.Emit warning about binaries provided by Electron for use on Linux.
Add
hasAlphaproperty to outputinfo.#4500
TypeScript: Return more precise
Buffer<ArrayBuffer>fromtoBuffer.#4520
@Andarist
Bound
clahewidth and height to avoid signed overflow.#4551
@metsw24-max
Bound
trimmargin to avoid signed overflow.#4552
@metsw24-max
Reject infinite values when validating numbers.
#4553
@metsw24-max
Bound extract region to libvips coordinate limit.
#4555
@metsw24-max
Verify background colour values are numbers.
#4556
@metsw24-max
Bound create and raw input dimensions to coordinate limit.
#4558
@metsw24-max
Tighten recomb and affine matrix verification.
#4560
@chatman-media
Verify cache memory limit to avoid overflow.
#4561
@metsw24-max
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.