Skip to content

Commit

Permalink
gist
Browse files Browse the repository at this point in the history
  • Loading branch information
Xmaster6y committed Jan 11, 2024
1 parent 7f8004c commit 4be61ea
Show file tree
Hide file tree
Showing 7 changed files with 209 additions and 19 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ group :jekyll_plugins do
gem "jekyll-seo-tag", "~> 2.6"
gem "jekyll-sitemap", "~> 1.4"
gem 'jekyll-commonmark', '~> 1.4'
gem 'jekyll-gist', '~> 1.5'
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
Expand All @@ -36,3 +37,5 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

gem "webrick", "~> 1.8"

gem "json", "~> 2.7"
45 changes: 31 additions & 14 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,36 +1,44 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.0.8)
activesupport (7.1.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.5)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
base64 (0.1.1)
base64 (0.2.0)
bigdecimal (3.1.5)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.11.1)
colorator (1.1.0)
commonmarker (0.23.10)
concurrent-ruby (1.2.2)
connection_pool (2.4.1)
dnsruby (1.70.0)
simpleidn (~> 0.2.1)
drb (2.2.0)
ruby2_keywords
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
ethon (0.16.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
execjs (2.9.1)
faraday (2.7.11)
base64
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
ffi (1.15.5)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday-net_http (3.1.0)
net-http
ffi (1.16.3)
forwardable-extended (2.6.0)
gemoji (3.0.1)
github-pages (228)
Expand Down Expand Up @@ -198,6 +206,7 @@ GEM
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
json (2.7.1)
kramdown (2.3.2)
rexml
kramdown-parser-gfm (1.1.0)
Expand All @@ -212,15 +221,18 @@ GEM
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.20.0)
nokogiri (1.15.4-x86_64-linux)
mutex_m (0.2.0)
net-http (0.4.1)
uri
nokogiri (1.16.0-x86_64-linux)
racc (~> 1.4)
octokit (4.25.1)
faraday (>= 1, < 3)
sawyer (~> 0.9)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.7)
racc (1.7.1)
racc (1.7.3)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
Expand All @@ -239,14 +251,17 @@ GEM
faraday (>= 0.17.3, < 3)
simpleidn (0.2.1)
unf (~> 0.1.4)
terminal-table (1.6.0)
typhoeus (1.4.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unf_ext (0.0.9.1)
unicode-display_width (1.8.0)
uri (0.13.0)
webrick (1.8.1)

PLATFORMS
Expand All @@ -257,9 +272,11 @@ DEPENDENCIES
http_parser.rb (~> 0.6.0)
jekyll-commonmark (~> 1.4)
jekyll-feed (~> 0.12)
jekyll-gist (~> 1.5)
jekyll-seo-tag (~> 2.6)
jekyll-sitemap (~> 1.4)
jekyll-theme-minimal
json (~> 2.7)
tzinfo (>= 1, < 3)
tzinfo-data
wdm (~> 0.1.1)
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ plugins:
- jekyll-feed
- jekyll-seo-tag
- jekyll-sitemap
- jekyll-gist

# Markdown settings
markdown: CustomMarkProcessor
Expand Down
1 change: 1 addition & 0 deletions _sass/custom-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

@import "blockquotes";
@import "media";
@import "gist";

body {
background-color: #1d1f21;
Expand Down
161 changes: 161 additions & 0 deletions _sass/gist.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
body .gist .highlight {
background: #00000000;
}
body .gist .blob-num,
body .gist .blob-code-inner,
body .gist .pl-s2,
body .gist .pl-stj,
body .gist .pl-vo,
body .gist .pl-id,
body .gist .pl-ii {
color: #fff;
}
body .gist .pl-enti,
body .gist .pl-mb,
body .gist .pl-pdb {
font-weight: 700;
}
body .gist .pl-c,
body .gist .pl-c span,
body .gist .pl-pdc {
color: #bc9458;
font-style: italic;
}
body .gist .pl-c1,
body .gist .pl-pdc1,
body .gist .pl-scp {
color: #6c99bb;
}
body .gist .pl-ent,
body .gist .pl-eoa,
body .gist .pl-eoai,
body .gist .pl-eoai .pl-pde,
body .gist .pl-ko,
body .gist .pl-kolp,
body .gist .pl-mc,
body .gist .pl-mr,
body .gist .pl-ms,
body .gist .pl-s3,
body .gist .pl-sok {
color: #ffe5bb;
}
body .gist .pl-mdh,
body .gist .pl-mdi,
body .gist .pl-mdr {
font-weight: 400;
}
body .gist .pl-mi,
body .gist .pl-pdi {
color: #ffe5bb;
font-style: italic;
}
body .gist .pl-sra,
body .gist .pl-src,
body .gist .pl-sre {
color: #cc3;
}
body .gist .pl-mdht,
body .gist .pl-mi1 {
color: #a5c261;
background: rgba(0, 64, 0, .5);
}
body .gist .pl-md,
body .gist .pl-mdhf {
color: #b83426;
background: rgba(64, 0, 0, .5);
}
body .gist .pl-ib,
body .gist .pl-id,
body .gist .pl-ii,
body .gist .pl-iu {
background: #b83426;
}
body .gist .pl-ms1 {
background: #ffc66d;
}
body .gist .highlight-text-html-basic .pl-ent,
body .gist .pl-cce,
body .gist .pl-cn,
body .gist .pl-coc,
body .gist .pl-enc,
body .gist .pl-ens,
body .gist .pl-k,
body .gist .pl-kos,
body .gist .pl-kou,
body .gist .pl-mh .pl-pdh,
body .gist .pl-mp,
body .gist .pl-mp .pl-s3,
body .gist .pl-mp1 .pl-sf,
body .gist .pl-mq,
body .gist .pl-mri,
body .gist .pl-pde,
body .gist .pl-pse,
body .gist .pl-pse .pl-s2,
body .gist .pl-s,
body .gist .pl-st,
body .gist .pl-stp,
body .gist .pl-sv,
body .gist .pl-v,
body .gist .pl-va,
body .gist .pl-vi,
body .gist .pl-vpf,
body .gist .pl-vpu,
body .gist .pl-mdr {
color: #cc7833;
}
body .gist .pl-cos,
body .gist .pl-ml,
body .gist .pl-pds,
body .gist .pl-s1,
body .gist .pl-sol,
body .gist .pl-mb,
body .gist .pl-pdb {
color: #a5c261;
}
body .gist .pl-e,
body .gist .pl-en,
body .gist .pl-entl,
body .gist .pl-mo,
body .gist .pl-sc,
body .gist .pl-sf,
body .gist .pl-smi,
body .gist .pl-smp,
body .gist .pl-mdh,
body .gist .pl-mdi {
color: #ffc66d;
}
body .gist .pl-ef,
body .gist .pl-enf,
body .gist .pl-enm,
body .gist .pl-entc,
body .gist .pl-entm,
body .gist .pl-eoac,
body .gist .pl-eoac .pl-pde,
body .gist .pl-eoi,
body .gist .pl-mai .pl-sf,
body .gist .pl-mm,
body .gist .pl-pdv,
body .gist .pl-smc,
body .gist .pl-som,
body .gist .pl-sr,
body .gist .pl-enti {
color: #b83426;
}

body .gist .gist-file {
border-color: #555 #555 #444
}
body .gist .gist-data {
border-color: #555;
background-color: #ffffff05;
}
body .gist .gist-meta {
color: #ffffff;
background: #373737;
}
body .gist .gist-meta a {
color: #ffffff
}
body .gist .gist-data .pl-s .pl-s1 {
color: #a5c261
}
2 changes: 1 addition & 1 deletion pages/_drafts/creating-a-startup.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Our startup has now officially 6 months.

## The Pitch

### Why BlockLoads?
### Why [BlockLoads](https://blockloads.com)?

Blockloads is there to transmit the idea of code modularity and components integration.

Expand Down
15 changes: 11 additions & 4 deletions pages/_drafts/layer-wise-relevance-propagation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ readingTime:
>
> LRP is a method that produces pixel relevances for a given output which doesn't to be terminal. Technically the computation happens using a single back-progation pass.

> [!example] Table of content
>
> - [LRP Framework](#lrp-framework)
Expand Down Expand Up @@ -47,13 +46,21 @@ $$

### Technical Details

## Classification Example

## Interpreting Othello Zero

### Game

{% gist fd8ff108d39b0fdd09cb49e6809d2c54 %}

### Network Decomposition

<script src="https://gist.github.com/Xmaster6y/fd8ff108d39b0fdd09cb49e6809d2c54.js"></script>

### Interpretation

> [!quote] References
>
> 1. [[On Pixel-Wise Explanations for Non-Linear Classifier Decisions by Layer-Wise Relevance Propagation]]
> 2. [[A Rigorous Study Of The Deep Taylor Decomposition]]
> 1. Bach, Sebastian, et al. "On Pixel-Wise Explanations for Non-Linear Classifier Decisions by Layer-Wise Relevance Propagation." _PLOS ONE_, vol. 10, no. 7, 2015, p. e0130140, https://doi.org/10.1371/journal.pone.0130140.
> 2. Sixt, Leon, and Tim Landgraf. "A Rigorous Study Of The Deep Taylor Decomposition." _ArXiv_, 2022, /abs/2211.08425.
> 3. Binder, Alexander, et al. "Layer-wise Relevance Propagation for Neural Networks with Local Renormalization Layers." _ArXiv_, 2016, /abs/1604.00825.

0 comments on commit 4be61ea

Please sign in to comment.