Feature Extraction
Transformers
Safetensors
English
slip
text-generation
time-series
sensor
multimodal
contrastive-learning
llama
custom_code
Instructions to use leochen085/SLIP-Llama with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use leochen085/SLIP-Llama with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="leochen085/SLIP-Llama", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("leochen085/SLIP-Llama", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from leochen085/SLIP-Llama: direct link, hf CLI and curl.
- Browser
- Download file 845 Bytes
-
https://huggingface.co/leochen085/SLIP-Llama/resolve/main/config.json
- Command line
-
hf download hf://leochen085/SLIP-Llama/config.json
-
curl -L -o config.json https://huggingface.co/leochen085/SLIP-Llama/resolve/main/config.json
845 Bytes
| { | |
| "model_type": "slip", | |
| "architectures": [ | |
| "SlipForCausalLM" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_slip.SlipConfig", | |
| "AutoModelForCausalLM": "modeling_slip.SlipForCausalLM" | |
| }, | |
| "llm_model_name": "meta-llama/Llama-3.2-1B", | |
| "split_layer": 12, | |
| "num_img_queries": 64, | |
| "num_heads": 32, | |
| "img_attn_pool_num_heads": 8, | |
| "hidden_size": 2048, | |
| "post_train": false, | |
| "max_llm_len": 768, | |
| "vocab_size": 128256, | |
| "pad_token_id": null, | |
| "bos_token_id": 128000, | |
| "eos_token_id": 128001, | |
| "sensor_encoder": { | |
| "embed_dim": 768, | |
| "num_heads": 12, | |
| "mlp_ratio": 4, | |
| "depth": 12, | |
| "dropout_rate": 0.1, | |
| "learnable_pos_emb": false, | |
| "max_position_embeddings": 4880, | |
| "patch_size": null, | |
| "channel_attn_type": "all_attn" | |
| }, | |
| "torch_dtype": "bfloat16", | |
| "transformers_version": "4.57.6" | |
| } | |