1. 11 Oct, 2023 1 commit
  2. 03 Oct, 2023 1 commit
    • Srijan Sahay Srivastava's avatar
      [Doctest] Add `configuration_encoder_decoder.py` (#26519) · 245da7ed
      Srijan Sahay Srivastava authored
      * [Doctest] Add configuration_encoder_decoder.py
      
      Added configuration_encoder_decoder.py to utils/documentation_tests.txt for doctest
      
      * Revert "[Doctest] Add configuration_encoder_decoder.py"
      
      This reverts commit bd653535a4356dc3c9f43e65883819079a2053b0.
      
      * [Doctest] Add configuration_encoder_decoder.py
      
      add configuration_encoder_decoder.py to utils/documentation_tests.txt
      
      * [Doctest] Add configuration_encoder_decoder.py
      
      add configuration_encoder_decoder.py to utils/documentation_tests.txt
      
      * [Doctest] Add configuration_encoder_decoder.py
      
      add configuration_encoder_decoder.py to utils/documentation_tests.txt
      
      * changed as per request
      
      * fixed line 46
      245da7ed
  3. 02 Oct, 2023 1 commit
    • Adithya Hegde Kota's avatar
      [Doctest] Add configuration_roformer.py (#26530) · 4b4c6aab
      Adithya Hegde Kota authored
      * [Doctest] Add configuration_roformer.py
      
      * [Doctest] Add configuration_roformer.py
      
      * [Doctest] Add configuration_roformer.py
      
      * [Doctest] Add configuration_roformer.py
      
      * Removed documentation_test.txt
      
      * Removed configuration_roformer.py
      
      * Update not_doctested.txt
      4b4c6aab
  4. 27 Sep, 2023 2 commits
  5. 26 Sep, 2023 1 commit
    • NielsRogge's avatar
      Add Nougat (#25942) · ace74d16
      NielsRogge authored
      
      
      * Add conversion script
      
      * Add NougatImageProcessor
      
      * Add crop margin
      
      * More improvements
      
      * Add docs, READMEs
      
      * Remove print statements
      
      * Include model_max_length
      
      * Add NougatTokenizerFast
      
      * Fix imports
      
      * Improve postprocessing
      
      * Improve image processor
      
      * Fix image processor
      
      * Improve normalize method
      
      * More improvements
      
      * More improvements
      
      * Add processor, improve docs
      
      * Simplify fast tokenizer
      
      * Remove test file
      
      * Fix docstrings
      
      * Use NougatProcessor in conversion script
      
      * Add is_levensthein_available
      
      * Add tokenizer tests
      
      * More improvements
      
      * Use numpy instead of opencv
      
      * Add is_cv2_available
      
      * Fix cv2_available
      
      * Add is_nltk_available
      
      * Add image processor tests, improve crop_margin
      
      * Add integration tests
      
      * Improve integration test
      
      * Use do_rescale instead of hacks, thanks Amy
      
      * Remove random_padding
      
      * Address comments
      
      * Address more comments
      
      * Add import
      
      * Address more comments
      
      * Address more comments
      
      * Address comment
      
      * Address comment
      
      * Set max_model_input_sizes
      
      * Add tests
      
      * Add requires_backends
      
      * Add Nougat to exotic tests
      
      * Use to_pil_image
      
      * Address comment regarding nltk
      
      * Add NLTK
      
      * Improve variable names, integration test
      
      * Add test
      
      * refactor, document, and test regexes
      
      * remove named capture groups, add comments
      
      * format
      
      * add non-markdown fixed tokenization
      
      * format
      
      * correct flakyness of args parse
      
      * add regex comments
      
      * test functionalities for crop_image, align long axis and expected output
      
      * add regex tests
      
      * remove cv2 dependency
      
      * test crop_margin equality between cv2 and python
      
      * refactor table regexes to markdown
      
      add newline
      
      * change print to log, improve doc
      
      * fix high count tables correction
      
      * address PR comments: naming, linting, asserts
      
      * Address comments
      
      * Add copied from
      
      * Update conversion script
      
      * Update conversion script to convert both small and base versions
      
      * Add inference example
      
      * Add more info
      
      * Fix style
      
      * Add require annotators to test
      
      * Define all keyword arguments explicitly
      
      * Move cv2 annotator
      
      * Add tokenizer init method
      
      * Transfer checkpoints
      
      * Add reference to Donut
      
      * Address comments
      
      * Skip test
      
      * Remove cv2 method
      
      * Add copied from statements
      
      * Use cached_property
      
      * Fix docstring
      
      * Add file to not doctested
      
      ---------
      Co-authored-by: default avatarPablo Montalvo <pablo.montalvo.leroux@gmail.com>
      ace74d16
  6. 22 Sep, 2023 1 commit
  7. 18 Sep, 2023 2 commits
  8. 12 Sep, 2023 1 commit
  9. 29 Aug, 2023 1 commit
  10. 25 Aug, 2023 2 commits
  11. 23 Aug, 2023 2 commits
  12. 21 Aug, 2023 2 commits