Token Classification
Transformers
ONNX
Safetensors
PEFT
English
bert
ner
legal
legal-bert
nigerian-law
lora
Instructions to use WhiteRoomProdigy/amicus-ner-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WhiteRoomProdigy/amicus-ner-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="WhiteRoomProdigy/amicus-ner-v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("WhiteRoomProdigy/amicus-ner-v2") model = AutoModelForTokenClassification.from_pretrained("WhiteRoomProdigy/amicus-ner-v2", device_map="auto") - PEFT
How to use WhiteRoomProdigy/amicus-ner-v2 with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download onnx/quantized/model_quantized.onnx from WhiteRoomProdigy/amicus-ner-v2: direct link, hf CLI and curl.
- Browser
- Download file 110 MB
-
https://huggingface.co/WhiteRoomProdigy/amicus-ner-v2/resolve/main/onnx/quantized/model_quantized.onnx
- Command line
-
hf download hf://WhiteRoomProdigy/amicus-ner-v2/onnx/quantized/model_quantized.onnx
-
curl -L -o model_quantized.onnx https://huggingface.co/WhiteRoomProdigy/amicus-ner-v2/resolve/main/onnx/quantized/model_quantized.onnx
110 MB
- Xet hash:
- 213c06ead270d51dc28c3297d9c65dca6e349f62e30dc91a8d6aa2d1fe50afae
- Size of remote file:
- 110 MB
- SHA256:
- 46f80659890a6b01392eb7481854620570b7f0a14fc527622fe3122de1302c31
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.