linksoul-ai / chinese-llava Goto Github PK
View Code? Open in Web Editor NEW支持中英文双语视觉-文本对话的开源可商用多模态模型。
Home Page: https://github.com/LinkSoul-AI/Chinese-LLaVA
License: Apache License 2.0
支持中英文双语视觉-文本对话的开源可商用多模态模型。
Home Page: https://github.com/LinkSoul-AI/Chinese-LLaVA
License: Apache License 2.0
请问一下这个是基于LLaVA在中文数据上训练的吗?
如果把代码里所有对 cuda()的调用改掉,可以在cpu上推理吗?
Hey there,
Thank you so much for putting this together. I'm running into some issues with both downloading the model from pan.baidu and using it via Huggingface's transformer API.
On Huggingface (transformers version 4.37.2):
>>> model = AutoModelForCausalLM.from_pretrained("LinkSoul/Chinese-LLaVA-Baichuan")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/amith/miniconda3/envs/viz_features/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 569, in from_pretrained
raise ValueError(
ValueError: Unrecognized configuration class <class 'transformers.models.llava.configuration_llava.LlavaConfig'> for this kind of AutoModel: AutoModelForCausalLM.
Model type should be one of BartConfig, BertConfig, BertGenerationConfig, BigBirdConfig, BigBirdPegasusConfig, BioGptConfig, BlenderbotConfig, BlenderbotSmallConfig, BloomConfig, CamembertConfig, LlamaConfig, CodeGenConfig, CpmAntConfig, CTRLConfig, Data2VecTextConfig, ElectraConfig, ErnieConfig, FalconConfig, FuyuConfig, GitConfig, GPT2Config, GPT2Config, GPTBigCodeConfig, GPTNeoConfig, GPTNeoXConfig, GPTNeoXJapaneseConfig, GPTJConfig, LlamaConfig, MarianConfig, MBartConfig, MegaConfig, MegatronBertConfig, MistralConfig, MixtralConfig, MptConfig, MusicgenConfig, MvpConfig, OpenLlamaConfig, OpenAIGPTConfig, OPTConfig, PegasusConfig, PersimmonConfig, PhiConfig, PLBartConfig, ProphetNetConfig, QDQBertConfig, Qwen2Config, ReformerConfig, RemBertConfig, RobertaConfig, RobertaPreLayerNormConfig, RoCBertConfig, RoFormerConfig, RwkvConfig, Speech2Text2Config, TransfoXLConfig, TrOCRConfig, WhisperConfig, XGLMConfig, XLMConfig, XLMProphetNetConfig, XLMRobertaConfig, XLMRobertaXLConfig, XLNetConfig, XmodConfig.
>>> quit()
I'm happy to use your repo directly to use the model but for some reason the Baidu download is not working -- I'm unable to install the Client required to do the download. Would it be possible to share a different download link for your two models?
Thank you!
您好,请问可以将模型上传到modelscope平台上吗?
您好,请问有微调的代码吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.