Instructions to use jgrc3/seqBN_adapter_classification_noPre with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use jgrc3/seqBN_adapter_classification_noPre with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("roberta-base") model.load_adapter("jgrc3/seqBN_adapter_classification_noPre", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download head_config.json from jgrc3/seqBN_adapter_classification_noPre: direct link, hf CLI and curl.
- Browser
- Download file 452 Bytes
-
https://huggingface.co/jgrc3/seqBN_adapter_classification_noPre/resolve/main/head_config.json
- Command line
-
hf download hf://jgrc3/seqBN_adapter_classification_noPre/head_config.json
-
curl -L -o head_config.json https://huggingface.co/jgrc3/seqBN_adapter_classification_noPre/resolve/main/head_config.json
452 Bytes
| { | |
| "config": { | |
| "activation_function": "tanh", | |
| "bias": true, | |
| "dropout_prob": null, | |
| "head_type": "classification", | |
| "label2id": { | |
| "helpful": 1, | |
| "unhelpful": 0 | |
| }, | |
| "layers": 2, | |
| "num_labels": 2, | |
| "use_pooler": false | |
| }, | |
| "hidden_size": 768, | |
| "model_class": "RobertaAdapterModel", | |
| "model_name": "roberta-base", | |
| "model_type": "roberta", | |
| "name": "classifier_seq_bn_no_pretraining", | |
| "version": "0.1.2" | |
| } |