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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user