Instructions to use carissa1/SimplyLaw_Legal_Questions with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use carissa1/SimplyLaw_Legal_Questions with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("<base-model-id>") model.load_adapter("carissa1/SimplyLaw_Legal_Questions", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download reader_model/language_model_config.json from carissa1/SimplyLaw_Legal_Questions: direct link, hf CLI and curl.
- Browser
- Download file 749 Bytes
-
https://huggingface.co/carissa1/SimplyLaw_Legal_Questions/resolve/main/reader_model/language_model_config.json
- Command line
-
hf download hf://carissa1/SimplyLaw_Legal_Questions/reader_model/language_model_config.json
-
curl -L -o language_model_config.json https://huggingface.co/carissa1/SimplyLaw_Legal_Questions/resolve/main/reader_model/language_model_config.json
749 Bytes
| { | |
| "_name_or_path": "deepset/roberta-base-squad2", | |
| "architectures": [ | |
| "RobertaForQuestionAnswering" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "bos_token_id": 0, | |
| "classifier_dropout": null, | |
| "eos_token_id": 2, | |
| "gradient_checkpointing": false, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "language": "english", | |
| "layer_norm_eps": 1e-05, | |
| "max_position_embeddings": 514, | |
| "model_type": "roberta", | |
| "name": "Roberta", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 1, | |
| "position_embedding_type": "absolute", | |
| "transformers_version": "4.30.1", | |
| "type_vocab_size": 1, | |
| "use_cache": true, | |
| "vocab_size": 50265 | |
| } | |