Instructions to use datnguyentien204/BLIP_VietNameseFineTuningModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use datnguyentien204/BLIP_VietNameseFineTuningModel with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "visual-question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("visual-question-answering", model="datnguyentien204/BLIP_VietNameseFineTuningModel")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForVisualQuestionAnswering processor = AutoProcessor.from_pretrained("datnguyentien204/BLIP_VietNameseFineTuningModel") model = AutoModelForVisualQuestionAnswering.from_pretrained("datnguyentien204/BLIP_VietNameseFineTuningModel", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload config.json
Browse files14 unmodified lines1516171819202162 unmodified lines8485868788899014 unmodified lines"attention_probs_dropout_prob": 0.0,"bad_words_ids": null,"begin_suppress_tokens": null,"bos_token_id": 64001,"chunk_size_feed_forward": 0,"cross_attention_hidden_size": null,"decoder_start_token_id": null,62 unmodified lines"typical_p": 1.0,"use_bfloat16": false,"use_cache": true,"vocab_size": 64003},"torch_dtype": "float32","transformers_version": null,14 unmodified lines1516171819202162 unmodified lines8485868788899014 unmodified lines"attention_probs_dropout_prob": 0.0,"bad_words_ids": null,"begin_suppress_tokens": null,"bos_token_id": 119547,"chunk_size_feed_forward": 0,"cross_attention_hidden_size": null,"decoder_start_token_id": null,62 unmodified lines"typical_p": 1.0,"use_bfloat16": false,"use_cache": true,"vocab_size": 119549},"torch_dtype": "float32","transformers_version": null,
config.json+2-2