Instructions to use calbors/ReVar with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use calbors/ReVar with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="calbors/ReVar", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("calbors/ReVar", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 386 Bytes
679a6b4 b943e78 679a6b4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | {
"architectures": [
"ReVarModel"
],
"auto_map": {
"AutoConfig": "configuration_revar.ReVarConfig",
"AutoModel": "modeling_revar.ReVarModel"
},
"inner_dim": 480,
"kernel_size": 5,
"model_type": "revar",
"num_output_channels": 5,
"num_stacks": 20,
"outer_dim": 960,
"stack_size": 2,
"torch_dtype": "float32",
"transformers_version": "4.47.0.dev0"
}
|