Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AlisaLC committed Oct 15, 2023
1 parent 41fc00c commit e67beb4
Show file tree
Hide file tree
Showing 40 changed files with 18,603 additions and 210 deletions.
12 changes: 4 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
*.gem
.bundle/
.jekyll-cache/
_site
.sass-cache
.jekyll-cache
.jekyll-metadata
.sass-cache/
Gemfile.lock
_site/
node_modules/
vendor/
vendor
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sharif-llm.ir
33 changes: 8 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,22 @@
---
layout: home
title: Just the Class
title: LLM Course
nav_exclude: true
permalink: /:path/
seo:
type: Course
name: Just the Class
name: Large Language Models
---

# Just the Class
# Large Language Models Course

Just the Class is a GitHub Pages template developed for the purpose of quickly deploying course websites. In addition to serving plain web pages and files, it provides a boilerplate for:
Welcome to the Large Language Models course at Sharif University of Technology! This course delves into the fascinating world of large language models, a pivotal area of artificial intelligence that has transformed the field of natural language processing (NLP). Over the semester, we will explore the theoretical foundations and practical applications of these cutting-edge models.

- [announcements](announcements.md),
- a [course calendar](calendar.md),
- a [staff](staff.md) page,
- and a weekly [schedule](schedule.md).
In the rapidly evolving landscape of AI, large language models have emerged as powerful tools for understanding, generating, and manipulating human language. We will start by tracing the historical development of language models, from rule-based systems to statistical models, and finally to the modern era of deep learning-based models. These large language models, such as GPT-3 and its successors, have become instrumental in various NLP tasks, including text generation, sentiment analysis, question answering, and more.

Just the Class is a template that extends the popular [Just the Docs](https://github.com/just-the-docs/just-the-docs) theme, which provides a robust and thoroughly-tested foundation for your website. Just the Docs include features such as:
Throughout the course, we will delve into the core components of large language models, including their architecture, training techniques, and fine-tuning strategies. We'll also address important ethical considerations, such as bias mitigation and fairness, which are crucial in the development and deployment of these models. Our aim is not only to equip you with the technical skills to work with large language models but also to foster a deep understanding of the responsible use of AI technologies.

- automatic [navigation structure](https://just-the-docs.github.io/just-the-docs/docs/navigation-structure/),
- instant, full-text [search](https://just-the-docs.github.io/just-the-docs/docs/search/) and page indexing,
- and a set of [UI components](https://just-the-docs.github.io/just-the-docs/docs/ui-components) and authoring [utilities](https://just-the-docs.github.io/just-the-docs/docs/utilities).
By the end of the semester, you'll have gained the knowledge and hands-on experience needed to apply large language models to real-world problems. Whether you aspire to build intelligent chatbots, improve language translation systems, or explore the ethical implications of AI, this course will provide you with a solid foundation to excel in the dynamic and exciting field of large language models.

## Getting Started
Join us on this journey to unlock the potential of large language models and shape the future of AI and NLP. Get ready to explore, innovate, and make a positive impact on the world of artificial intelligence!

Getting started with Just the Class is simple.

1. Create a [new repository based on Just the Class](https://github.com/kevinlin1/just-the-class/generate).
1. Update `_config.yml` and `README.md` with your course information. [Be sure to update the url and baseurl](https://mademistakes.com/mastering-jekyll/site-url-baseurl/).
1. Configure a [publishing source for GitHub Pages](https://help.github.com/en/articles/configuring-a-publishing-source-for-github-pages). Your course website is now live!
1. Edit and create `.md` [Markdown files](https://guides.github.com/features/mastering-markdown/) to add more content pages.

Just the Class has been used by instructors at Stanford University ([CS 161](https://stanford-cs161.github.io/winter2021/)), UC Berkeley ([Data 100](https://ds100.org/fa21/)), UC Santa Barbara ([CSW8](https://ucsb-csw8.github.io/s22/)), Northeastern University ([CS4530/5500](https://neu-se.github.io/CS4530-CS5500-Spring-2021/)), and Carnegie Mellon University ([17-450/17-950](https://cmu-crafting-software.github.io/)). Share your course website and find more examples in the [show and tell discussion](https://github.com/kevinlin1/just-the-class/discussions/categories/show-and-tell)!

### Local development environment

Just the Class requires no special Jekyll plugins and can run on GitHub Pages' standard Jekyll compiler. To setup a local development environment, clone your template repository and follow the GitHub Docs on [Testing your GitHub Pages site locally with Jekyll](https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll).
8 changes: 0 additions & 8 deletions _announcements/week-0.md

This file was deleted.

7 changes: 2 additions & 5 deletions _announcements/week-1.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
title: Week 1 Announcement
week: 1
date: 2019-04-08
date: 2023-10-15
---

1. Create a [new repository based on Just the Class](https://github.com/kevinlin1/just-the-class/generate).
1. Configure a [publishing source for GitHub Pages](https://help.github.com/en/articles/configuring-a-publishing-source-for-github-pages). Your course website is now live!
1. Update `_config.yml` with your course information.
1. Edit and create `.md` [Markdown files](https://guides.github.com/features/mastering-markdown/) to add your content.
Welcome to DS course. please join the [quera](https://quera.org/) to submit the assignments.
28 changes: 16 additions & 12 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,23 @@
# you will see them accessed via {{ site.title }}, {{ site.github_repo }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Just the Class
tagline: A Jekyll template for course websites
description: A modern, highly customizable, responsive Jekyll template for course websites
author: Kevin Lin
baseurl: '/just-the-class' # the subpath of your site, e.g. /blog
url: 'https://kevinl.info' # the base hostname & protocol for your site, e.g. http://example.com
title: DS Course
tagline: Sharif DS
description: Sharif University Data Structures and Algorithms Course
author: Sharif DS
baseurl: '/' # the subpath of your site, e.g. /blog
url: 'https://sharif-ds.github.io' # the base hostname & protocol for your site, e.g. http://example.com
exclude: ["Gemfile", "Gemfile.lock", "LICENSE"]

logo: "/assets/images/logo.png"
favicon_ico: "/assets/images/logo.ico"

# Theme settings
remote_theme: just-the-docs/[email protected].2
remote_theme: just-the-docs/[email protected].1
color_scheme: light
search_enabled: true
heading_anchors: true
permalink: pretty
aux_links:
Kevin Lin:
- 'https://kevinl.info'
Just the Class on GitHub:
- 'https://github.com/kevinlin1/just-the-class'
footer_content:

# Collections for website data
Expand All @@ -40,6 +38,7 @@ collections:
modules:
schedules:
announcements:
lectures:
# Default layouts for each collection type
defaults:
- scope:
Expand All @@ -65,6 +64,11 @@ defaults:
type: announcements
values:
layout: announcement
- scope:
path: ''
type: lectures
values:
layout: lecture

compress_html:
clippings: all
Expand Down
23 changes: 23 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">

<link rel="stylesheet" href="{{ '/assets/css/just-the-docs-default.css' | relative_url }}">

{% include head_nav.html %}

{% if site.search_enabled != false %}
<script src="{{ '/assets/js/vendor/lunr.min.js' | relative_url }}"></script>
{% endif %}

<script src="{{ '/assets/js/just-the-docs.js' | relative_url }}"></script>

<meta name="viewport" content="width=device-width, initial-scale=1">

{% include_cached favicon.html %}

{% include head_custom.html %}

{% seo %}

</head>
3 changes: 3 additions & 0 deletions _includes/head_custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<link rel="stylesheet" href="{{ '/assets/css/bootstrap.css' | relative_url }}">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<script src="{{ '/assets/js/bootstrap.bundle.js' | relative_url }}"></script>
9 changes: 7 additions & 2 deletions _layouts/module.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<h2 class="fs-4" id="{{ page.title | slugify }}" >{{ page.title }}</h2>
<h2 class="fs-4" id="{{ page.title | slugify }}">
{%- if page.week -%}
<strong class="label label-green">Week {{ page.week }}</strong>
{%- endif -%}
{{ page.title }}
</h2>
<div class="module">
{{ content }}
</div>
</div>
58 changes: 52 additions & 6 deletions _layouts/staffer.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<div class="staffer">
{%- if page.photo -%}
<img class="staffer-image" src="{{ site.baseurl }}{{ page.subpath }}{{ page.photo }}" alt="" width="{{ page.width }}" height="{{ page.height }}">
<img class="staffer-image" src="{{ site.baseurl }}{{ page.subpath }}{{ page.photo }}" alt="" width="{{ page.width }}"
height="{{ page.height }}" data-bs-toggle="modal" data-bs-target="#{{ page.name | slugify }}-modal">
{%- endif -%}
<div>
<h3 class="staffer-name" id="{{ page.name | slugify }}">
{%- if page.website -%}
<a href="{{ page.website }}">{{ page.name }}</a>
{%- else -%}
{{ page.name }}
{%- endif -%}
<a data-bs-toggle="modal" data-bs-target="#{{ page.name | slugify }}-modal">{{ page.name }}</a>
</h3>
{%- if page.pronouns -%}
<p class="staffer-pronouns">{{ page.pronouns }}</p>
{%- endif -%}
{%- if page.email -%}
<p><a href="mailto:{{ page.email }}">{{ page.email }}</a></p>
{%- endif -%}
{%- if page.lab -%}
<p><b>Lab:</b>{{ page.lab }}</p>
{%- endif -%}
{%- if page.meta -%}
<dl class="staffer-meta">
{%- for meta in page.meta -%}
Expand All @@ -27,3 +27,49 @@ <h3 class="staffer-name" id="{{ page.name | slugify }}">
{{ content }}
</div>
</div>
<div class="modal fade staffer" id="{{ page.name | slugify }}-modal" tabindex="-1"
aria-labelledby="{{ page.name | slugify }}-modal-label" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="{{ page.name | slugify }}-modal-label">{{ page.name }}</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="container">
<div class="row">
<div class="col-lg-4 text-center">
<img class="staffer-image" src="{{ site.baseurl }}{{ page.subpath }}{{ page.photo }}" alt="" width="{{ page.width }}" height="{{ page.height }}">
</div>
<div class="col-lg-8">
{%- if page.email -%}
<p><a href="mailto:{{ page.email }}"><i class="bi bi-envelope"></i> {{ page.email }}</a></p>
{%- endif -%}
{%- if page.university -%}
<p><b>University:</b> {{ page.university }}</p>
<p><b>Major:</b> {{ page.major }}</p>
<p><b>Degree:</b> {{ page.degree }}</p>
<p><b>Entrance Year:</b> {{ page.ent_year }}</p>
{%- endif -%}
{%- if page.degree and page.degree != "BSc" -%}
<p><b>Field:</b> {{ page.field }}</p>
{%- endif -%}
{%- if page.website -%}
<p><a href="{{ page.website }}"><i class="bi bi-link-45deg"></i> Website</a></p>
{%- endif -%}
{%- if page.github -%}
<p><a href="{{ page.github }}"><i class="bi bi-github"></i> Github</a></p>
{%- endif -%}
{%- if page.linkedin -%}
<p><a href="{{ page.linkedin }}"><i class="bi bi-linkedin"></i> Linkedin</a></p>
{%- endif -%}
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-grey" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
23 changes: 0 additions & 23 deletions _modules/week-01.md

This file was deleted.

25 changes: 6 additions & 19 deletions _modules/week-02.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
---
title: Basic Data Structures
week: 2
title: Complexity analysis
---

Oct 5
: [Linked Lists & Encapsulation](#)
: [3.1](#), [2.2](#), [2.3](#)
Mehr 30
: **Lecture 3**{: .label .label-purple }Time complexity analysis

Oct 6
: **Section**{: .label .label-purple }[Linked Lists](#)
: [Solution](#)

Oct 7
: [Resizing Arrays](#)
: [2.4](#), [2.5](#)

Oct 8
: **Lab**{: .label .label-purple } [Resizing Arrays](#)

Oct 9
: [Runtime Analysis](#)
: [8.1](#), [8.2](#), [8.3](#), [8.4](#)
: **HW 2 due**{: .label .label-red }
Aban 2
: **Lecture 4**{: .label .label-purple }Space complexity analysis
7 changes: 7 additions & 0 deletions _sass/custom/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,10 @@ summary {
}
}
}

.side-bar {
.site-header {
height: 8.75rem;
max-height: 8.75rem;
}
}
3 changes: 2 additions & 1 deletion _sass/custom/module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
border-top: $border $border-color;
font-weight: normal;
text-align: right;
padding: 0.5rem 0.5rem;

+dd {
border-top: $border $border-color;
Expand Down Expand Up @@ -84,7 +85,7 @@
}

dt {
flex: 0 0 62.5%;
flex: 0 0 65%;
margin: 0;
}

Expand Down
6 changes: 1 addition & 5 deletions _sass/custom/schedule.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,10 @@
}

&.lecture {
background-color: $grey-dk-000;
}

&.section {
background-color: $purple-000;
}

&.office-hours {
&.ta-class {
background-color: $blue-000;
}
}
Expand Down
5 changes: 4 additions & 1 deletion _sass/custom/staffer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
border-radius: 50%;
height: 100px;
margin-right: $sp-4;
width: auto;
width: 100px;
object-fit: cover;
cursor: pointer;
}

.anchor-heading {
Expand All @@ -18,6 +20,7 @@
.staffer-meta,
p {
margin: 0 0 $sp-1 0;
cursor: pointer;
}

.staffer-name {
Expand Down
Loading

0 comments on commit e67beb4

Please sign in to comment.