Instructions to use townboy/kpfbert-kdpii with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use townboy/kpfbert-kdpii with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="townboy/kpfbert-kdpii")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("townboy/kpfbert-kdpii") model = AutoModelForTokenClassification.from_pretrained("townboy/kpfbert-kdpii", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download runtime_config.json from townboy/kpfbert-kdpii: direct link, hf CLI and curl.
- Browser
- Download file 194 Bytes
-
https://huggingface.co/townboy/kpfbert-kdpii/resolve/main/runtime_config.json
- Command line
-
hf download hf://townboy/kpfbert-kdpii/runtime_config.json
-
curl -L -o runtime_config.json https://huggingface.co/townboy/kpfbert-kdpii/resolve/main/runtime_config.json
194 Bytes
| { | |
| "device": "cuda", | |
| "cuda_available": true, | |
| "cuda_version": "12.6", | |
| "gpu_name": "NVIDIA GeForce RTX 4060 Ti", | |
| "gpu_count": 1, | |
| "bf16_supported": true, | |
| "tf32_enabled": true | |
| } |