Run this model with HF Jobs
Run AhRoleo/distilbert-ner-query on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/AhRoleo/distilbert-ner-query. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/AhRoleo/distilbert-ner-query on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use AhRoleo/distilbert-ner-query with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AhRoleo/distilbert-ner-query with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="AhRoleo/distilbert-ner-query")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("AhRoleo/distilbert-ner-query") model = AutoModelForTokenClassification.from_pretrained("AhRoleo/distilbert-ner-query", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from AhRoleo/distilbert-ner-query: direct link, hf CLI and curl.
- Browser
- Download file 674 Bytes
-
https://huggingface.co/AhRoleo/distilbert-ner-query/resolve/main/config.json
- Command line
-
hf download hf://AhRoleo/distilbert-ner-query/config.json
-
curl -L -o config.json https://huggingface.co/AhRoleo/distilbert-ner-query/resolve/main/config.json
674 Bytes
| { | |
| "activation": "gelu", | |
| "architectures": [ | |
| "DistilBertForTokenClassification" | |
| ], | |
| "attention_dropout": 0.1, | |
| "dim": 768, | |
| "dropout": 0.1, | |
| "dtype": "float32", | |
| "hidden_dim": 3072, | |
| "id2label": { | |
| "0": "O", | |
| "1": "person", | |
| "2": "content" | |
| }, | |
| "initializer_range": 0.02, | |
| "label2id": { | |
| "O": 0, | |
| "content": 2, | |
| "person": 1 | |
| }, | |
| "max_position_embeddings": 512, | |
| "model_type": "distilbert", | |
| "n_heads": 12, | |
| "n_layers": 6, | |
| "output_past": true, | |
| "pad_token_id": 0, | |
| "qa_dropout": 0.1, | |
| "seq_classif_dropout": 0.2, | |
| "sinusoidal_pos_embds": false, | |
| "tie_weights_": true, | |
| "transformers_version": "4.56.0", | |
| "vocab_size": 28996 | |
| } | |