Instructions to use AdrianM0/chempile-blip2-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use AdrianM0/chempile-blip2-lora with PEFT:
Task type is invalid.
- Transformers
How to use AdrianM0/chempile-blip2-lora with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("AdrianM0/chempile-blip2-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download adapter_config.json from AdrianM0/chempile-blip2-lora: direct link, hf CLI and curl.
- Browser
- Download file 989 Bytes
-
https://huggingface.co/AdrianM0/chempile-blip2-lora/resolve/main/adapter_config.json
- Command line
-
hf download hf://AdrianM0/chempile-blip2-lora/adapter_config.json
-
curl -L -o adapter_config.json https://huggingface.co/AdrianM0/chempile-blip2-lora/resolve/main/adapter_config.json
989 Bytes
| { | |
| "alpha_pattern": {}, | |
| "auto_mapping": { | |
| "base_model_class": "Blip2ForConditionalGeneration", | |
| "parent_library": "transformers.models.blip_2.modeling_blip_2" | |
| }, | |
| "base_model_name_or_path": "ybelkada/blip2-opt-2.7b-fp16-sharded", | |
| "bias": "none", | |
| "corda_config": null, | |
| "eva_config": null, | |
| "exclude_modules": null, | |
| "fan_in_fan_out": false, | |
| "inference_mode": true, | |
| "init_lora_weights": true, | |
| "layer_replication": null, | |
| "layers_pattern": null, | |
| "layers_to_transform": null, | |
| "loftq_config": {}, | |
| "lora_alpha": 32, | |
| "lora_bias": false, | |
| "lora_dropout": 0.05, | |
| "megatron_config": null, | |
| "megatron_core": "megatron.core", | |
| "modules_to_save": null, | |
| "peft_type": "LORA", | |
| "qalora_group_size": 16, | |
| "r": 16, | |
| "rank_pattern": {}, | |
| "revision": null, | |
| "target_modules": [ | |
| "q_proj", | |
| "k_proj" | |
| ], | |
| "target_parameters": null, | |
| "task_type": null, | |
| "trainable_token_indices": null, | |
| "use_dora": false, | |
| "use_qalora": false, | |
| "use_rslora": false | |
| } |