From b7d81aa8b58a75c6aef6a1a36a17885ba79e8308 Mon Sep 17 00:00:00 2001 From: hiro Date: Thu, 16 May 2024 13:35:02 +0700 Subject: [PATCH] feat: Update new guide section --- src/pages/_meta.json | 5 +++++ src/pages/guides/_meta.json | 10 ++++++++++ src/pages/guides/glossaries/_meta.json | 8 ++++++++ src/pages/guides/glossaries/data_format.mdx | 0 src/pages/guides/glossaries/gguf.mdx | 0 src/pages/guides/hardware/_meta.json | 3 +++ src/pages/guides/hardware/inference/_meta.json | 5 +++++ src/pages/guides/hardware/inference/index.mdx | 0 src/pages/guides/index.md | 0 src/pages/guides/llm/_meta.json | 3 +++ src/pages/guides/llm/architecture/_meta.json | 14 ++++++++++++++ src/pages/guides/llm/architecture/gpt.mdx | 0 src/pages/guides/llm/architecture/llama3.mdx | 0 src/pages/guides/llm/architecture/mistral.mdx | 0 src/pages/guides/llm/architecture/mixtral.mdx | 0 theme.config.tsx | 1 + 16 files changed, 49 insertions(+) create mode 100644 src/pages/guides/_meta.json create mode 100644 src/pages/guides/glossaries/_meta.json create mode 100644 src/pages/guides/glossaries/data_format.mdx create mode 100644 src/pages/guides/glossaries/gguf.mdx create mode 100644 src/pages/guides/hardware/_meta.json create mode 100644 src/pages/guides/hardware/inference/_meta.json create mode 100644 src/pages/guides/hardware/inference/index.mdx create mode 100644 src/pages/guides/index.md create mode 100644 src/pages/guides/llm/_meta.json create mode 100644 src/pages/guides/llm/architecture/_meta.json create mode 100644 src/pages/guides/llm/architecture/gpt.mdx create mode 100644 src/pages/guides/llm/architecture/llama3.mdx create mode 100644 src/pages/guides/llm/architecture/mistral.mdx create mode 100644 src/pages/guides/llm/architecture/mixtral.mdx diff --git a/src/pages/_meta.json b/src/pages/_meta.json index 54885285..89a60d46 100644 --- a/src/pages/_meta.json +++ b/src/pages/_meta.json @@ -21,6 +21,11 @@ "title": "Integrations", "display": "hidden" }, + "guides": { + "type": "page", + "title": "Guides", + "display": "hidden" + }, "api-reference": { "type": "page", "title": "API Reference", diff --git a/src/pages/guides/_meta.json b/src/pages/guides/_meta.json new file mode 100644 index 00000000..3ca738a0 --- /dev/null +++ b/src/pages/guides/_meta.json @@ -0,0 +1,10 @@ +{ + "-- Switcher": { + "type": "separator", + "title": "Switcher" + }, + "index": "Overview", + "llm": "LLM Guide", + "hardware": "Hardware Guide", + "glossaries": "Glossaries" + } \ No newline at end of file diff --git a/src/pages/guides/glossaries/_meta.json b/src/pages/guides/glossaries/_meta.json new file mode 100644 index 00000000..4d422ca9 --- /dev/null +++ b/src/pages/guides/glossaries/_meta.json @@ -0,0 +1,8 @@ +{ + "gguf": { + "title": "GGUF and quantization" + }, + "data_format": { + "title": "Data format" + } +} \ No newline at end of file diff --git a/src/pages/guides/glossaries/data_format.mdx b/src/pages/guides/glossaries/data_format.mdx new file mode 100644 index 00000000..e69de29b diff --git a/src/pages/guides/glossaries/gguf.mdx b/src/pages/guides/glossaries/gguf.mdx new file mode 100644 index 00000000..e69de29b diff --git a/src/pages/guides/hardware/_meta.json b/src/pages/guides/hardware/_meta.json new file mode 100644 index 00000000..f2ff7940 --- /dev/null +++ b/src/pages/guides/hardware/_meta.json @@ -0,0 +1,3 @@ +{ + "inference": "Inference" +} \ No newline at end of file diff --git a/src/pages/guides/hardware/inference/_meta.json b/src/pages/guides/hardware/inference/_meta.json new file mode 100644 index 00000000..02af8673 --- /dev/null +++ b/src/pages/guides/hardware/inference/_meta.json @@ -0,0 +1,5 @@ +{ + "index": { + "title": "Inferece lifecycle" + } +} \ No newline at end of file diff --git a/src/pages/guides/hardware/inference/index.mdx b/src/pages/guides/hardware/inference/index.mdx new file mode 100644 index 00000000..e69de29b diff --git a/src/pages/guides/index.md b/src/pages/guides/index.md new file mode 100644 index 00000000..e69de29b diff --git a/src/pages/guides/llm/_meta.json b/src/pages/guides/llm/_meta.json new file mode 100644 index 00000000..c2aa08db --- /dev/null +++ b/src/pages/guides/llm/_meta.json @@ -0,0 +1,3 @@ +{ + "architecture": "Architecture" +} \ No newline at end of file diff --git a/src/pages/guides/llm/architecture/_meta.json b/src/pages/guides/llm/architecture/_meta.json new file mode 100644 index 00000000..80b10155 --- /dev/null +++ b/src/pages/guides/llm/architecture/_meta.json @@ -0,0 +1,14 @@ +{ + "gpt2": { + "title": "OpenAI GPT2" + }, + "llama3": { + "title": "Meta Llama3" + }, + "mistral": { + "title": "Mistral" + }, + "mixtral": { + "title": "Mixtral" + } +} \ No newline at end of file diff --git a/src/pages/guides/llm/architecture/gpt.mdx b/src/pages/guides/llm/architecture/gpt.mdx new file mode 100644 index 00000000..e69de29b diff --git a/src/pages/guides/llm/architecture/llama3.mdx b/src/pages/guides/llm/architecture/llama3.mdx new file mode 100644 index 00000000..e69de29b diff --git a/src/pages/guides/llm/architecture/mistral.mdx b/src/pages/guides/llm/architecture/mistral.mdx new file mode 100644 index 00000000..e69de29b diff --git a/src/pages/guides/llm/architecture/mixtral.mdx b/src/pages/guides/llm/architecture/mixtral.mdx new file mode 100644 index 00000000..e69de29b diff --git a/theme.config.tsx b/theme.config.tsx index e67c8cd4..fc92bf5e 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -58,6 +58,7 @@ const config: DocsThemeConfig = { { title: 'Jan', path: '/docs', Icon: LibraryBig }, { title: 'Cortex', path: '/cortex', Icon: BrainCircuit }, { title: 'Integrations', path: '/integrations', Icon: Blocks }, + { title: "Guides", path: "/guides", Icon: Computer } ].map((item) => asPath.startsWith(item.path) ? (