<commit_before>
.. _code_examples_job:

Job Module
==========

Basic Job Submission
--------------------

:todo: Describe example

.. literalinclude:: ../../../../examples/jobs/localjob.py
   :linenos:

Job Containers
--------------

:todo: Describe example

.. literalinclude:: ../../../../examples/jobs/localjobcontainer.py
   :linenos:<commit_msg>added download option for example code<commit_after>
.. _code_examples_job:

Job Module
==========

Basic Job Submission
--------------------

Describe example

:download:`Download Python source for this example.<../../../../examples/jobs/localjob.py>`

.. literalinclude:: ../../../../examples/jobs/localjob.py
   :linenos:


Job Containers
--------------

Describe example

:download:`Download Python source for this example.<../../../../examples/jobs/localjobcontainer.py>`

.. literalinclude:: ../../../../examples/jobs/localjobcontainer.py
   :linenos:
{'fraction_non_alphanumeric': 0.2557883131201764, 'fraction_numerical': 0.0, 'mean_word_length': 2.37546468401487, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4608821', 'n_tokens_mistral': 270, 'n_tokens_neox': 246, 'n_words': 56}