Instructions to use ohdyo/trip_qa_gem13b_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use ohdyo/trip_qa_gem13b_v2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-3-12b-it") model = PeftModel.from_pretrained(base_model, "ohdyo/trip_qa_gem13b_v2") - Notebooks
- Google Colab
- Kaggle
Download config.json from ohdyo/trip_qa_gem13b_v2: direct link, hf CLI and curl.
- Browser
- Download file 916 Bytes
-
https://huggingface.co/ohdyo/trip_qa_gem13b_v2/resolve/main/config.json
- Command line
-
hf download hf://ohdyo/trip_qa_gem13b_v2/config.json
-
curl -L -o config.json https://huggingface.co/ohdyo/trip_qa_gem13b_v2/resolve/main/config.json
916 Bytes
| { | |
| "architectures": [ | |
| "Gemma3ForConditionalGeneration" | |
| ], | |
| "boi_token_index": 255999, | |
| "eoi_token_index": 256000, | |
| "eos_token_id": [ | |
| 1, | |
| 106 | |
| ], | |
| "image_token_index": 262144, | |
| "initializer_range": 0.02, | |
| "mm_tokens_per_image": 256, | |
| "model_type": "gemma3", | |
| "text_config": { | |
| "hidden_size": 3840, | |
| "intermediate_size": 15360, | |
| "model_type": "gemma3_text", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 48, | |
| "num_key_value_heads": 8, | |
| "rope_scaling": { | |
| "factor": 8.0, | |
| "rope_type": "linear" | |
| }, | |
| "sliding_window": 1024 | |
| }, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.50.0.dev0", | |
| "vision_config": { | |
| "hidden_size": 1152, | |
| "image_size": 896, | |
| "intermediate_size": 4304, | |
| "model_type": "siglip_vision_model", | |
| "num_attention_heads": 16, | |
| "num_hidden_layers": 27, | |
| "patch_size": 14, | |
| "vision_use_head": false | |
| } | |
| } | |