Instructions to use bashyaldhiraj2067/Text-Extraction_New with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bashyaldhiraj2067/Text-Extraction_New with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="bashyaldhiraj2067/Text-Extraction_New")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("bashyaldhiraj2067/Text-Extraction_New") model = AutoModelForTokenClassification.from_pretrained("bashyaldhiraj2067/Text-Extraction_New", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download label2id.json from bashyaldhiraj2067/Text-Extraction_New: direct link, hf CLI and curl.
- Browser
- Download file 762 Bytes
-
https://huggingface.co/bashyaldhiraj2067/Text-Extraction_New/resolve/main/label2id.json
- Command line
-
hf download hf://bashyaldhiraj2067/Text-Extraction_New/label2id.json
-
curl -L -o label2id.json https://huggingface.co/bashyaldhiraj2067/Text-Extraction_New/resolve/main/label2id.json
762 Bytes
| { | |
| "S-BIRTH_DAY": 0, | |
| "I-CITIZENSHIP_CERTIFICATE_NO": 1, | |
| "B-CITIZENSHIP_CERTIFICATE_NO": 2, | |
| "E-WARD_NO": 3, | |
| "S-WARD_NO": 4, | |
| "I-FATHERS_NAME": 5, | |
| "S-BIRTH_YEAR": 6, | |
| "O": 7, | |
| "S-MUNCIPALITY": 8, | |
| "B-FATHERS_NAME": 9, | |
| "E-FATHERS_NAME": 10, | |
| "E-BIRTH_YEAR": 11, | |
| "E-CITIZENSHIP_CERTIFICATE_NO": 12, | |
| "B-MOTHERS_NAME": 13, | |
| "B-BIRTH_DAY": 14, | |
| "E-BIRTH_DAY": 15, | |
| "B-WARD_NO": 16, | |
| "S-MOTHERS_NAME": 17, | |
| "S-CITIZENSHIP_CERTIFICATE_NO": 18, | |
| "I-FULL_NAME": 19, | |
| "E-MOTHERS_NAME": 20, | |
| "S-GENDER": 21, | |
| "B-BIRTH_MONTH": 22, | |
| "S-BIRTH_MONTH": 23, | |
| "S-DISTRICT": 24, | |
| "E-FULL_NAME": 25, | |
| "B-FULL_NAME": 26, | |
| "E-BIRTH_MONTH": 27, | |
| "B-BIRTH_YEAR": 28, | |
| "I-MOTHERS_NAME": 29 | |
| } |