Skip to content

Commit

Permalink
cv: start of summary with missing content
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianpjensen committed Jan 24, 2024
1 parent 4e0b064 commit f602d65
Show file tree
Hide file tree
Showing 68 changed files with 11,508 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/compile_tex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,23 @@ jobs:
uses: actions/checkout@v3

# (*) To add a file, add the following section for it
- name: Compile NLP
- name: Compile natural language processing summary
uses: xu-cheng/latex-action@v3
with:
root_file: main.tex
working_directory: natural_language_processing

- name: Compile computer vision summary
uses: xu-cheng/latex-action@v3
with:
root_file: main.tex
working_directory: computer_vision

# (*) To add a file, add the PDF filename to the following
- name: Check PDF files
run: |
file natural_language_processing/main.pdf | grep -q ' PDF '
file computer_vision/main.pdf | grep -q ' PDF '
- name: Upload to GitHub pages
run: |
Expand All @@ -39,11 +46,13 @@ jobs:
# (*) To add a file, add the following command for that file
cp -f natural_language_processing/main.pdf "$GITHUB_WORKSPACE/deploy/natural_language_processing-summary.pdf"
cp -f computer_vision/main.pdf "$GITHUB_WORKSPACE/deploy/computer_vision-summary.pdf"
cd "$GITHUB_WORKSPACE/deploy"
# (*) To add a file, add it to the branch
git add natural_language_processing-summary.pdf
git add computer_vision-summary.pdf
git commit -m "[github actions] deploy"
git push
Expand Down
Binary file added computer_vision/figures/attention.pdf
Binary file not shown.
66 changes: 66 additions & 0 deletions computer_vision/figures/attention.pdf_tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
%% Creator: Inkscape inkscape 0.92.5, www.inkscape.org
%% PDF/EPS/PS + LaTeX output extension by Johan Engelen, 2010
%% Accompanies image file 'attention.pdf' (pdf, eps, ps)
%%
%% To include the image in your LaTeX document, write
%% \input{<filename>.pdf_tex}
%% instead of
%% \includegraphics{<filename>.pdf}
%% To scale the image, write
%% \def\svgwidth{<desired width>}
%% \input{<filename>.pdf_tex}
%% instead of
%% \includegraphics[width=<desired width>]{<filename>.pdf}
%%
%% Images with a different path to the parent latex file can
%% be accessed with the `import' package (which may need to be
%% installed) using
%% \usepackage{import}
%% in the preamble, and then including the image with
%% \import{<path to file>}{<filename>.pdf_tex}
%% Alternatively, one can specify
%% \graphicspath{{<path to file>/}}
%%
%% For more information, please see info/svg-inkscape on CTAN:
%% http://tug.ctan.org/tex-archive/info/svg-inkscape
%%
\begingroup%
\makeatletter%
\providecommand\color[2][]{%
\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}%
\renewcommand\color[2][]{}%
}%
\providecommand\transparent[1]{%
\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}%
\renewcommand\transparent[1]{}%
}%
\providecommand\rotatebox[2]{#2}%
\newcommand*\fsize{\dimexpr\f@size pt\relax}%
\newcommand*\lineheight[1]{\fontsize{\fsize}{#1\fsize}\selectfont}%
\ifx\svgwidth\undefined%
\setlength{\unitlength}{141.73228346bp}%
\ifx\svgscale\undefined%
\relax%
\else%
\setlength{\unitlength}{\unitlength * \real{\svgscale}}%
\fi%
\else%
\setlength{\unitlength}{\svgwidth}%
\fi%
\global\let\svgwidth\undefined%
\global\let\svgscale\undefined%
\makeatother%
\begin{picture}(1,0.8)%
\lineheight{1}%
\setlength\tabcolsep{0pt}%
\put(0.42476261,0.07197754){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}$\mat{Q}=\transpose{\mat{W}}_Q\mat{X}$\end{tabular}}}}%
\put(0.06118153,0.072005){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}$\mat{K}=\transpose{\mat{W}}_K\mat{X}$\end{tabular}}}}%
\put(0.60753353,0.44442017){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}$\mat{V}=\transpose{\mat{W}}_V\mat{X}$\end{tabular}}}}%
\put(0,0){\includegraphics[width=\unitlength,page=1]{attention.pdf}}%
\put(0.16921867,0.29220032){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}$\mathrm{softmax}$\end{tabular}}}}%
\put(0,0){\includegraphics[width=\unitlength,page=2]{attention.pdf}}%
\put(0.24770647,0.44352539){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}$\mat{A}$\end{tabular}}}}%
\put(0,0){\includegraphics[width=\unitlength,page=3]{attention.pdf}}%
\put(0.37050816,0.68366028){\color[rgb]{0,0,0}\makebox(0,0)[lt]{\lineheight{1.25}\smash{\begin{tabular}[t]{l}$\mathrm{output}$\end{tabular}}}}%
\end{picture}%
\endgroup%
235 changes: 235 additions & 0 deletions computer_vision/figures/attention.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added computer_vision/figures/dilated-convolution.pdf
Binary file not shown.
Loading

0 comments on commit f602d65

Please sign in to comment.