diff --git a/paper/grafzahl_sp.pdf b/paper/grafzahl_sp.pdf deleted file mode 100644 index 5c425e1..0000000 Binary files a/paper/grafzahl_sp.pdf and /dev/null differ diff --git a/paper/grafzahl_sp.qmd b/paper/grafzahl_sp.qmd index 31835bf..fd866ea 100644 --- a/paper/grafzahl_sp.qmd +++ b/paper/grafzahl_sp.qmd @@ -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] diff --git a/paper/grafzahl_sp.tex b/paper/grafzahl_sp.tex index 20a82cb..b076213 100644 --- a/paper/grafzahl_sp.tex +++ b/paper/grafzahl_sp.tex @@ -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 @@ -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} } diff --git a/paper/grafzahl_sp_files/figure-pdf/fig-fig1-1.pdf b/paper/img/fig-fig1-1.pdf similarity index 67% rename from paper/grafzahl_sp_files/figure-pdf/fig-fig1-1.pdf rename to paper/img/fig-fig1-1.pdf index 5cabb51..882fc5d 100644 Binary files a/paper/grafzahl_sp_files/figure-pdf/fig-fig1-1.pdf and b/paper/img/fig-fig1-1.pdf differ