Skip to content

Commit

Permalink
Change output path
Browse files Browse the repository at this point in the history
  • Loading branch information
chainsawriot committed Mar 31, 2023
1 parent a6f4a85 commit c7bb972
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Binary file removed paper/grafzahl_sp.pdf
Binary file not shown.
4 changes: 3 additions & 1 deletion paper/grafzahl_sp.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ firstpage: 76
doi: "10.5117/CCR2023.1.003.CHAN"
bibliography : "grafzahl_sp.bib"
shortauthors: "Chan"
knitr:
opts_chunk:
fig.path: img/
format:
ccr-pdf:
keep-tex: true
---


## Put the R back in Transformers

The purpose of this R package, `grafzahl`, is to provide the missing link between R and modern Transformers language models. Under the hood, the training part is based on the Python packages `transformers` [@wolf-etal-2020-transformers] and `simpletransformers` [@simpletransformers]. The integration based on `reticulate` [@reticulate] is seamless. With this seamless integration provided, communication researchers can produce the most advanced supervised learning models entirely from within R. This package provides the function `grafzahl()`, which emulates the behaviors of `quanteda.textmodels` [@quantedatextmodels]. [^f]
Expand Down
4 changes: 2 additions & 2 deletions paper/grafzahl_sp.tex
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
\pubyear{2023}
\firstpage{76}
\doi{10.5117/CCR2023.1.003.CHAN}
\shortauthors{Chan}\ifdefined\Shaded\renewenvironment{Shaded}{\begin{tcolorbox}[borderline west={3pt}{0pt}{shadecolor}, sharp corners, breakable, boxrule=0pt, interior hidden, enhanced, frame hidden]}{\end{tcolorbox}}\fi
\shortauthors{Chan}\ifdefined\Shaded\renewenvironment{Shaded}{\begin{tcolorbox}[sharp corners, interior hidden, breakable, borderline west={3pt}{0pt}{shadecolor}, boxrule=0pt, enhanced, frame hidden]}{\end{tcolorbox}}\fi

\hypertarget{put-the-r-back-in-transformers}{%
\subsection{Put the R back in
Expand Down Expand Up @@ -466,7 +466,7 @@ \subsubsection{Step 5: Evaluate

\begin{figure}

{\centering \includegraphics{grafzahl_sp_files/figure-pdf/fig-fig1-1.pdf}
{\centering \includegraphics{img/fig-fig1-1.pdf}

}

Expand Down
Binary file not shown.

0 comments on commit c7bb972

Please sign in to comment.