Instructions to use DLCS/contract-clause-phi3-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use DLCS/contract-clause-phi3-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-3-mini-4k-instruct") model = PeftModel.from_pretrained(base_model, "DLCS/contract-clause-phi3-lora") - Notebooks
- Google Colab
- Kaggle
Download test.txt from DLCS/contract-clause-phi3-lora: direct link, hf CLI and curl.
- Browser
- Download file 12 Bytes
-
https://huggingface.co/DLCS/contract-clause-phi3-lora/resolve/main/test.txt
- Command line
-
hf download hf://DLCS/contract-clause-phi3-lora/test.txt
-
curl -L -o test.txt https://huggingface.co/DLCS/contract-clause-phi3-lora/resolve/main/test.txt
12 Bytes
| test content |