Instructions to use yusr9/RADAR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use yusr9/RADAR with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="yusr9/RADAR", trust_remote_code=True)# Load model directly from transformers import AutoModelForSequenceClassification model = AutoModelForSequenceClassification.from_pretrained("yusr9/RADAR", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "RADARModel" | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_radar.RADARConfig", | |
| "AutoModelForSequenceClassification": "modeling_radar.RADARModel" | |
| }, | |
| "base_model_name": "answerdotai/ModernBERT-large", | |
| "dropout": 0.1, | |
| "dtype": "float32", | |
| "fusion_dim": 512, | |
| "model_type": "radar", | |
| "num_attention_heads": 8, | |
| "style_dim": 38, | |
| "style_proj_dim": 128, | |
| "transformers_version": "5.0.0", | |
| "use_cache": false | |
| } | |