Run this model with HF Jobs
Run hadifar/entitylinker 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/hadifar/entitylinker. 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/hadifar/entitylinker 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 hadifar/entitylinker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hadifar/entitylinker with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="hadifar/entitylinker")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("hadifar/entitylinker") model = AutoModelForSequenceClassification.from_pretrained("hadifar/entitylinker", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload DistilBertForSequenceClassification
Browse filesFiles changed (2)
- config.json+7-1
- model.safetensors+2-2
7 unmodified lines8910111213141516171819207 unmodified lines"dim": 768,"dropout": 0.1,"hidden_dim": 3072,"initializer_range": 0.02,"max_position_embeddings": 512,"model_type": "distilbert","n_heads": 12,"n_layers": 6,"pad_token_id": 0,"problem_type": "single_label_classification","qa_dropout": 0.1,"seq_classif_dropout": 0.2,"sinusoidal_pos_embds": false,7 unmodified lines8910111213141516171819202122232425267 unmodified lines"dim": 768,"dropout": 0.1,"hidden_dim": 3072,"id2label": {"0": "LABEL_0"},"initializer_range": 0.02,"label2id": {"LABEL_0": 0},"max_position_embeddings": 512,"model_type": "distilbert","n_heads": 12,"n_layers": 6,"pad_token_id": 0,"problem_type": "regression","qa_dropout": 0.1,"seq_classif_dropout": 0.2,"sinusoidal_pos_embds": false,
123version https://git-lfs.github.com/spec/v1oid sha256:02a1a547da64a2483f49bcbb758f2da590f7b70c55ed79f52ad01894c744c69dsize 267832560123version https://git-lfs.github.com/spec/v1oid sha256:e40eb502b13fd86c9c9ba58e9b20c8659962471f66c007b8e68db5d4454d4fcdsize 267829484
config.json+7-1
model.safetensors+2-2