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+17-20
- model.safetensors+2-2
12345678910111213141516171819202122232425262728{"_name_or_path": "model/entitylinker5","architectures": ["RobertaForSequenceClassification"],"attention_probs_dropout_prob": 0.1,"bos_token_id": 0,"classifier_dropout": null,"eos_token_id": 2,"hidden_act": "gelu","hidden_dropout_prob": 0.1,"hidden_size": 768,"initializer_range": 0.02,"intermediate_size": 3072,"layer_norm_eps": 1e-05,"max_position_embeddings": 514,"model_type": "roberta","num_attention_heads": 12,"num_hidden_layers": 12,"pad_token_id": 1,"position_embedding_type": "absolute","problem_type": "single_label_classification","torch_dtype": "float32","transformers_version": "4.38.2","type_vocab_size": 1,"use_cache": true,"vocab_size": 50265}12345678910111213141516171819202122232425{"_name_or_path": "distilbert/distilbert-base-uncased","activation": "gelu","architectures": ["DistilBertForSequenceClassification"],"attention_dropout": 0.1,"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,"tie_weights_": true,"torch_dtype": "float32","transformers_version": "4.38.2","vocab_size": 30522}
123version https://git-lfs.github.com/spec/v1oid sha256:da091f2315795e8c3aca828c2f11db1dee930d1ef0f8e7d5b083082e4186bfa9size 498612824123version https://git-lfs.github.com/spec/v1oid sha256:02a1a547da64a2483f49bcbb758f2da590f7b70c55ed79f52ad01894c744c69dsize 267832560
config.json+17-20
model.safetensors+2-2