Instructions to use maissa03/distilbert-tokenclassifier-person-content with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maissa03/distilbert-tokenclassifier-person-content with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="maissa03/distilbert-tokenclassifier-person-content")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("maissa03/distilbert-tokenclassifier-person-content") model = AutoModelForTokenClassification.from_pretrained("maissa03/distilbert-tokenclassifier-person-content", device_map="auto") - Notebooks
- Google Colab
- Kaggle
distilbert-tokenclassifier-person-content
This model is a fine-tuned version of distilbert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.0669
- Precision: 0.7409
- Recall: 0.8394
- F1: 0.7871
- Accuracy: 0.9780
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 32
- eval_batch_size: 64
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_ratio: 0.06
- num_epochs: 10
Training results
Framework versions
- Transformers 4.56.0
- Pytorch 2.8.0
- Datasets 4.0.0
- Tokenizers 0.22.0
- Downloads last month
- 9
Model tree for maissa03/distilbert-tokenclassifier-person-content
Base model
distilbert/distilbert-base-uncased