diff --git a/IUM_12.Publikacja.ipynb b/IUM_12.Publikacja.ipynb
index d94bee9..894cda1 100644
--- a/IUM_12.Publikacja.ipynb
+++ b/IUM_12.Publikacja.ipynb
@@ -3,15 +3,30 @@
{
"cell_type": "markdown",
"id": "honey-resistance",
- "metadata": {},
+ "metadata": {
+ "slideshow": {
+ "slide_type": "slide"
+ }
+ },
"source": [
- "## Przygotowanie publikacji naukowej"
+ "![Logo 1](https://git.wmi.amu.edu.pl/AITech/Szablon/raw/branch/master/Logotyp_AITech1.jpg)\n",
+ "
\n",
+ "
Inżynieria uczenia maszynowego
\n",
+ " 12. Przygotowanie publikacji naukowej [laboratoria]
\n",
+ " Tomasz Ziętkiewicz (2021)
\n",
+ "\n",
+ "\n",
+ "![Logo 2](https://git.wmi.amu.edu.pl/AITech/Szablon/raw/branch/master/Logotyp_AITech2.jpg)"
]
},
{
"cell_type": "markdown",
"id": "harmful-bachelor",
- "metadata": {},
+ "metadata": {
+ "slideshow": {
+ "slide_type": "slide"
+ }
+ },
"source": [
"## Latex\n",
"\n",
@@ -27,8 +42,196 @@
},
{
"cell_type": "markdown",
- "id": "pressing-european",
+ "id": "8db9d4a7",
"metadata": {},
+ "source": [
+ "### Struktura\n",
+ "```latex\n",
+ "\n",
+ "\\documentclass[conference]{IEEEtran}\n",
+ "%\\documentclass[a4paper]{IEEEconf}\n",
+ "\n",
+ "\\usepackage[]{graphicx}\n",
+ "% to typeset algorithms\n",
+ "\\usepackage{algorithmic}\n",
+ "\\usepackage{algorithm}\n",
+ "% to typeset code fragments\n",
+ "\\usepackage{listings}\n",
+ "% to make an accent \\k be available\n",
+ "\\usepackage[OT4,T1]{fontenc}\n",
+ "% provides various features to facilitate writing math formulas and to improve the typographical quality of their output.\n",
+ "\\usepackage[cmex10]{amsmath}\n",
+ "\\interdisplaylinepenalty=2500\n",
+ "% por urls typesetting and breaking\n",
+ "\\usepackage{url}\n",
+ "% for vertical merging table cells\n",
+ "\\usepackage{multirow}\n",
+ "% \\usepackage[utf8]{inputenc}\n",
+ "\n",
+ "\n",
+ "\\title{Research paper structure in LaTeX}\n",
+ "\n",
+ "\n",
+ "%\\author{}\n",
+ "\\name{Tomasz Ziętkiewicz}\n",
+ "\n",
+ "\n",
+ "\\begin{document}\n",
+ "\\maketitle\n",
+ "% \n",
+ "\\begin{abstract}\n",
+ "This paper is an example of a paper structure in \\LaTeX\n",
+ "\\end{abstract}\n",
+ "\n",
+ "\\noindent\\textbf{Index Terms}: speech recognition, error correction, post-processing, post-editing, natural language processing\n",
+ "\n",
+ "\n",
+ "\\section{Introduction}\n",
+ "Introductions has always been very important parts of scientific papers...\n",
+ "\n",
+ "\\section{Related work} \\label{sec:related}\n",
+ "Tips on writing research papers can be found in \\cite{howtowrite}\n",
+ "\n",
+ "\n",
+ "\\section{Data} \\label{sec:data}\n",
+ "Data is prepared using our novel data pipeline presented on figure \\ref{fig:data-piepline}\n",
+ "\n",
+ "\\begin{figure}[htbp]\n",
+ " \\centering\n",
+ " \\label{fig:data-pipeline}\n",
+ " \\includegraphics[scale=0.6]{data-pipeline.pdf}\n",
+ " \\caption{Data preparation pipeline}\n",
+ "\\end{figure}\n",
+ "\n",
+ "\n",
+ "Data statistics are shown in Table \\ref{tab:data}.\n",
+ "Data sets were randomly divided into training, development, and test subsets in a proportion 8:1:1.\n",
+ "\n",
+ "\t\\begin{table}\n",
+ "\t \\caption{Datasets statistics }\n",
+ " \\label{tab:data}\n",
+ " \\centering\n",
+ "\t\t\\begin{tabular}{|l|r|r|r|r|r|}\n",
+ " \t\t\\hline\n",
+ " \t\tLanguage & \\textbf{de-DE} & \\textbf{es-ES} & \\textbf{fr-FR} \\\\\n",
+ " \t\t\\hline\n",
+ " \t\tSentences & $12 242$ & $16 905$ & $7180$ \\\\\n",
+ " \t\tTokens & $37 955$ & $55 567$ & $28 004$ \\\\\n",
+ " \t\t\\hline\n",
+ "\t\t\\end{tabular}\n",
+ "\t\t\\end{table}\n",
+ "\n",
+ "\\section{Method} \\label{sec:method}\n",
+ "The proposed method consists of ...\n",
+ "\n",
+ "\\subsection{Data preparation}\n",
+ "To train the model, a lot of data is needed...\n",
+ "\n",
+ "\\subsection{Architecture}\n",
+ "\n",
+ "\n",
+ "\\section{Results} \\label{sec:results}\n",
+ "Table \\ref{tab:results} presents averaged results.\n",
+ "The metric used is computes as follows:\n",
+ "\\begin{equation}\n",
+ " RMSE = \\sqrt{\\frac{1}{n}\\Sigma_{i=1}^{n}{\\Big(\\frac{d_i -f_i}{\\sigma_i}\\Big)^2}}\n",
+ "\\end{equation} \n",
+ "where ...\n",
+ "\n",
+ " \\begin{table}\n",
+ "\t\t\\begin{tabular}{|l|c|c|c|c|c|}\n",
+ " \\hline \n",
+ " & Train & Test & Dev & - & Eval\\\\ \n",
+ " \\hline \n",
+ " Raw ASR 1best & 9.59 & 12.08 & 12.39 & 45.64 & 27.6\\\\ \n",
+ " \\hline \n",
+ " lattice oracle WER & 3.75 & 4.72 & 4.93 & 30.71 & 17.7\\\\ \n",
+ " \\hline \n",
+ " Edit operation tagger (from 1best) & - & 10.7 & - & - & 24.7\\\\ \n",
+ " \\hline \n",
+ " Absolute WER Reduction & - & $11.42\\%$ & - & - & $10.50\\%$ \\\\ \n",
+ " \\hline \n",
+ " Relative WER Reduction & - & $11.42\\%$ & - & - & $10.50\\%$ \\\\ \n",
+ " \\hline \n",
+ "\t\t\\end{tabular}\n",
+ " \\label{tab:results}\n",
+ "\t\t\\caption{Word Error Rates for input data and the proposed system.}\n",
+ "\t\\end{table}\n",
+ "\n",
+ "\n",
+ "\\section{Conclusions} \\label{sec:conclusions}\n",
+ "We presented a new approach to ASR errors correction problem. As demonstrated using three independent datasets, correction models trained using this approach are effective even for relatively small training datasets. The method allows to precisely control which errors should be included in the model and which of the included ones should be corrected at the inference time. The evaluations performed on the models show that they can significantly improve the ASR results by reducing the WER by more than $20\\%$. All of the models presented offer very good inference latency, making them suitable for use with streaming ASR systems. \n",
+ "\n",
+ "The presented method is well suited for industrial applications where the ability to precisely control how the error correction model works, as well as small latency, are crucial. \n",
+ "\n",
+ "%\\section{Acknowledgements}\n",
+ "\n",
+ "\n",
+ "\\bibliographystyle{IEEEtran}\n",
+ "\n",
+ "\\bibliography{bibliography}\n",
+ "\n",
+ "\\end{document}\n",
+ "\n",
+ "```"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "id": "9275f366",
+ "metadata": {},
+ "source": [
+ "```bibtex\n",
+ "\n",
+ "@book{Hastie2009,\n",
+ "\ttitle={The Elements of Statistical Learning: Data Mining, Inference, and Prediction},\n",
+ "\tauthor={Hastie, Trevor and Tibshirani, Robert and Friedman, Jerome},\n",
+ "\tyear={2009},\n",
+ "\tpublisher={Springer},\n",
+ "\taddress = {New York, NY},\n",
+ "\tedition = {2nd}\n",
+ "}\n",
+ "\n",
+ "@article{Byon2013,\n",
+ "title = {Wind turbine operations and maintenance: A tractable approximation of dynamic decision-making},\n",
+ "author = {Byon, E.},\n",
+ "journal = { IIE Transactions},\n",
+ "volume = {45},\n",
+ "number = {11},\n",
+ "pages = {1188--1201},\n",
+ "year = {2013}\n",
+ "}\n",
+ "\n",
+ "@inproceedings{Breunig2000,\n",
+ " title={{LOF}: Identifying density-based local outliers},\n",
+ " author={Breunig, M. M. and Kriegel, H.-P. and Ng, R. T. and Sander, J.},\n",
+ " booktitle={Proceedings of the 2000 ACM SIGMOD International Conference on Management of Data},\n",
+ " pages={93--104},\n",
+ " year={2000},\n",
+ " organization={ACM}\n",
+ "}\n",
+ "\n",
+ "@incollection{Yang2010,\n",
+ " author = \"Yang, J. AND Huang, T. S.\",\n",
+ " title = \"Image super-resolution: {H}istorical overview and future challenges\",\n",
+ " booktitle = \"Super-Resolution Imaging\",\n",
+ " editor = \"Milanfar, Peyman\",\n",
+ " pages =\"3--35\",\n",
+ " publisher = \"Chapman \\& Hall/CRC Press\",\n",
+ " address = {Boca Raton, FL},\n",
+ " year = \"2010\"\n",
+ "}\n",
+ "```"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "id": "pressing-european",
+ "metadata": {
+ "slideshow": {
+ "slide_type": "slide"
+ }
+ },
"source": [
"## Overleaf \n",
" - Overlaf to serwis/aplikacja webowa umożliwiająca edycję i kompilację dokumentów Latexa on-line, w przeglądarce\n",
@@ -42,21 +245,30 @@
{
"cell_type": "markdown",
"id": "changed-president",
- "metadata": {},
+ "metadata": {
+ "slideshow": {
+ "slide_type": "slide"
+ }
+ },
"source": [
"## Części artykułu naukowego\n",
"1. Abstract\n",
- "2. Introduction\n",
- "3. Related work\n",
- "4. Method\n",
- "5. Results\n",
- "6. Conclusions/Discussion"
+ " \n",
+ "2. Introduction - \"Dlaczego?\"\n",
+ "3. Related work - \"Kontekst naukowy\"\n",
+ "4. Method - \"Jak?\"\n",
+ "5. Results - \"Co?\"\n",
+ "6. Conclusions/Discussion - \"Interpretacja wyników\""
]
},
{
"cell_type": "markdown",
"id": "challenging-student",
- "metadata": {},
+ "metadata": {
+ "slideshow": {
+ "slide_type": "slide"
+ }
+ },
"source": [
"![Tajny język naukowców](https://i1.kwejk.pl/k/obrazki/2017/10/2b48483a6c4f274aa276732e41f856af.jpg)"
]
@@ -64,7 +276,11 @@
{
"cell_type": "markdown",
"id": "dangerous-headquarters",
- "metadata": {},
+ "metadata": {
+ "slideshow": {
+ "slide_type": "slide"
+ }
+ },
"source": [
"## Jak napisać artykuł naukowy z dziedziny ML:\n",
"- http://www.isle.org/~langley/papers/craft.ml2k.pdf / https://icml.cc/Conferences/2002/craft.html\n",
@@ -77,7 +293,11 @@
{
"cell_type": "markdown",
"id": "informational-writer",
- "metadata": {},
+ "metadata": {
+ "slideshow": {
+ "slide_type": "slide"
+ }
+ },
"source": [
"### Zadanie\n",
"1. Wybierz konferencję naukową z dziedziny ML/AI/Computer Science\n",
@@ -88,6 +308,8 @@
" - jedną tabelkę (np. opisującą dane lub wyniki)\n",
" - jedną ilustrację (np. jakiś wykres, który tworzyli Państwo na zajęciach)\n",
" - 5 cytowań (można np. zacytować artykuły opisujące użytą metodę, zbiory danych, narzędzia. Zazwyczaj popularne biblioteki, datasety podają w README jak należy je cytować)\n",
+ " - 1 wzór matematyczny\n",
+ "5. Artykuł powinien być zgodny z wytycznymi konferencji dotyczącymi formy artykułów (oczywiście poza liczbą stron)\n",
" \n",
"\n",
"Zapewne w napisanym artykule nie opiszą państwo niczego nowatorskiego i wartego publikacji - tutaj udajemy, że zastosowaliśmy metodę po raz pierwszy, osiągnęliśmy nieosiągalne dotąd wyniki itp. Liczy się forma i struktura pracy. Można dodać komentarz wyjaśniający prawdziwy cel artykuły w sekcji/przypisie \"Disclaimer\", żeby nikt Państwa nie posądzał o pisanie nieprawdy.\n",
@@ -96,8 +318,9 @@
}
],
"metadata": {
+ "celltoolbar": "Slideshow",
"kernelspec": {
- "display_name": "Python 3",
+ "display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
@@ -111,7 +334,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.7.3"
+ "version": "3.10.4"
}
},
"nbformat": 4,