Run this model with HF Jobs
Run hadiaskari98/Vulnerability_NER_prod 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/hadiaskari98/Vulnerability_NER_prod. 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/hadiaskari98/Vulnerability_NER_prod 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 hadiaskari98/Vulnerability_NER_prod with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hadiaskari98/Vulnerability_NER_prod with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="hadiaskari98/Vulnerability_NER_prod")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("hadiaskari98/Vulnerability_NER_prod") model = AutoModelForTokenClassification.from_pretrained("hadiaskari98/Vulnerability_NER_prod", device_map="auto") - Notebooks
- Google Colab
- Kaggle
How to use
tokenizer = AutoTokenizer.from_pretrained("hadiaskari98/Vulnerability_NER_prod")
model = AutoModelForTokenClassification.from_pretrained("hadiaskari98/Vulnerability_NER_prod")
nlp = pipeline("ner", model=model, tokenizer=tokenizer)
example = "This is an example of a SQL Injection attack"
ner_results = nlp(example)
print(ner_results)
- Downloads last month
- 7
Model tree for hadiaskari98/Vulnerability_NER_prod
Base model
google-bert/bert-large-cased