Instructions to use Washedashore/Law with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use Washedashore/Law with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("<base-model-id>") model.load_adapter("Washedashore/Law", set_active=True) - Notebooks
- Google Colab
- Kaggle
Download Mind from Washedashore/Law: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/Washedashore/Law/resolve/main/Mind
- Command line
-
hf download hf://Washedashore/Law/Mind
-
curl -L -o Mind https://huggingface.co/Washedashore/Law/resolve/main/Mind
364 Bytes
| import requests | |
| API_URL = "https://api-inference.huggingface.co/models/bigcode/starcoder" | |
| headers = {"Authorization": "Bearer hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"} | |
| def query(payload): | |
| response = requests.post(API_URL, headers=headers, json=payload) | |
| return response.json() | |
| output = query({ | |
| "inputs": "Can you please let us know more details about your ", | |
| }) |