Skip to content

Commit e2a0d43

Browse files
committed
Quartz sync: May 20, 2025, 1:41 PM
1 parent f1c1a6e commit e2a0d43

File tree

10 files changed

+174
-141
lines changed

10 files changed

+174
-141
lines changed

content/Philosophy/거대 언어 모델과 언어 철학.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
---
22
description:
33
created: 2025-05-18
4-
modified: 2025-05-18
4+
modified: 2025-05-20
55
---
66

77
_Copyright © 2023 by [YongMan Kim](https://yoma.kr/About+Me) [< 32120153@dankook.ac.kr >](mailto:codeyoma@gmail.com)_
88
_First published Thu Nov 18, 2023_
99

1010
[논문 개요 ppt](https://www.canva.com/design/DAF3kveP8yg/KKuYlvNZYOH0my_MkXLfPg/view?utm_content=DAF3kveP8yg&utm_campaign=designshare&utm_medium=link&utm_source=editor)
1111
# 거대 언어 모델과 언어 철학 - 비트겐슈타인의 언어 철학과의 유사성을 바탕으로
12-
13-
<br>
14-
1512
> 본 논문은 비트겐슈타인의 언어 철학을 바탕으로 현대 인공지능 원리와의 유사점을 찾으려는 시도를 한다. 인공지능의 원리에 대해서 살펴본 다음, 그림 이론과 언어 게임을 바탕으로 자연어 처리 모델인 거대 언어 모델(이하 LLM: Large Language Model)이 어떻게 언어를 다루고 학습하는지 대치한다. 끝으로 인공지능의 언어적 한계를 살펴본다.
1613
17-
<br>
18-
1914
# 목차
2015
1. 서론
2116
2. 인공지능 그리고 거대 언어 모델

content/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description:
2+
description: This blog is an excerpt from my Obsidian notes.
33
title: Hello Again!
44
created: 2025-05-18
55
modified: 2025-05-19

quartz.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ const config: QuartzConfig = {
9595
Plugin.Favicon(),
9696
Plugin.NotFoundPage(),
9797
// Comment out CustomOgImages to speed up build time
98-
Plugin.CustomOgImages(),
98+
// Plugin.CustomOgImages(),
9999
],
100100
},
101101
}

quartz.layout.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,12 @@ export const defaultContentPageLayout: PageLayout = {
7575
return -1
7676
}
7777
},
78+
// mapFn: (node) => {
79+
// if (node.isFolder) {
80+
// node.displayName = "📁 " + node.displayName
81+
// }
82+
// },
7883
}),
79-
// Component.Explorer({
80-
// mapFn: (node) => {
81-
// if (node.isFolder) {
82-
// node.displayName = "📁 " + node.displayName
83-
// }
84-
// },
85-
// }),
8684
// Component.RecentNotes({ limit: 5}),
8785
],
8886
right: [

quartz/components/PageList.tsx

Lines changed: 80 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -7,100 +7,100 @@ import { GlobalConfiguration } from "../cfg"
77
export type SortFn = (f1: QuartzPluginData, f2: QuartzPluginData) => number
88

99
export function byDateAndAlphabetical(cfg: GlobalConfiguration): SortFn {
10-
return (f1, f2) => {
11-
// Sort by date/alphabetical
12-
if (f1.dates && f2.dates) {
13-
// sort descending
14-
return getDate(cfg, f2)!.getTime() - getDate(cfg, f1)!.getTime()
15-
} else if (f1.dates && !f2.dates) {
16-
// prioritize files with dates
17-
return -1
18-
} else if (!f1.dates && f2.dates) {
19-
return 1
20-
}
10+
return (f1, f2) => {
11+
// Sort by date/alphabetical
12+
if (f1.dates && f2.dates) {
13+
// sort descending
14+
return getDate(cfg, f2)!.getTime() - getDate(cfg, f1)!.getTime()
15+
} else if (f1.dates && !f2.dates) {
16+
// prioritize files with dates
17+
return -1
18+
} else if (!f1.dates && f2.dates) {
19+
return 1
20+
}
2121

22-
// otherwise, sort lexographically by title
23-
const f1Title = f1.frontmatter?.title.toLowerCase() ?? ""
24-
const f2Title = f2.frontmatter?.title.toLowerCase() ?? ""
25-
return f1Title.localeCompare(f2Title)
26-
}
22+
// otherwise, sort lexographically by title
23+
const f1Title = f1.frontmatter?.title.toLowerCase() ?? ""
24+
const f2Title = f2.frontmatter?.title.toLowerCase() ?? ""
25+
return f1Title.localeCompare(f2Title)
26+
}
2727
}
2828

2929
export function byDateAndAlphabeticalFolderFirst(cfg: GlobalConfiguration): SortFn {
30-
return (f1, f2) => {
31-
// Sort folders first
32-
const f1IsFolder = isFolderPath(f1.slug ?? "")
33-
const f2IsFolder = isFolderPath(f2.slug ?? "")
34-
if (f1IsFolder && !f2IsFolder) return -1
35-
if (!f1IsFolder && f2IsFolder) return 1
30+
return (f1, f2) => {
31+
// Sort folders first
32+
const f1IsFolder = isFolderPath(f1.slug ?? "")
33+
const f2IsFolder = isFolderPath(f2.slug ?? "")
34+
if (f1IsFolder && !f2IsFolder) return -1
35+
if (!f1IsFolder && f2IsFolder) return 1
3636

37-
// If both are folders or both are files, sort by date/alphabetical
38-
if (f1.dates && f2.dates) {
39-
// sort descending
40-
return getDate(cfg, f2)!.getTime() - getDate(cfg, f1)!.getTime()
41-
} else if (f1.dates && !f2.dates) {
42-
// prioritize files with dates
43-
return -1
44-
} else if (!f1.dates && f2.dates) {
45-
return 1
46-
}
37+
// // If both are folders or both are files, sort by date/alphabetical
38+
// if (f1.dates && f2.dates) {
39+
// // sort descending
40+
// return getDate(cfg, f2)!.getTime() - getDate(cfg, f1)!.getTime()
41+
// } else if (f1.dates && !f2.dates) {
42+
// // prioritize files with dates
43+
// return -1
44+
// } else if (!f1.dates && f2.dates) {
45+
// return 1
46+
// }
4747

48-
// otherwise, sort lexographically by title
49-
const f1Title = f1.frontmatter?.title.toLowerCase() ?? ""
50-
const f2Title = f2.frontmatter?.title.toLowerCase() ?? ""
51-
return f1Title.localeCompare(f2Title)
52-
}
48+
// otherwise, sort lexographically by title
49+
const f1Title = f1.frontmatter?.title.toLowerCase() ?? ""
50+
const f2Title = f2.frontmatter?.title.toLowerCase() ?? ""
51+
return f1Title.localeCompare(f2Title, undefined, { numeric: true })
52+
}
5353
}
5454

5555
type Props = {
56-
limit?: number
57-
sort?: SortFn
56+
limit?: number
57+
sort?: SortFn
5858
} & QuartzComponentProps
5959

6060
export const PageList: QuartzComponent = ({ cfg, fileData, allFiles, limit, sort }: Props) => {
61-
const sorter = sort ?? byDateAndAlphabeticalFolderFirst(cfg)
62-
let list = allFiles.sort(sorter)
63-
if (limit) {
64-
list = list.slice(0, limit)
65-
}
61+
const sorter = sort ?? byDateAndAlphabeticalFolderFirst(cfg)
62+
let list = allFiles.sort(sorter)
63+
if (limit) {
64+
list = list.slice(0, limit)
65+
}
6666

67-
return (
68-
<ul class="section-ul">
69-
{list.map((page) => {
70-
const title = page.frontmatter?.title
71-
const tags = page.frontmatter?.tags ?? []
67+
return (
68+
<ul class="section-ul">
69+
{list.map((page) => {
70+
const title = page.frontmatter?.title
71+
const tags = page.frontmatter?.tags ?? []
7272

73-
return (
74-
<li class="section-li">
75-
<div class="section">
76-
<p class="meta">
77-
{page.dates && <Date date={getDate(cfg, page)!} locale={cfg.locale} />}
78-
</p>
79-
<div class="desc">
80-
<h3>
81-
<a href={resolveRelative(fileData.slug!, page.slug!)} class="internal">
82-
{title}
83-
</a>
84-
</h3>
85-
</div>
86-
<ul class="tags">
87-
{tags.map((tag) => (
88-
<li>
89-
<a
90-
class="internal tag-link"
91-
href={resolveRelative(fileData.slug!, `tags/${tag}` as FullSlug)}
92-
>
93-
{tag}
94-
</a>
95-
</li>
96-
))}
97-
</ul>
98-
</div>
99-
</li>
100-
)
101-
})}
102-
</ul>
103-
)
73+
return (
74+
<li class="section-li">
75+
<div class="section">
76+
<p class="meta">
77+
{page.dates && <Date date={getDate(cfg, page)!} locale={cfg.locale} />}
78+
</p>
79+
<div class="desc">
80+
<h3>
81+
<a href={resolveRelative(fileData.slug!, page.slug!)} class="internal">
82+
{title}
83+
</a>
84+
</h3>
85+
</div>
86+
<ul class="tags">
87+
{tags.map((tag) => (
88+
<li>
89+
<a
90+
class="internal tag-link"
91+
href={resolveRelative(fileData.slug!, `tags/${tag}` as FullSlug)}
92+
>
93+
{tag}
94+
</a>
95+
</li>
96+
))}
97+
</ul>
98+
</div>
99+
</li>
100+
)
101+
})}
102+
</ul>
103+
)
104104
}
105105

106106
PageList.css = `

quartz/components/TagList.tsx

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,41 +3,41 @@ import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } fro
33
import { classNames } from "../util/lang"
44

55
const TagList: QuartzComponent = ({ fileData, displayClass }: QuartzComponentProps) => {
6-
const tags = fileData.frontmatter?.tags
7-
if (tags && tags.length > 0) {
8-
return (
9-
<ul class={classNames(displayClass, "tags")}>
10-
{tags.map((tag) => {
11-
const linkDest = resolveRelative(fileData.slug!, `tags/${tag}` as FullSlug)
12-
return (
13-
<li>
14-
<a href={linkDest} class="internal tag-link">
15-
{tag}
16-
</a>
17-
</li>
18-
)
19-
})}
20-
</ul>
21-
)
22-
} else {
23-
return null
24-
}
6+
const tags = fileData.frontmatter?.tags
7+
if (tags && tags.length > 0) {
8+
return (
9+
<ul class={classNames(displayClass, "tags")}>
10+
{tags.map((tag) => {
11+
const linkDest = resolveRelative(fileData.slug!, `tags/${tag}` as FullSlug)
12+
return (
13+
<li>
14+
<a href={linkDest} class="internal tag-link">
15+
{tag}
16+
</a>
17+
</li>
18+
)
19+
})}
20+
</ul>
21+
)
22+
} else {
23+
return null
24+
}
2525
}
2626

2727
TagList.css = `
2828
.tags {
2929
list-style: none;
3030
display: flex;
3131
padding-left: 0;
32-
gap: 0.4rem;
32+
gap: 0.3rem;
3333
margin: 1rem 0;
3434
flex-wrap: wrap;
3535
}
3636
3737
.section-li > .section > .tags {
3838
justify-content: flex-end;
3939
}
40-
40+
4141
.tags > li {
4242
display: inline-block;
4343
white-space: nowrap;
Lines changed: 37 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,52 @@
11
@use "../../styles/variables.scss" as *;
22

33
ul.section-ul {
4-
list-style: none;
5-
margin-top: 2em;
6-
padding-left: 0;
4+
list-style: none;
5+
margin-top: 2em;
6+
padding-left: 0;
77
}
88

99
li.section-li {
10-
margin-bottom: 1em;
10+
margin-bottom: 1em;
11+
12+
&>.section {
13+
display: grid;
14+
grid-template-columns: fit-content(8em) 1fr;
15+
grid-template-areas:
16+
"meta desc"
17+
". tags";
18+
19+
&>.tags {
20+
grid-area: tags;
21+
display: flex;
22+
padding: 0;
23+
margin-top: 0.2em;
24+
margin-bottom: 0.6em;
25+
justify-content: start;
26+
}
27+
28+
@media (max-width: #{$pageWidth}) {
29+
// grid-template-columns: fit-content(8em) 1fr;
30+
}
31+
32+
&>.desc>h3>a {
33+
background-color: transparent;
34+
}
35+
36+
& .meta {
37+
margin: 0 1em 0 0;
38+
opacity: 0.6;
39+
}
1140

12-
& > .section {
13-
display: grid;
14-
grid-template-columns: fit-content(8em) 3fr 1fr;
1541

16-
@media all and ($mobile) {
17-
& > .tags {
18-
display: none;
19-
}
20-
}
21-
22-
& > .desc > h3 > a {
23-
background-color: transparent;
2442
}
25-
26-
& .meta {
27-
margin: 0 1em 0 0;
28-
opacity: 0.6;
29-
}
30-
}
3143
}
3244

3345
// modifications in popover context
3446
.popover .section {
35-
grid-template-columns: fit-content(8em) 1fr !important;
47+
grid-template-columns: fit-content(8em) 1fr !important;
3648

37-
& > .tags {
38-
display: none;
39-
}
49+
&>.tags {
50+
display: none;
51+
}
4052
}

quartz/plugins/transformers/frontmatter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ export const FrontMatter: QuartzTransformerPlugin<Partial<Options>> = (userOpts)
8686
const tags = coerceToArray(coalesceAliases(data, ["tags", "tag"]))
8787
if (tags) {
8888
data.tags = [...new Set(tags.map((tag: string) => slugTag(tag)))]
89+
data.tags = data.tags.filter((tag: string) => tag !== "review")
8990
}
9091

9192
const aliases = coerceToArray(coalesceAliases(data, ["aliases", "alias"]))

quartz/static/og-image.png

891 KB
Loading

0 commit comments

Comments
 (0)