mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 18:22:34 +06:00
Update ImageToTextPipelineTests.test_small_model_tf
(#19785)
* update expected values for the correct TF checkpoint * Run test * Clean up * fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
parent
7487829a23
commit
3aaabaa214
@ -64,12 +64,7 @@ class ImageToTextPipelineTests(unittest.TestCase, metaclass=PipelineTestCaseMeta
|
|||||||
outputs,
|
outputs,
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"generated_text": (
|
"generated_text": "growthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthGOGO"
|
||||||
" intermedi intermedi intermedi intermedi intermedi "
|
|
||||||
"explorer explorer explorer explorer explorer explorer "
|
|
||||||
"explorer medicine medicine medicine medicine medicine "
|
|
||||||
"medicine medicine"
|
|
||||||
)
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
@ -80,23 +75,13 @@ class ImageToTextPipelineTests(unittest.TestCase, metaclass=PipelineTestCaseMeta
|
|||||||
[
|
[
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"generated_text": (
|
"generated_text": "growthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthGOGO"
|
||||||
" intermedi intermedi intermedi intermedi intermedi "
|
}
|
||||||
"explorer explorer explorer explorer explorer explorer "
|
|
||||||
"explorer medicine medicine medicine medicine medicine "
|
|
||||||
"medicine medicine"
|
|
||||||
)
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"generated_text": (
|
"generated_text": "growthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthgrowthGOGO"
|
||||||
" intermedi intermedi intermedi intermedi intermedi "
|
}
|
||||||
"explorer explorer explorer explorer explorer explorer "
|
|
||||||
"explorer medicine medicine medicine medicine medicine "
|
|
||||||
"medicine medicine"
|
|
||||||
)
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user