Model type not found in config.json
The model type was not found in my Model. Its a seq2seq model, not a fine tuned model. I need to create my own model type. Please help!huggingface.coSparkoo/KateAi · Hugging FaceWe’re on a journey to advance and democratize artificial intelligence through open source and open science.
2024-08-13T10:26:27Z
can someone help?
2024-08-13T11:30:48Z
huggingface.coBuilding custom modelsWe’re on a journey to advance and democratize artificial intelligence through open source and open science.I’m not sure about the transformers library, but the YAML part of HF’s README.md and config.json are like part of the pyton program.If you want to use a custom model, maybe you need to write your own py file, put it in the same folder and specify it?I think so when I look at the following actual working custom model repo. (*And maybe you don’t need this much complicated code)huggingface.cop1atdev/wd-swinv2-tagger-v3-hf at mainWe’re on a journey to advance and democratize artificial intelligence through open source and open science.huggingface.cogokaygokay/Florence-2-SD3-Captioner at mainWe’re on a journey to advance and democratize artificial intelligence through open source and open science.If possible, the fastest way to do this is to find a custom model Repo with a similar algorithm to what you want to do and mimic that setup.https://huggingface.co/models?pipeline_tag=text2text-generation&library=transformers&sort=modified