diff --git a/courses/Private-LLMs-and-OSS/.gitignore b/courses/Private-LLMs-and-OSS/.gitignore new file mode 100644 index 0000000..1b22a45 --- /dev/null +++ b/courses/Private-LLMs-and-OSS/.gitignore @@ -0,0 +1,137 @@ +# Generated OSEDA gitignore +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# vuepress v2.x temp and cache directory +.temp +.cache + +# vitepress build output +**/.vitepress/dist + +# vitepress cache directory +**/.vitepress/cache + +# Docusaurus cache and generated files +.docusaurus + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* diff --git a/courses/Private-LLMs-and-OSS/css/custom.css b/courses/Private-LLMs-and-OSS/css/custom.css new file mode 100644 index 0000000..5136329 --- /dev/null +++ b/courses/Private-LLMs-and-OSS/css/custom.css @@ -0,0 +1,115 @@ + +/* sensible styles */ +.reveal section { + font-family: "Arial", sans-serif; +} + +.reveal h1 { + color: #f92672; + text-align: left; + margin: 0 0 0.5em 0; + line-height: 1.2; +} + +.reveal h2 { + text-align: left; +} + + +.left { + text-align: left; +} + + +.horizontal-container { + display: flex; + justify-content: space-between; + align-items: center; + gap: 2em; +} + +.vertical-container { + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: flex-start; + gap: 20pt; +} + +.center-container { + display: flex; + justify-content: center; + align-items: center; +} + +.left { + text-align: left; +} + +/* general slide layout for all sections */ +.reveal .slides section { + display: flex !important; + flex-direction: column; + justify-content: flex-start; + align-items: stretch; + gap: 1em; + padding-top: 2em; + box-sizing: border-box; +} + +.horizontal-container .text { + flex: 1; +} + +.horizontal-container .image { + flex: 1; + max-width: 45%; + height: auto; + object-fit: contain; +} + +.reveal ul { + text-align: left; + margin: -1em 0 0 0; + padding-left: 1.2em; +} + +.reveal .slides section.center-slide { + display: flex !important; + flex-direction: column; + justify-content: center; + align-items: center; + min-height: 100vh; + text-align: center !important; + gap: 1em; +} + +.center-slide h1 { + margin: -1.7em 0 0 0; +} + +.reveal pre.full-code, +.reveal pre.full-code code { + max-height: none !important; + overflow: visible !important; + white-space: pre !important; +} + +.no-wrap { + white-space: nowrap; +} + +.move-up-1 { + margin: -1em 0 0 0 !important; +} + +.move-up-2 { + margin: -2em 0 0 0 !important; +} + +.move-up-3 { + margin: -3em 0 0 0 !important; +} +.move-up-4 { + margin: -4em 0 0 0 !important; +} \ No newline at end of file diff --git a/courses/Private-LLMs-and-OSS/index.html b/courses/Private-LLMs-and-OSS/index.html new file mode 100644 index 0000000..dab5b1c --- /dev/null +++ b/courses/Private-LLMs-and-OSS/index.html @@ -0,0 +1,14 @@ + + +
+ +
+
+
+
+
+ Weight Matrix (W)
+[ 0.01, -0.23, 0.45 ]
[ 0.88, 0.12, -0.01 ]
[ -0.42, 0.99, 0.07 ]
+
+
+
+ ollama run llama3
+
+ >>>> What is the Ollama CLI
+
+
+ + The + Ollama + CLI + is + a + tool + for + running + local + LLMs +
+A pre-trained set of Connection Strengths
+Reproducibility
+You just need a weight file.
+Portability
+Produced on any device, regardless of OS
+Transparency
+Can peek inside, trace through weights
+Democratization
+
+
+
+
+