Getting an error when running given example
#1
by
HuggingWat
- opened
When I try and run the provided example I get the following error
ImportError: cannot import name 'UdopForConditionalGeneration' from 'transformers' (c:\Users\mwatson2\Documents\ESFA work\20240223 PDF Reader Python Script.venv\Lib\site-packages\transformers_init_.py)
Pretty new to python from R so this may be a silly mistake on my part, any help is welcomed.
Hi,
UDOP will soon be part of the Transformers library: https://github.com/huggingface/transformers/pull/22940. You will need to install the library from source once it's merged since it's brand new.
Closing this one since the model is now available in Transformers.
nielsr
changed discussion status to
closed