Instructions to use Ashishkr/llama2-PII-Masking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Ashishkr/llama2-PII-Masking with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-hf") model = PeftModel.from_pretrained(base_model, "Ashishkr/llama2-PII-Masking") - Notebooks
- Google Colab
- Kaggle
Download adapter_model.bin from Ashishkr/llama2-PII-Masking: direct link, hf CLI and curl.
- Browser
- Download file 33.6 MB
-
https://huggingface.co/Ashishkr/llama2-PII-Masking/resolve/main/adapter_model.bin
- Command line
-
hf download hf://Ashishkr/llama2-PII-Masking/adapter_model.bin
-
curl -L -o adapter_model.bin https://huggingface.co/Ashishkr/llama2-PII-Masking/resolve/main/adapter_model.bin
33.6 MB
- Xet hash:
- d0742dfff945edd3d320242e8579d1b702c50bd386a09c9d7113dfe1e7076791
- Size of remote file:
- 33.6 MB
- SHA256:
- 1f405182549e4693626a7cc243f4f6a95c8705443f0428e07218bd9c7baa8c72
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.