Instructions to use SharedBailii/AnsGen_CaseLawBert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SharedBailii/AnsGen_CaseLawBert with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("SharedBailii/AnsGen_CaseLawBert") model = AutoModelForSeq2SeqLM.from_pretrained("SharedBailii/AnsGen_CaseLawBert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (637d0b08e2072f1b2e9a1d5c3b407ccc5b074b2e) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>56c9f5d
-
Add trained model
33b9b46 -
initial commit
1849d1e