Compare commits

..

35 Commits

Author SHA1 Message Date
a432670752 vault backup: 2025-09-13 16:03:27 2025-09-13 16:03:27 +08:00
ca7709d9d8 vault backup: 2025-09-13 09:23:56 2025-09-13 09:23:56 +08:00
8649325b7b vault backup: 2025-09-10 23:21:26 2025-09-10 23:21:26 +08:00
0863bde155 vault backup: 2025-09-10 22:51:26 2025-09-10 22:51:26 +08:00
8b0126ecb3 vault backup: 2025-09-10 10:23:05 2025-09-10 10:23:05 +08:00
1fac510f07 vault backup: 2025-09-10 10:08:06 2025-09-10 10:08:06 +08:00
87bfcfbec5 vault backup: 2025-06-05 11:19:42 2025-06-05 11:19:42 +08:00
4512bd2fd4 vault backup: 2025-06-05 11:04:42 2025-06-05 11:04:42 +08:00
be7b663a73 vault backup: 2025-06-05 10:52:00 2025-06-05 10:52:00 +08:00
5c2bbcb09c vault backup: 2025-04-02 21:50:54 2025-04-02 21:50:54 +08:00
31e18c8f73 vault backup: 2025-04-02 20:55:58 2025-04-02 20:55:58 +08:00
63f81386a9 vault backup: 2025-02-21 15:27:04 2025-02-21 15:27:04 +08:00
a3bcf83819 vault backup: 2024-11-12 11:16:41 2024-11-12 11:16:41 +08:00
c5c2713ed9 vault backup: 2024-11-11 17:38:25 2024-11-11 17:38:26 +08:00
034ba3290e vault backup: 2024-11-09 19:05:38 2024-11-09 19:05:38 +08:00
6ae9c45a9a vault backup: 2024-10-30 15:26:10 2024-10-30 15:26:10 +08:00
63491217b0 vault backup: 2024-10-29 17:47:59 2024-10-29 17:47:59 +08:00
ccfad0ec59 vault backup: 2024-10-29 16:17:59 2024-10-29 16:17:59 +08:00
0130aa6587 vault backup: 2024-10-29 16:03:03 2024-10-29 16:03:03 +08:00
a270968f0c vault backup: 2024-10-29 15:07:41 2024-10-29 15:07:42 +08:00
054893987f vault backup: 2024-10-29 14:52:58 2024-10-29 14:52:58 +08:00
RainBus
3b706455bb vault backup: 2024-10-15 19:07:47 2024-10-15 19:07:47 +08:00
RainBus
ba8a41ce65 vault backup: 2024-10-15 15:53:16 2024-10-15 15:53:16 +08:00
RainBus
e7f2988306 vault backup: 2024-10-14 15:26:38 2024-10-14 15:26:38 +08:00
RainBus
89bcd15ba6 vault backup: 2024-09-29 21:04:22 2024-09-29 21:04:22 +08:00
RainBus
fb4c240c9f vault backup: 2024-09-29 20:49:22 2024-09-29 20:49:22 +08:00
RainBus
64b8bc34f0 vault backup: 2024-09-29 20:34:22 2024-09-29 20:34:22 +08:00
RainBus
28903041ae vault backup: 2024-09-29 20:19:22 2024-09-29 20:19:22 +08:00
RainBus
a8663a6f6d vault backup: 2024-09-29 20:04:22 2024-09-29 20:04:22 +08:00
RainBus
0626f8579e vault backup: 2024-09-29 17:23:51 2024-09-29 17:23:51 +08:00
RainBus
cca4694a2b vault backup: 2024-09-29 16:20:52 2024-09-29 16:20:52 +08:00
RainBus
c369cb4ae1 vault backup: 2024-09-29 16:06:10 2024-09-29 16:06:10 +08:00
RainBus
3531b107e4 vault backup: 2024-09-29 15:50:52 2024-09-29 15:50:52 +08:00
RainBus
c493060783 vault backup: 2024-09-29 15:36:20 2024-09-29 15:36:20 +08:00
2a74099e56 vault backup: 2024-09-03 17:17:59 2024-09-03 17:17:59 +08:00
38 changed files with 13272 additions and 79880 deletions

2
.obsidian/app.json vendored
View File

@@ -1,7 +1,7 @@
{ {
"promptDelete": false, "promptDelete": false,
"newLinkFormat": "relative", "newLinkFormat": "relative",
"attachmentFolderPath": "./assets/Diffusion学习笔记", "attachmentFolderPath": "./assets/未命名",
"showUnsupportedFiles": false, "showUnsupportedFiles": false,
"newFileLocation": "current", "newFileLocation": "current",
"useMarkdownLinks": true, "useMarkdownLinks": true,

View File

@@ -1,18 +1,34 @@
[ {
"file-explorer", "file-explorer": true,
"global-search", "global-search": true,
"switcher", "switcher": true,
"graph", "graph": true,
"backlink", "backlink": true,
"outgoing-link", "canvas": false,
"tag-pane", "outgoing-link": true,
"page-preview", "tag-pane": true,
"templates", "page-preview": true,
"note-composer", "daily-notes": false,
"command-palette", "templates": true,
"editor-status", "note-composer": true,
"bookmarks", "command-palette": true,
"outline", "slash-command": false,
"word-count", "editor-status": true,
"file-recovery" "starred": true,
] "markdown-importer": false,
"zk-prefixer": false,
"random-note": false,
"outline": true,
"word-count": true,
"slides": false,
"audio-recorder": false,
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": false,
"bookmarks": true,
"properties": false,
"webviewer": false,
"footnotes": false,
"bases": true
}

File diff suppressed because one or more lines are too long

View File

@@ -1,9 +1,9 @@
{ {
"id": "easy-typing-obsidian", "id": "easy-typing-obsidian",
"name": "Easy Typing", "name": "Easy Typing",
"version": "5.5.0", "version": "5.5.11",
"minAppVersion": "0.15.0", "minAppVersion": "0.15.0",
"description": "Autoformat your note as typing.(Auto captalize, autospace)", "description": "This plugin aims to enhance and optimize the editing experience in Obsidian",
"author": "yaozhuwa", "author": "yaozhuwa",
"authorUrl": "https://github.com/Yaozhuwa", "authorUrl": "https://github.com/Yaozhuwa",
"isDesktopOnly": false, "isDesktopOnly": false,

View File

@@ -1,7 +1,23 @@
{ {
"attachmentFolderPath": "./assets/${filename}", "attachmentFolderPath": "./assets/${filename}",
"pastedImageFileName": "img-${date}", "attachmentRenameMode": "Only pasted images",
"dateTimeFormat": "YYMMDDHHmmssSSS", "customTokensStr": "",
"autoRenameFolder": true, "duplicateNameSeparator": " ",
"autoRenameFiles": true "emptyAttachmentFolderBehavior": "DeleteWithEmptyParents",
"excludePaths": [],
"generatedAttachmentFilename": "file-${date:YYYYMMDDHHmmssSSS}",
"includePaths": [],
"jpegQuality": 0.8,
"shouldConvertPastedImagesToJpeg": false,
"shouldDeleteOrphanAttachments": false,
"shouldRenameAttachmentFiles": true,
"shouldRenameAttachmentFolder": true,
"shouldRenameAttachmentsToLowerCase": false,
"shouldRenameCollectedAttachments": false,
"specialCharacters": "#^[]|*\\<>:?",
"specialCharactersReplacement": "-",
"treatAsAttachmentExtensions": [
".excalidraw.md"
],
"warningVersion": "0.0.0"
} }

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,11 @@
{ {
"id": "obsidian-custom-attachment-location", "id": "obsidian-custom-attachment-location",
"name": "Custom Attachment Location", "name": "Custom Attachment Location",
"version": "0.0.9", "version": "4.27.5",
"minAppVersion": "0.12.17", "minAppVersion": "1.7.4",
"description": "Customize attachment location with variables($filename, $data, etc) like typora.", "description": "Customize attachment location with variables($filename, $data, etc) like typora.",
"author": "RainCat1998", "author": "RainCat1998",
"authorUrl": "https://github.com/RainCat1998", "authorUrl": "https://github.com/RainCat1998/",
"isDesktopOnly": true "isDesktopOnly": false,
"fundingUrl": "https://www.buymeacoffee.com/mnaoumov"
} }

View File

@@ -5,10 +5,14 @@
"embedUseExcalidrawFolder": false, "embedUseExcalidrawFolder": false,
"templateFilePath": "Excalidraw/Template.excalidraw", "templateFilePath": "Excalidraw/Template.excalidraw",
"scriptFolderPath": "Excalidraw/Scripts", "scriptFolderPath": "Excalidraw/Scripts",
"fontAssetsPath": "Excalidraw/CJK Fonts",
"loadChineseFonts": false,
"loadJapaneseFonts": false,
"loadKoreanFonts": false,
"compress": true, "compress": true,
"decompressForMDView": false, "decompressForMDView": false,
"onceOffCompressFlagReset": true, "onceOffCompressFlagReset": true,
"onceOffGPTVersionReset": false, "onceOffGPTVersionReset": true,
"autosave": true, "autosave": true,
"autosaveIntervalDesktop": 15000, "autosaveIntervalDesktop": 15000,
"autosaveIntervalMobile": 10000, "autosaveIntervalMobile": 10000,
@@ -22,12 +26,14 @@
"annotatePreserveSize": false, "annotatePreserveSize": false,
"displaySVGInPreview": true, "displaySVGInPreview": true,
"previewImageType": "SVGIMG", "previewImageType": "SVGIMG",
"renderingConcurrency": 3,
"allowImageCache": true, "allowImageCache": true,
"allowImageCacheInScene": true, "allowImageCacheInScene": true,
"displayExportedImageIfAvailable": false, "displayExportedImageIfAvailable": false,
"previewMatchObsidianTheme": false, "previewMatchObsidianTheme": false,
"width": "400", "width": "400",
"height": "", "height": "",
"overrideObsidianFontSize": false,
"dynamicStyling": "colorful", "dynamicStyling": "colorful",
"isLeftHanded": false, "isLeftHanded": false,
"iframeMatchExcalidrawTheme": true, "iframeMatchExcalidrawTheme": true,
@@ -36,6 +42,8 @@
"matchThemeTrigger": false, "matchThemeTrigger": false,
"defaultMode": "normal", "defaultMode": "normal",
"defaultPenMode": "never", "defaultPenMode": "never",
"penModeDoubleTapEraser": true,
"penModeSingleFingerPanning": true,
"penModeCrosshairVisible": false, "penModeCrosshairVisible": false,
"renderImageInMarkdownReadingMode": false, "renderImageInMarkdownReadingMode": false,
"renderImageInHoverPreviewForMDNotes": false, "renderImageInHoverPreviewForMDNotes": false,
@@ -105,10 +113,11 @@
"mdCSS": "", "mdCSS": "",
"scriptEngineSettings": {}, "scriptEngineSettings": {},
"defaultTrayMode": true, "defaultTrayMode": true,
"previousRelease": "2.3.0", "previousRelease": "2.8.3",
"showReleaseNotes": true, "showReleaseNotes": true,
"showNewVersionNotification": true, "showNewVersionNotification": true,
"latexBoilerplate": "\\color{blue}", "latexBoilerplate": "\\color{blue}",
"latexPreambleLocation": "preamble.sty",
"taskboneEnabled": false, "taskboneEnabled": false,
"taskboneAPIkey": "", "taskboneAPIkey": "",
"pinnedScripts": [], "pinnedScripts": [],
@@ -427,6 +436,7 @@
"numberOfCustomPens": 0, "numberOfCustomPens": 0,
"pdfScale": 4, "pdfScale": 4,
"pdfBorderBox": true, "pdfBorderBox": true,
"pdfFrame": false,
"pdfGapSize": 20, "pdfGapSize": 20,
"pdfGroupPages": false, "pdfGroupPages": false,
"pdfLockAfterImport": true, "pdfLockAfterImport": true,
@@ -434,6 +444,11 @@
"pdfNumRows": 1, "pdfNumRows": 1,
"pdfDirection": "right", "pdfDirection": "right",
"pdfImportScale": 0.3, "pdfImportScale": 0.3,
"gridSettings": {
"DYNAMIC_COLOR": true,
"COLOR": "#000000",
"OPACITY": 50
},
"laserSettings": { "laserSettings": {
"DECAY_LENGTH": 50, "DECAY_LENGTH": 50,
"DECAY_TIME": 1000, "DECAY_TIME": 1000,
@@ -450,6 +465,7 @@
"borderOpacity": 0, "borderOpacity": 0,
"filenameVisible": false "filenameVisible": false
}, },
"markdownNodeOneClickEditing": false,
"canvasImmersiveEmbed": true, "canvasImmersiveEmbed": true,
"startupScriptPath": "", "startupScriptPath": "",
"openAIAPIToken": "", "openAIAPIToken": "",
@@ -748,8 +764,39 @@
"areaZoomLimit": 1, "areaZoomLimit": 1,
"longPressDesktop": 500, "longPressDesktop": 500,
"longPressMobile": 500, "longPressMobile": 500,
"doubleClickLinkOpenViewMode": true,
"isDebugMode": false, "isDebugMode": false,
"rank": "Bronze", "rank": "Bronze",
"modifierKeyOverrides": [
{
"modifiers": [
"Mod"
],
"key": "Enter"
},
{
"modifiers": [
"Mod"
],
"key": "k"
},
{
"modifiers": [
"Mod"
],
"key": "G"
}
],
"showSplashscreen": true,
"pdfSettings": {
"pageSize": "A4",
"pageOrientation": "portrait",
"fitToPage": 1,
"paperColor": "white",
"customPaperColor": "#ffffff",
"alignment": "center",
"margin": "normal"
},
"autosaveInterval": 15000, "autosaveInterval": 15000,
"mathjaxSourceURL": "https://cdn.jsdelivr.net/npm/mathjax@3.2.1/es5/tex-svg.js" "mathjaxSourceURL": "https://cdn.jsdelivr.net/npm/mathjax@3.2.1/es5/tex-svg.js"
} }

File diff suppressed because one or more lines are too long

View File

@@ -1,11 +1,11 @@
{ {
"id": "obsidian-excalidraw-plugin", "id": "obsidian-excalidraw-plugin",
"name": "Excalidraw", "name": "Excalidraw",
"version": "2.3.0", "version": "2.8.3",
"minAppVersion": "1.1.6", "minAppVersion": "1.1.6",
"description": "An Obsidian plugin to edit and view Excalidraw drawings", "description": "An Obsidian plugin to edit and view Excalidraw drawings",
"author": "Zsolt Viczian", "author": "Zsolt Viczian",
"authorUrl": "https://zsolt.blog", "authorUrl": "https://www.zsolt.blog",
"fundingUrl": "https://ko-fi.com/zsolt", "fundingUrl": "https://ko-fi.com/zsolt",
"helpUrl": "https://github.com/zsviczian/obsidian-excalidraw-plugin#readme", "helpUrl": "https://github.com/zsviczian/obsidian-excalidraw-plugin#readme",
"isDesktopOnly": false "isDesktopOnly": false

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -6,5 +6,5 @@
"description": "Integrate Git version control with automatic backup and other advanced features.", "description": "Integrate Git version control with automatic backup and other advanced features.",
"isDesktopOnly": false, "isDesktopOnly": false,
"fundingUrl": "https://ko-fi.com/vinzent", "fundingUrl": "https://ko-fi.com/vinzent",
"version": "2.25.0" "version": "2.31.1"
} }

View File

@@ -0,0 +1,23 @@
#!/bin/sh
PROMPT="$1"
TEMP_FILE="$OBSIDIAN_GIT_CREDENTIALS_INPUT"
cleanup() {
rm -f "$TEMP_FILE" "$TEMP_FILE.response"
}
trap cleanup EXIT
echo "$PROMPT" > "$TEMP_FILE"
while [ ! -e "$TEMP_FILE.response" ]; do
if [ ! -e "$TEMP_FILE" ]; then
echo "Trigger file got removed: Abort" >&2
exit 1
fi
sleep 0.1
done
RESPONSE=$(cat "$TEMP_FILE.response")
echo "$RESPONSE"

View File

@@ -39,6 +39,10 @@
margin-right: auto; margin-right: auto;
} }
.obsidian-git-disabled {
opacity: 0.5;
}
.obsidian-git-center-button { .obsidian-git-center-button {
display: block; display: block;
margin: 20px auto; margin: 20px auto;
@@ -560,3 +564,13 @@
display: none; display: none;
} }
} }
.git-unified-diff-view,
.git-split-diff-view .cm-deletedLine .cm-changedText {
background-color: #ee443330;
}
.git-unified-diff-view,
.git-split-diff-view .cm-insertedLine .cm-changedText {
background-color: #22bb2230;
}

View File

@@ -43,10 +43,13 @@
"enabled": false, "enabled": false,
"date-created": true, "date-created": true,
"date-created-key": "date created", "date-created-key": "date created",
"force-retention-of-create-value": false,
"date-modified": true, "date-modified": true,
"date-modified-key": "date modified", "date-modified-key": "date modified",
"format": "dddd, MMMM Do YYYY, h:mm:ss a" "format": "dddd, MMMM Do YYYY, h:mm:ss a",
"date-created-source-of-truth": "file system",
"date-modified-source-of-truth": "file system",
"convert-to-utc": false,
"update-on-file-contents-updated": "never"
}, },
"yaml-title": { "yaml-title": {
"enabled": false, "enabled": false,
@@ -57,7 +60,8 @@
"enabled": false, "enabled": false,
"preserve-existing-alias-section-style": true, "preserve-existing-alias-section-style": true,
"keep-alias-that-matches-the-filename": false, "keep-alias-that-matches-the-filename": false,
"use-yaml-key-to-keep-track-of-old-filename-or-heading": true "use-yaml-key-to-keep-track-of-old-filename-or-heading": true,
"alias-helper-key": "linter-yaml-title-alias"
}, },
"capitalize-headings": { "capitalize-headings": {
"enabled": false, "enabled": false,
@@ -91,7 +95,9 @@
}, },
"auto-correct-common-misspellings": { "auto-correct-common-misspellings": {
"enabled": false, "enabled": false,
"ignore-words": "" "ignore-words": "",
"skip-words-with-multiple-capitals": false,
"extra-auto-correct-files": []
}, },
"convert-bullet-list-markers": { "convert-bullet-list-markers": {
"enabled": false "enabled": false
@@ -101,7 +107,8 @@
"style": "consistent" "style": "consistent"
}, },
"no-bare-urls": { "no-bare-urls": {
"enabled": false "enabled": false,
"no-bare-uris": false
}, },
"ordered-list-style": { "ordered-list-style": {
"enabled": false, "enabled": false,
@@ -128,7 +135,8 @@
"style": "consistent" "style": "consistent"
}, },
"two-spaces-between-lines-with-content": { "two-spaces-between-lines-with-content": {
"enabled": false "enabled": false,
"line-break-indicator": " "
}, },
"unordered-list-style": { "unordered-list-style": {
"enabled": false, "enabled": false,
@@ -188,7 +196,9 @@
"enabled": false "enabled": false
}, },
"space-between-chinese-japanese-or-korean-and-english-or-numbers": { "space-between-chinese-japanese-or-korean-and-english-or-numbers": {
"enabled": false "enabled": false,
"english-symbols-punctuation-before": "-+;:'\"°%$)]",
"english-symbols-punctuation-after": "-+'\"([¥$"
}, },
"trailing-spaces": { "trailing-spaces": {
"enabled": false, "enabled": false,
@@ -217,15 +227,59 @@
}, },
"remove-multiple-blank-lines-on-paste": { "remove-multiple-blank-lines-on-paste": {
"enabled": false "enabled": false
},
"add-blank-line-after-yaml": {
"enabled": false
},
"dedupe-yaml-array-values": {
"enabled": false,
"dedupe-alias-key": true,
"dedupe-tag-key": true,
"dedupe-array-keys": true,
"ignore-keys": ""
},
"sort-yaml-array-values": {
"enabled": false,
"sort-alias-key": true,
"sort-tag-key": true,
"sort-array-keys": true,
"ignore-keys": "",
"sort-order": "Ascending Alphabetical"
},
"blockquote-style": {
"enabled": false,
"style": "space"
},
"default-language-for-code-fences": {
"enabled": false,
"default-language": ""
},
"quote-style": {
"enabled": false,
"single-quote-enabled": true,
"single-quote-style": "''",
"double-quote-enabled": true,
"double-quote-style": "\"\""
},
"empty-line-around-horizontal-rules": {
"enabled": false
},
"remove-space-before-or-after-characters": {
"enabled": false,
"characters-to-remove-space-before": ",!?;:).’”]",
"characters-to-remove-space-after": "¿¡‘“(["
} }
}, },
"lintOnSave": false, "lintOnSave": false,
"recordLintOnSaveLogs": false, "recordLintOnSaveLogs": false,
"displayChanged": true, "displayChanged": true,
"lintOnFileChange": false,
"displayLintOnFileChangeNotice": false,
"settingsConvertedToConfigKeyValues": true, "settingsConvertedToConfigKeyValues": true,
"foldersToIgnore": [], "foldersToIgnore": [],
"filesToIgnore": [],
"linterLocale": "system-default", "linterLocale": "system-default",
"logLevel": 4, "logLevel": "ERROR",
"lintCommands": [], "lintCommands": [],
"customRegexes": [], "customRegexes": [],
"commonStyles": { "commonStyles": {

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{ {
"id": "obsidian-linter", "id": "obsidian-linter",
"name": "Linter", "name": "Linter",
"version": "1.25.0", "version": "1.28.0",
"minAppVersion": "1.5.7", "minAppVersion": "1.5.7",
"description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.", "description": "Formats and styles your notes. It can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular markdown contents like list, italics, and bold styles; and more with the use of custom rule options as well.",
"author": "Victor Tao", "author": "Victor Tao",

View File

@@ -1,244 +1 @@
/** .linter-navigation-item{align-items:center;background-color:var(--background-primary-secondary-alt);border:1px solid var(--background-modifier-border);border-radius:100px;border-radius:8px 8px 2px 2px;cursor:pointer;display:flex;flex-direction:row;font-size:16px;font-weight:700;gap:4px;height:32px;overflow:hidden;padding:4px 6px;transition:color .25s ease-in-out,padding .25s ease-in-out,background-color .35s cubic-bezier(.45,.25,.83,.67),max-width .35s cubic-bezier(.57,.04,.58,1);white-space:nowrap}@media screen and (max-width:1325px){.linter-navigation-item.linter-desktop{max-width:32px}}@media screen and (max-width:800px){.linter-navigation-item.linter-mobile{max-width:32px}}.linter-navigation-item-icon,.linter-warning{padding-top:5px}.linter-navigation-item:hover{border-color:var(--interactive-accent-hover);border-bottom:0}.linter-navigation-item-selected{background-color:var(--interactive-accent)!important;border:1px solid var(--background-modifier-border);border-bottom:0;border-radius:8px 8px 2px 2px;color:var(--text-on-accent);max-width:100%!important;padding:4px 9px!important;transition:color .25s ease-in-out,padding .25s ease-in-out,background-color .35s cubic-bezier(.45,.25,.83,.67),max-width .45s cubic-bezier(.57,.04,.58,1) .2s}.linter{transition:transform .4s 0s}.linter-setting-title{align-items:baseline;display:flex;gap:30px;justify-content:space-between}.linter-setting-title.linter-mobile{justify-content:space-around}.linter-setting-title h1{font-weight:900;margin-bottom:12px;margin-top:6px}.linter-setting-header{margin-bottom:24px;overflow-x:auto;overflow-y:hidden}.linter-setting-header .linter-setting-tab-group{align-items:flex-end;display:flex;flex-wrap:wrap;width:100%}.linter-setting-tab-group{border-bottom:2px solid var(--background-modifier-border);margin-top:6px;padding-left:2px;padding-right:2px}.linter-setting-header .linter-tab-settings{border-left:2px solid transparent;border-right:2px solid transparent;cursor:pointer;font-weight:600;padding:6px 12px;white-space:nowrap}.linter-setting-header .linter-tab-settings:first-child{margin-left:6px}.linter-setting-header .linter-tab-settings.linter-tab-settings-active{border:2px solid var(--background-modifier-border);border-bottom-color:var(--background-primary);border-radius:2px;transform:translateY(2px)}.linter-navigation-item:not(.linter-navigation-item-selected)>span:nth-child(2),.linter-visually-hidden{border:0;clip:rect(0 0 0 0);clip-path:rect(0 0 0 0);height:auto;margin:0;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}textarea.full-width{margin-bottom:.8em;margin-top:.8em;min-height:10em;width:100%}.full-width-textbox-input-wrapper{position:relative}.settings-copy-button{margin:0 0 0 auto;padding:4px;position:absolute;right:.8em;top:.8em}.settings-copy-button svg.linter-clipboard path{fill:var(--text-faint)}.settings-copy-button svg.linter-success path{fill:var(--interactive-success)}.settings-copy-button:active,.settings-copy-button:hover{cursor:pointer}.settings-copy-button:active svg path,.settings-copy-button:hover svg path{fill:var(--text-accent-hover);transition:all .3s ease}.settings-copy-button:focus{outline:0}.linter-custom-regex-replacement-container div:last-child{border:none}.linter-custom-regex-replacement{border:none;border-bottom:var(--hr-thickness) solid;border-color:var(--hr-color);margin-bottom:15px}.linter-custom-regex-replacement-row2{flex-wrap:wrap}.linter-custom-regex-replacement-normal-input{width:40%}.linter-custom-regex-replacement-flags{width:15%}.linter-custom-regex-replacement-label{flex-direction:row-reverse}.linter-custom-regex-replacement-label-input{width:50%}.linter-files-to-ignore-container div:last-child{border:none}.linter-files-to-ignore{border:none;border-bottom:var(--hr-thickness) solid;border-color:var(--hr-color);margin-bottom:15px}.linter-files-to-ignore-normal-input{width:40%}.linter-files-to-ignore-flags{width:15%}.linter-no-border{border:none}.linter-border-bottom{border-bottom:1px solid var(--background-modifier-border);border-top:0;margin-bottom:.75em}.linter-no-padding-top{padding-top:0}.custom-row-description{margin-top:0}.modal-warn,.search-zero-state{font-weight:700}.modal-heading,.search-zero-state{text-align:center}
* Based on https://github.com/Fevol/obsidian-translate/blob/master/src/ui/translator-components/SettingsPage.svelte
*/
.linter-navigation-item {
cursor: pointer;
border-radius: 100px;
border: 1px solid var(--background-modifier-border);
border-radius: 8px 8px 2px 2px;
font-weight: bold;
font-size: 16px;
display: flex;
flex-direction: row;
white-space: nowrap;
padding: 4px 6px;
align-items: center;
gap: 4px;
overflow: hidden;
background-color: var(--background-primary-secondary-alt);
transition: color 0.25s ease-in-out,
padding 0.25s ease-in-out,
background-color 0.35s cubic-bezier(0.45, 0.25, 0.83, 0.67),
max-width 0.35s cubic-bezier(0.57, 0.04, 0.58, 1);
height: 32px;
}
@media screen and (max-width: 1325px) {
.linter-navigation-item.linter-desktop {
max-width: 32px;
}
}
@media screen and (max-width: 800px) {
.linter-navigation-item.linter-mobile {
max-width: 32px;
}
}
.linter-navigation-item-icon {
padding-top: 5px;
}
.linter-navigation-item:hover {
border-color: var(--interactive-accent-hover);
border-bottom: 0px;
}
.linter-navigation-item-selected {
background-color: var(--interactive-accent) !important;
color: var(--text-on-accent);
padding: 4px 9px !important;
max-width: 100% !important;
border: 1px solid var(--background-modifier-border);
border-radius: 8px 8px 2px 2px;
border-bottom: 0px;
transition: color 0.25s ease-in-out,
padding 0.25s ease-in-out,
background-color 0.35s cubic-bezier(0.45, 0.25, 0.83, 0.67),
max-width 0.45s cubic-bezier(0.57, 0.04, 0.58, 1) 0.2s;
}
/**
* Based on https://github.com/phibr0/obsidian-commander/blob/main/src/styles.scss
*/
.linter {
transition: transform 400ms 0s;
}
.linter-setting-title {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 30px;
}
.linter-setting-title.linter-mobile {
justify-content: space-around;
}
.linter-setting-title h1 {
font-weight: 900;
margin-top: 6px;
margin-bottom: 12px;
}
.linter-setting-header {
margin-bottom: 24px;
overflow-y: hidden;
overflow-x: auto;
}
.linter-setting-header .linter-setting-tab-group {
display: flex;
align-items: flex-end;
flex-wrap: wrap;
width: 100%;
}
.linter-setting-tab-group {
margin-top: 6px;
padding-left: 2px;
padding-right: 2px;
border-bottom: 2px solid var(--background-modifier-border);
}
.linter-setting-header .linter-tab-settings {
padding: 6px 12px;
font-weight: 600;
cursor: pointer;
white-space: nowrap;
border-left: 2px solid transparent;
border-right: 2px solid transparent;
}
.linter-setting-header .linter-tab-settings:first-child {
margin-left: 6px;
}
.linter-setting-header .linter-tab-settings.linter-tab-settings-active {
border-bottom: 2px solid var(--background-primary);
transform: translateY(2px);
border-radius: 2px;
border-left: 2px solid var(--background-modifier-border);
border-top: 2px solid var(--background-modifier-border);
border-right: 2px solid var(--background-modifier-border);
}
/** Hide linter element css
* Based on https://zellwk.com/blog/hide-content-accessibly/
*/
.linter-navigation-item:not(.linter-navigation-item-selected) > span:nth-child(2),
.linter-visually-hidden {
border: 0;
clip: rect(0 0 0 0);
clip-path: rect(0 0 0 0);
height: auto;
margin: 0;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
white-space: nowrap;
}
/**
* Full-width text areas
* Based on https://github.com/nyable/obsidian-code-block-enhancer/blob/bb0c636c1e7609b6d26c48a8d7ca15d5cd9abdcf/src/styles/index.scss
*/
textarea.full-width {
width: 100%;
min-height: 10em;
margin-top: 0.8em;
margin-bottom: 0.8em;
}
.full-width-textbox-input-wrapper {
position: relative;
}
.settings-copy-button {
position: absolute;
top: 0.8em;
right: 0.8em;
margin: 0 0 0 auto;
padding: 4px;
}
.settings-copy-button svg.linter-clipboard path {
fill: var(--text-faint);
}
.settings-copy-button svg.linter-success path {
fill: var(--interactive-success);
}
.settings-copy-button:hover, .settings-copy-button:active {
cursor: pointer;
}
.settings-copy-button:hover svg path, .settings-copy-button:active svg path {
fill: var(--text-accent-hover);
transition: all ease 0.3s;
}
.settings-copy-button:focus {
outline: 0;
}
/**
* Custom regex replacement
*/
.linter-custom-regex-replacement-container div:last-child {
border: none;
}
.linter-custom-regex-replacement {
margin-bottom: 15px;
border: none;
border-bottom: var(--hr-thickness) solid;
border-color: var(--hr-color);
}
.linter-custom-regex-replacement-row2 {
flex-wrap: wrap;
}
.linter-custom-regex-replacement-normal-input {
width: 40%;
}
.linter-custom-regex-replacement-flags {
width: 15%;
}
.linter-custom-regex-replacement-label {
flex-direction: row-reverse;
}
.linter-custom-regex-replacement-label-input {
width: 50%;
}
/**
* Files to ignore
*/
.linter-files-to-ignore-container div:last-child {
border: none;
}
.linter-files-to-ignore {
margin-bottom: 15px;
border: none;
border-bottom: var(--hr-thickness) solid;
border-color: var(--hr-color);
}
.linter-files-to-ignore-normal-input {
width: 40%;
}
.linter-files-to-ignore-flags {
width: 15%;
}
/**
* Setting item no border
*/
.linter-no-border {
border: none;
}
/**
* Custom row
*/
.custom-row-description {
margin-top: 0px;
}

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{ {
"id": "obsidian-quiet-outline", "id": "obsidian-quiet-outline",
"name": "Quiet Outline", "name": "Quiet Outline",
"version": "0.3.36", "version": "0.3.40",
"minAppVersion": "0.15.6", "minAppVersion": "0.15.6",
"description": "Make outline quiet and more powerful, including no-auto-expand, rendering heading as markdown, and search support.", "description": "Make outline quiet and more powerful, including no-auto-expand, rendering heading as markdown, and search support.",
"author": "the_tree", "author": "the_tree",

View File

@@ -102,8 +102,11 @@
.n-tree.n-tree--block-line .n-tree-node:not(.n-tree-node--disabled).n-tree-node--selected { .n-tree.n-tree--block-line .n-tree-node:not(.n-tree-node--disabled).n-tree-node--selected {
background-color: transparent !important; background-color: transparent !important;
} }
.mod-left-split .view-content:has(.quiet-outline) { .view-content:has(.quiet-outline) {
padding-bottom: 12px; padding-bottom: 0px;
}
.quiet-outline .n-tree.n-tree--block-node.n-tree--block-line {
padding-bottom: var(--size-4-8);
} }
.quiet-outline { .quiet-outline {
height: 100%; height: 100%;
@@ -125,6 +128,9 @@
.canvas-node .markdown-embed-content .is-flashing { .canvas-node .markdown-embed-content .is-flashing {
mix-blend-mode: normal; mix-blend-mode: normal;
} }
.quiet-outline .n-tree .n-tree-node-content :is(p, h1, h2, h3, h4, h5) {
unicode-bidi: plaintext;
}
/* main.css */ /* main.css */
.quiet-outline .n-tree .n-tree-node-indent { .quiet-outline .n-tree .n-tree-node-indent {

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{ {
"id": "obsidian-vimrc-support", "id": "obsidian-vimrc-support",
"name": "Vimrc Support", "name": "Vimrc Support",
"version": "0.10.1", "version": "0.10.2",
"description": "Auto-load a startup file with Obsidian Vim commands.", "description": "Auto-load a startup file with Obsidian Vim commands.",
"minAppVersion": "0.15.3", "minAppVersion": "0.15.3",
"author": "esm", "author": "esm",

File diff suppressed because one or more lines are too long

View File

@@ -6,7 +6,7 @@
"description": "Improved table navigation, formatting, manipulation, and formulas", "description": "Improved table navigation, formatting, manipulation, and formulas",
"isDesktopOnly": false, "isDesktopOnly": false,
"minAppVersion": "1.0.0", "minAppVersion": "1.0.0",
"version": "0.21.0", "version": "0.22.1",
"js": "main.js", "js": "main.js",
"fundingUrl": { "fundingUrl": {
"Github Sponsor": "https://github.com/sponsors/tgrosinger", "Github Sponsor": "https://github.com/sponsors/tgrosinger",

View File

@@ -1,6 +1,6 @@
{ {
"name": "Minimal", "name": "Minimal",
"version": "7.7.16", "version": "7.7.18",
"minAppVersion": "1.6.1", "minAppVersion": "1.6.1",
"author": "@kepano", "author": "@kepano",
"authorUrl": "https://twitter.com/kepano", "authorUrl": "https://twitter.com/kepano",

File diff suppressed because one or more lines are too long

View File

@@ -23,6 +23,7 @@
"excalidraw-iframe-theme": "text", "excalidraw-iframe-theme": "text",
"excalidraw-open-md": "checkbox", "excalidraw-open-md": "checkbox",
"excalidraw-export-embed-scene": "checkbox", "excalidraw-export-embed-scene": "checkbox",
"excalidraw-embeddable-theme": "text" "excalidraw-embeddable-theme": "text",
"createAt": "date"
} }
} }

View File

@@ -4,19 +4,21 @@
"type": "split", "type": "split",
"children": [ "children": [
{ {
"id": "51fae4b613ef49a5", "id": "7dedcfa144d56140",
"type": "tabs", "type": "tabs",
"children": [ "children": [
{ {
"id": "58e6699d854e8535", "id": "229ca4be3afd5932",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "Study/DL/Diffusion学习笔记.md", "file": "Books/代码随想录/代码模版.md",
"mode": "source", "mode": "source",
"source": false "source": false
} },
"icon": "lucide-file",
"title": "代码模版"
} }
} }
] ]
@@ -38,8 +40,11 @@
"state": { "state": {
"type": "file-explorer", "type": "file-explorer",
"state": { "state": {
"sortOrder": "alphabetical" "sortOrder": "alphabetical",
} "autoReveal": false
},
"icon": "lucide-folder-closed",
"title": "Files"
} }
}, },
{ {
@@ -54,7 +59,9 @@
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical" "sortOrder": "alphabetical"
} },
"icon": "lucide-search",
"title": "Search"
} }
}, },
{ {
@@ -62,7 +69,9 @@
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "starred", "type": "starred",
"state": {} "state": {},
"icon": "lucide-ghost",
"title": "starred"
} }
}, },
{ {
@@ -70,7 +79,9 @@
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "bookmarks", "type": "bookmarks",
"state": {} "state": {},
"icon": "lucide-bookmark",
"title": "Bookmarks"
} }
} }
] ]
@@ -93,7 +104,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "Study/DL/Diffusion学习笔记.md", "file": "Paper/FSL Image Classification/Context Attribute words for Prompt Tuning.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@@ -101,7 +112,9 @@
"searchQuery": "", "searchQuery": "",
"backlinkCollapsed": false, "backlinkCollapsed": false,
"unlinkedCollapsed": true "unlinkedCollapsed": true
} },
"icon": "links-coming-in",
"title": "Backlinks for Context Attribute words for Prompt Tuning"
} }
}, },
{ {
@@ -110,10 +123,12 @@
"state": { "state": {
"type": "outgoing-link", "type": "outgoing-link",
"state": { "state": {
"file": "Study/DL/Diffusion学习笔记.md", "file": "Paper/FSL Image Classification/Context Attribute words for Prompt Tuning.md",
"linksCollapsed": false, "linksCollapsed": false,
"unlinkedCollapsed": true "unlinkedCollapsed": true
} },
"icon": "links-going-out",
"title": "Outgoing links from Context Attribute words for Prompt Tuning"
} }
}, },
{ {
@@ -124,7 +139,9 @@
"state": { "state": {
"sortOrder": "frequency", "sortOrder": "frequency",
"useHierarchy": true "useHierarchy": true
} },
"icon": "lucide-tags",
"title": "Tags"
} }
}, },
{ {
@@ -133,8 +150,10 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "Study/DL/Diffusion学习笔记.md" "file": "Paper/FSL Image Classification/Context Attribute words for Prompt Tuning.md"
} },
"icon": "lucide-list",
"title": "Outline of Context Attribute words for Prompt Tuning"
} }
}, },
{ {
@@ -142,27 +161,31 @@
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "advanced-tables-toolbar", "type": "advanced-tables-toolbar",
"state": {} "state": {},
"icon": "lucide-file",
"title": "Plugin no longer active"
} }
}, },
{ {
"id": "b234f78dcf628209", "id": "ae1094cd7db4fa21",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "quiet-outline", "type": "quiet-outline",
"state": {} "state": {},
"icon": "lines-of-text",
"title": "Quiet Outline"
} }
} }
], ],
"currentTab": 3 "currentTab": 5
} }
], ],
"direction": "horizontal", "direction": "horizontal",
"width": 386.5, "width": 386.5
"collapsed": true
}, },
"left-ribbon": { "left-ribbon": {
"hiddenItems": { "hiddenItems": {
"bases:Create new base": false,
"switcher:Open quick switcher": false, "switcher:Open quick switcher": false,
"graph:Open graph view": false, "graph:Open graph view": false,
"templates:Insert template": false, "templates:Insert template": false,
@@ -170,48 +193,49 @@
"oz-clear-unused-images:Clear Unused Images": false, "oz-clear-unused-images:Clear Unused Images": false,
"table-editor-obsidian:Advanced Tables Toolbar": false, "table-editor-obsidian:Advanced Tables Toolbar": false,
"notion-like-tables:Create loom": false, "notion-like-tables:Create loom": false,
"obsidian-excalidraw-plugin:Create new drawing": false "obsidian-git:Open Git source control": false,
"obsidian-excalidraw-plugin:New drawing": false
} }
}, },
"active": "58e6699d854e8535", "active": "229ca4be3afd5932",
"lastOpenFiles": [ "lastOpenFiles": [
"Books/代码随想录/代码模版.md",
"Research/FSL/提示工程.md",
"Paper/FSL Image Classification/Context Attribute words for Prompt Tuning.md",
"Research/FSL",
"Research",
"conflict-files-obsidian-git.md",
"Paper/CLIP/Learning Transferable Visual Models From Natural Language Supervision.md",
"Paper/CLIP/Cross-Modal Few-Shot Learning with Multimodal Models.md",
"Paper/CLIP/PromptSRCFoundational Model Adaptation without Forgetting.md",
"Paper/CLIP/MaPLeMulti-modal Prompt Learning.md",
"Paper/CLIP/Learning Hierarchical Prompt with Structured Linguistic Knowledge for Vision-Language Models.md",
"Record/DL/CoT Prompt.md",
"Record/DL/LLM.md",
"Record/DL/Loss.md", "Record/DL/Loss.md",
"Paper/Diffusion/Imagic.md",
"Paper/Diffusion/MoMA.md",
"Paper/Diffusion/Tutorial on Diffusion Models for Imaging and Vision.md",
"Study/DL/Diffusion学习笔记.md", "Study/DL/Diffusion学习笔记.md",
"Paper/Diffusion/assets/MoMA/img-240506141200231.png", "Paper/Diffusion/assets/MoMA/img-240506141200231.png",
"Paper/Diffusion/assets/MoMA", "Paper/Diffusion/assets/MoMA",
"Paper/Diffusion/MoMA.md",
"Paper/Diffusion/Tutorial on Diffusion Models for Imaging and Vision.md",
"Record/DL", "Record/DL",
"Record/Untitled.md",
"Paper/Diffusion/Imagic.md",
"Paper/Diffusion/Diffusion Models A Comprehensive Survey of Methods and Applications.md",
"Excalidraw/Drawing 2024-04-25 22.51.48.excalidraw.md",
"Excalidraw",
"Paper/Diffusion/assets/Imagic/img-240425225015478.png", "Paper/Diffusion/assets/Imagic/img-240425225015478.png",
"Paper/Diffusion/assets/Imagic", "Paper/Diffusion/assets/Imagic",
"Paper/Diffusion/assets", "Paper/Diffusion/assets",
"Books/动手学深度学习/基础概念.md", "Paper/Diffusion/Diffusion Models A Comprehensive Survey of Methods and Applications.md",
"Books/动手学深度学习/引言.md", "Paper/CLIP/Open-Vocabulary Semantic Segmentation.md",
"Study/DL/动手学深度学习/预备知识.md", "Paper/Diffusion",
"Paper/FSL Image Classification",
"Paper",
"Books/代码随想录/数组.md", "Books/代码随想录/数组.md",
"Books/代码随想录", "Books/代码随想录",
"Books/Untitled.md",
"Study/DL/动手学深度学习",
"Paper/Untitled.md",
"Paper/Diffusion",
"Study/乐理",
"Paper/CLIP/Open-Vocabulary Semantic Segmentation.md",
"Paper/CLIP/Learning Transferable Visual Models From Natural Language Supervision.md",
"Paper/CLIP",
"Paper/Open-Vocabulary Semantic Segmentation.md", "Paper/Open-Vocabulary Semantic Segmentation.md",
"liangOpenVocabularySemanticSegmentation2023.md", "Books/动手学深度学习/引言.md",
"Paper/未命名.md", "Paper/未命名.md",
"Books/动手学深度学习/基础概念.md",
"liangOpenVocabularySemanticSegmentation2023.md",
"Books/HDLBits/Verilog.md", "Books/HDLBits/Verilog.md",
"Record/Linux/常用软件.md", "Record/Linux/常用软件.md"
"Books/编译原理/Overview.md",
"Study/DL/吴恩达深度学习课程/Lesson 1.md",
"Books/未命名.md",
"Study/DL/吴恩达深度学习课程/Other.md",
"Books/Java Guide/基础语法.md"
] ]
} }

View File

@@ -0,0 +1,58 @@
# 数组
## 二分
```python
def binary_search(nums, target):
left, right = 0, len(nums) - 1
while left <= right:
mid = left + (right - left) // 2 # 防止溢出
if nums[mid] == target:
return mid # 找到目标,返回索引
elif nums[mid] < target:
left = mid + 1 # 目标在右半部分
else:
right = mid - 1 # 目标在左半部分
return -1 # 未找到目标
# 左右边界
def left_bound(nums, target):
left, right = 0, len(nums) - 1
while left <= right:
mid = left + (right - left) // 2
if nums[mid] < target:
left = mid + 1
else:
right = mid - 1
return left if left < len(nums) and nums[left] == target else -1
def right_bound(nums, target):
left, right = 0, len(nums) - 1
while left <= right:
mid = left + (right - left) // 2
if nums[mid] <= target:
left = mid + 1
else:
right = mid - 1
return right if right >= 0 and nums[right] == target else -1
```
## 滑动窗口
```python
def lengthOfLongestSubstring(s: str) -> int:
left = 0
window = {}
result = 0
for right in range(len(s)):
char_right = s[right]
window[char_right] = window.get(char_right, 0) + 1
# 当窗口中有重复字符时,收缩窗口
while window[char_right] > 1:
char_left = s[left]
window[char_left] -= 1
if window[char_left] == 0:
del window[char_left]
left += 1
result = max(result, right - left + 1)
return result
```

View File

@@ -1,21 +0,0 @@
## Introduction
- Two-stage approach
- Method
1. Generate class-agnostic mask proposal.
2. Leverage pre-trained CLIP to perform open-vocabulary classification.
- Assumption
1. The model can generate classagnostic mask proposals.
2. Pre-trained CLIP can transfer its classification performance to masked image proposals.
- Examination
1. Using ground-truth masks as region proposal.
2. Feed masked images to a pre-trained CLIP for classification.
3. Get mIoU of 20.1% on the ADE20K-150 dataset.
4. Use MaskFormer(a mask proposal generator trained on COCO) as an region proposal generator.
5. Select the region proposals with highest overlap with ground-truth masks.
6. Assign the object label to this region.
7. This model reach mIoU of 66.5%. (despite imperfect region proposal)
- Conclusion
Pre-trained CLIP not performed well over masked images, we hypothesize that CLIP trained on natural image which are not cropped or noised by segmentation masks.
## Vocabularies
1. ground-truth masks: refer to the manually annotated masks or pixel-level labels that are used to define the correct segmentation of objects in an image. Each pixel in the ground-truth mask is assigned a specific class label corresponding to the object or region it belongs to.

View File

@@ -0,0 +1,5 @@
---
CreateAt: 2025-02-21
ModleName: CoAPT
Repo: https://github.com/LeeGun4488/CoAPT
---

17
Record/DL/CoT Prompt.md Normal file
View File

@@ -0,0 +1,17 @@
## Standard Few-shot Prompt
Prompt: `Q(question) + A(answer)`
## Few-shot CoT
思维链提示,就是把一个多步骤推理问题,分解成很多个中间步骤,分配给更多的计算量,生成更多的 token再把这些答案拼接在一起进行求解。
Prompt: Q + A(r(rationale) + a(answer))
Answer: LLM同样会给出理由和答案。
## Zero-shot CoT
通过 `Let's think step by step` 可以让 LLM 生成回答问题的思维链。我们可以将 Zero-shot CoT 看作一个 pipeline我们先使用 `Let's think step by step` 让 LLM 尽可能生成一些思考过程,然后将生成的 rationale 和 question 拼接起来,重新配合一个指向 answer 的 Prompt 来激励模型生成答案。
Output: (Q + (Q + Let's think step by step LLM) + The answer is) | LLM
## Self-consistency
自洽性,使用多数投票(majority vote)的方式来提升最终回答的准确性。不同于之前的方法,本方法会生成多个思路链,最后取多数答案作为最终答案。
## LtM
Least-to-Most prompt(最少到最多提示过程),进一步将问题分解为子问题,然后逐个解决。主要分为以下两个阶段:
- 分解问题
将问题分解为子问题:使用 "To solve {Q}, we need to" 来让 LLM 生成子问题。
- 解决问题:
根据生成的问题的依赖顺序依次解决问题。将问题及子问题输入 LLM 进行求解每次解决后将子问题及答案作为下一步骤的输入。

5
Record/DL/LLM.md Normal file
View File

@@ -0,0 +1,5 @@
## 常见超参
- temperature
用于控制 LLM 输出的随机度。高热度更有创造性/难以预测,低热度则更为保守。
- Top-K
即核心采样(nucleus smapling)也是用处控制输出随机性的超参数。它设定了一个概率阈值LLM 会选取累计概率超过该阈值的最佳词汇,然后 LLM 从这组词汇中随机抽取以生成输出。

View File

@@ -0,0 +1,3 @@
多角度提示
语义提示与结构化提示融合
加入视觉信息以验证提示词

View File

@@ -1,3 +1,3 @@
# 证据下界(Evidence Lower Bound) ·# 证据下界(Evidence Lower Bound)
$\text{ELBO} = \mathbb{E}_{q(z)}\left[\log p(x \mid z)\right] - \text{KL}(q(z) \parallel p(z))$ $\text{ELBO} = \mathbb{E}_{q(z)}\left[\log p(x \mid z)\right] - \text{KL}(q(z) \parallel p(z))$