Instructions to use gpalve/first-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use gpalve/first-model with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("<base-model-id>") model.load_adapter("gpalve/first-model", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download config.json from gpalve/first-model: direct link, hf CLI and curl.
- Browser
- Download file 701 Bytes
-
https://huggingface.co/gpalve/first-model/resolve/main/config.json
- Command line
-
hf download hf://gpalve/first-model/config.json
-
curl -L -o config.json https://huggingface.co/gpalve/first-model/resolve/main/config.json
701 Bytes
| { | |
| "_name_or_path": "camembert-base", | |
| "architectures": [ | |
| "CamembertForMaskedLM" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": 5, | |
| "classifier_dropout": null, | |
| "eos_token_id": 6, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "layer_norm_eps": 1e-05, | |
| "max_position_embeddings": 514, | |
| "model_type": "camembert", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "output_past": true, | |
| "pad_token_id": 1, | |
| "position_embedding_type": "absolute", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.26.1", | |
| "type_vocab_size": 1, | |
| "use_cache": true, | |
| "vocab_size": 32005 | |
| } | |