Removal of deprecated maps (#30576)

* [test_all] Remove all imports

Remove remaining ARCHIVE MAPS

Remove remaining PRETRAINED maps

* review comments

* [test_all] empty commit to trigger tests
This commit is contained in:
Lysandre Debut
2024-05-09 14:15:56 +02:00
committed by GitHub
parent 8c5b3c19cf
commit 297b732bdf
723 changed files with 584 additions and 7268 deletions

View File

@@ -19,12 +19,11 @@ import unittest
from transformers import DonutProcessor
DONUT_PRETRAINED_MODEL_NAME = "naver-clova-ix/donut-base"
class DonutProcessorTest(unittest.TestCase):
from_pretrained_id = "naver-clova-ix/donut-base"
def setUp(self):
self.processor = DonutProcessor.from_pretrained(DONUT_PRETRAINED_MODEL_NAME)
self.processor = DonutProcessor.from_pretrained(self.from_pretrained_id)
def test_token2json(self):
expected_json = {