Skip to content

I am getting error Could not load model microsoft/DialoGPT-large e #9

@tarkanlar

Description

@tarkanlar

Äpp is starting on port: 3100
<-- POST /chat
xxx POST /chat 500 706ms -

Error: Could not load model microsoft/DialoGPT-large with any of the following classes: (<class 'transformers.models.gpt2.modeling_gpt2.GPT2LMHeadModel'>, <class 'transformers.models.gpt2.modeling_tf_gpt2.TFGPT2LMHeadModel'>).
at request (file:///Users/t/dev/llm-react-node-app-template/node_modules/@huggingface/inference/dist/index.mjs:106:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async conversational (file:///Users/t/dev/llm-react-node-app-template/node_modules/@huggingface/inference/dist/index.mjs:448:15)
at async HuggingFaceService.call (file:///Users/t/dev/llm-react-node-app-template/server/services/hf.js:17:24)
at async ChatService.startChat (file:///Users/t/dev/llm-react-node-app-template/server/handlers/chat_handler.js:10:22)
at async file:///Users/t/dev/llm-react-node-app-template/server/routers/chat.js:16:15
at async cors (/Users/t/dev/llm-react-node-app-template/node_modules/@koa/cors/index.js:108:16)
at async logger (/Users/t/dev/llm-react-node-app-template/node_modules/koa-logger/index.js:67:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions