Instructions to use FIM4Science/fim-imp-pointwise-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FIM4Science/fim-imp-pointwise-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="FIM4Science/fim-imp-pointwise-base", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("FIM4Science/fim-imp-pointwise-base", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 2,512 Bytes
9d5536a e00537a 9d5536a e00537a 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a 4df3dda 9d5536a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | {
"auto_map": {
"AutoConfig": "fim.models.imputation_pointwise.FIMImpPointBaseConfig",
"AutoModel": "fim.models.imputation_pointwise.FIMImpPointBase"
},
"architectures": [
"FIMImpPointBase"
],
"branch_net": {
"dim_model": 512,
"dim_time": 512,
"dropout": 0.1,
"name": "fim.models.blocks.Transformer",
"num_encoder_blocks": 4,
"num_heads": 8,
"residual_mlp": {
"dropout": 0.1,
"hidden_act": {
"name": "torch.nn.SELU"
},
"hidden_layers": [
1024
],
"in_features": 512,
"name": "fim.models.blocks.MLP",
"out_features": 512,
"output_act": {
"name": "torch.nn.Identity"
}
}
},
"combiner_net": {
"dropout": 0.1,
"hidden_act": {
"name": "torch.nn.SELU"
},
"hidden_layers": [
1024,
1024,
1024,
1024
],
"in_features": 1024,
"name": "fim.models.blocks.MLP",
"out_features": 512,
"output_act": {
"name": "torch.nn.Identity"
}
},
"init_cond_net": {
"dropout": 0.1,
"hidden_act": {
"name": "torch.nn.SELU"
},
"hidden_layers": [
1024,
1024,
1024,
1024
],
"in_features": 513,
"name": "fim.models.blocks.MLP",
"out_features": 2,
"output_act": {
"name": "torch.nn.Identity"
}
},
"load_in_8bit": false,
"loss_configs": {
"loss_scale_drift": 1.0,
"loss_scale_init_cond": 1.0,
"loss_scale_unsuperv_loss": 10.0,
"ode_solver": "rk4"
},
"model_type": "fimode",
"normalization_time": {
"name": "fim.models.blocks.MinMaxNormalization"
},
"normalization_values": {
"name": "fim.models.blocks.MinMaxNormalization"
},
"time_encoding": {
"name": "fim.models.blocks.SineTimeEncoding",
"out_features": 512
},
"torch_dtype": "float32",
"transformers_version": "4.51.3",
"trunk_net": {
"dropout": 0.1,
"hidden_act": {
"name": "torch.nn.SELU"
},
"hidden_layers": [
1024,
1024,
1024,
1024
],
"in_features": 512,
"name": "fim.models.blocks.MLP",
"out_features": 512,
"output_act": {
"name": "torch.nn.Identity"
}
},
"use_bf16": false,
"vector_field_net": {
"dropout": 0.1,
"hidden_act": {
"name": "torch.nn.SELU"
},
"hidden_layers": [],
"in_features": 512,
"name": "fim.models.blocks.MLP",
"out_features": 2,
"output_act": {
"name": "torch.nn.Identity"
}
}
}
|