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