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
File size: 133 Bytes
6211b2f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:1f405182549e4693626a7cc243f4f6a95c8705443f0428e07218bd9c7baa8c72
size 33600461
|