Feature Extraction
Transformers
Safetensors
English
setcon
imu
wearable-sensing
human-activity-recognition
zero-shot-classification
motion-language
time-series
custom_code
Instructions to use lschiweck/SetCon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lschiweck/SetCon with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="lschiweck/SetCon", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("lschiweck/SetCon", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download lm/seed2/config.json from lschiweck/SetCon: direct link, hf CLI and curl.
- Browser
- Download file 3.02 kB
-
https://huggingface.co/lschiweck/SetCon/resolve/main/lm/seed2/config.json
- Command line
-
hf download hf://lschiweck/SetCon/lm/seed2/config.json
-
curl -L -o config.json https://huggingface.co/lschiweck/SetCon/resolve/main/lm/seed2/config.json
3.02 kB
| { | |
| "architectures": [ | |
| "SetConLM" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_setcon_lm.SetConLMConfig", | |
| "AutoModel": "modeling_setcon_lm.SetConLM" | |
| }, | |
| "base_model": "Qwen/Qwen3.5-0.8B", | |
| "batch_size": 32, | |
| "default_question": "What is the person doing?", | |
| "encoder_hidden_size": 256, | |
| "encoder_training_seed": 2, | |
| "max_new_tokens": 48, | |
| "model_type": "setcon_lm", | |
| "num_patches": 50, | |
| "num_sites": 22, | |
| "site_text": [ | |
| "pelvis", | |
| "left hip", | |
| "left knee", | |
| "left ankle", | |
| "left foot", | |
| "right hip", | |
| "right knee", | |
| "right ankle", | |
| "right foot", | |
| "spine", | |
| "upper spine", | |
| "chest", | |
| "neck", | |
| "head", | |
| "left collar", | |
| "left shoulder", | |
| "left elbow", | |
| "left wrist", | |
| "right collar", | |
| "right shoulder", | |
| "right elbow", | |
| "right wrist" | |
| ], | |
| "stop_tokens": [ | |
| "<|im_end|>", | |
| "<|endoftext|>" | |
| ], | |
| "system_prompt": "Continuous tokens from sparse wearable IMUs are provided before this text. Answer the question about the observed motion in one or two short sentences.", | |
| "text_config": { | |
| "architectures": [ | |
| "Qwen3_5ForCausalLM" | |
| ], | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "attn_output_gate": true, | |
| "bos_token_id": null, | |
| "dtype": "float32", | |
| "eos_token_id": 248044, | |
| "full_attention_interval": 4, | |
| "head_dim": 256, | |
| "hidden_act": "silu", | |
| "hidden_size": 1024, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3584, | |
| "layer_types": [ | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention" | |
| ], | |
| "linear_conv_kernel_dim": 4, | |
| "linear_key_head_dim": 128, | |
| "linear_num_key_heads": 16, | |
| "linear_num_value_heads": 16, | |
| "linear_value_head_dim": 128, | |
| "mamba_ssm_dtype": "float32", | |
| "max_position_embeddings": 262144, | |
| "mlp_only_layers": [], | |
| "model_type": "qwen3_5_text", | |
| "mtp_num_hidden_layers": 1, | |
| "mtp_use_dedicated_embeddings": false, | |
| "num_attention_heads": 8, | |
| "num_hidden_layers": 24, | |
| "num_key_value_heads": 2, | |
| "pad_token_id": null, | |
| "partial_rotary_factor": 0.25, | |
| "rms_norm_eps": 1e-06, | |
| "rope_parameters": { | |
| "mrope_interleaved": true, | |
| "mrope_section": [ | |
| 11, | |
| 11, | |
| 10 | |
| ], | |
| "partial_rotary_factor": 0.25, | |
| "rope_theta": 10000000, | |
| "rope_type": "default" | |
| }, | |
| "tie_word_embeddings": true, | |
| "use_cache": true, | |
| "vocab_size": 248320 | |
| }, | |
| "transformers_version": "5.14.1" | |
| } | |