You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
I am trying to decode some texts with a finetuned mT5 model, the command looks like the following. The reason of my using test.gin was because when using operative gin file, there would be a mismatching error on line adafactor_decay_rate_pow.offset = 0, so I commented that line.
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.7/dist-packages/t5/models/mesh_transformer_main.py", line 264, in <module>
console_entry_point()
File "/usr/local/lib/python3.7/dist-packages/t5/models/mesh_transformer_main.py", line 261, in console_entry_point
app.run(main)
File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/usr/local/lib/python3.7/dist-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "/usr/local/lib/python3.7/dist-packages/t5/models/mesh_transformer_main.py", line 255, in main
model_dir=FLAGS.model_dir)
File "/usr/local/lib/python3.7/dist-packages/gin/config.py", line 1078, in gin_wrapper
utils.augment_exception_message_and_reraise(e, err_str)
File "/usr/local/lib/python3.7/dist-packages/gin/utils.py", line 49, in augment_exception_message_and_reraise
six.raise_from(proxy.with_traceback(exception.__traceback__), None)
File "<string>", line 3, in raise_from
File "/usr/local/lib/python3.7/dist-packages/gin/config.py", line 1055, in gin_wrapper
return fn(*new_args, **new_kwargs)
File "/usr/local/lib/python3.7/dist-packages/mesh_tensorflow/transformer/utils.py", line 2292, in run
mesh_devices=mesh_devices)
File "/usr/local/lib/python3.7/dist-packages/mesh_tensorflow/transformer/utils.py", line 1526, in get_estimator
input_vocab_size=inputs_vocabulary(vocabulary).vocab_size,
AttributeError: 'NoneType' object has no attribute 'vocab_size'
In call to configurable 'run' (<function run at 0x7fc3f511bbf8>)
I have tried adding the following params but none of them worked.
On Mon, Dec 14, 2020 at 8:48 AM Shang-Yu Su ***@***.***> wrote:
Is there any way I can import the vocabulary of a predefined mixture or
load the model
'gs://t5-data/vocabs/mc4.250000.100extra/sentencepiece.model'?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#37 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIJV2DLBGL247QG6KAQUO3SUYJSFANCNFSM4U2RRUYA>
.
Hi,
I am trying to decode some texts with a finetuned mT5 model, the command looks like the following. The reason of my using test.gin was because when using operative gin file, there would be a mismatching error on line
adafactor_decay_rate_pow.offset = 0
, so I commented that line.And the error was:
I have tried adding the following params but none of them worked.
Do you have idea on this one?
Any help would be appreciated, thanks!
The text was updated successfully, but these errors were encountered: