transformers/examples/research_projects/longform-qa
Arthur 651408a077
[`Styling`] stylify using ruff (#27144)
* try to stylify using ruff

* might need to remove these changes?

* use ruf format andruff check

* use isinstance instead of type comparision

* use # fmt: skip

* use # fmt: skip

* nits

* soem styling changes

* update ci job

* nits isinstance

* more files update

* nits

* more nits

* small nits

* check and format

* revert wrong changes

* actually use formatter instead of checker

* nits

* well docbuilder is overwriting this commit

* revert notebook changes

* try to nuke docbuilder

* style

* fix feature exrtaction test

* remve `indent-width = 4`

* fixup

* more nits

* update the ruff version that we use

* style

* nuke docbuilder styling

* leve the print for detected changes

* nits

* Remove file I/O

Co-authored-by: charliermarsh
 <charlie.r.marsh@gmail.com>

* style

* nits

* revert notebook changes

* Add # fmt skip when possible

* Add # fmt skip when possible

* Fix

* More `  # fmt: skip` usage

* More `  # fmt: skip` usage

* More `  # fmt: skip` usage

* NIts

* more fixes

* fix tapas

* Another way to skip

* Recommended way

* Fix two more fiels

* Remove asynch
Remove asynch

---------

Co-authored-by: charliermarsh <charlie.r.marsh@gmail.com>
2023-11-16 17:43:19 +01:00
..
README.md Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00
eli5_app.py [`Styling`] stylify using ruff (#27144) 2023-11-16 17:43:19 +01:00
eli5_utils.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
requirements.txt Reorganize examples (#9010) 2020-12-11 10:07:02 -05:00

README.md

Long Form Question Answering

Author: @yjernite

This folder contains the code for the Long Form Question answering demo as well as methods to train and use a fully end-to-end Long Form Question Answering system using the 🤗transformers and 🤗datasets libraries.

You can use these methods to train your own system by following along the associate notebook or blog post.