'@xenova/transformers' does not provide an export named 'Moondream1ForConditionalGeneration'
#10
by
gaidaanuj
- opened
import { AutoProcessor, AutoTokenizer, Moondream1ForConditionalGeneration, RawImage } from '@xenova/transformers';
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: The requested module '@xenova/transformers' does not provide an export named 'Moondream1ForConditionalGeneration'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:191:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:336:24)
at async loadESM (node:internal/process/esm_loader:34:7)
at async handleMainPromise (node:internal/modules/run_main:106:12)
Node.js v18.19.1
Can you help me with this?
Can you upgrade to Transformers.js v3 with:
npm i @huggingface/transformers