Instructions to use djamina/relatives_psr_seq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use djamina/relatives_psr_seq with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="djamina/relatives_psr_seq")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("djamina/relatives_psr_seq") model = AutoModelForTokenClassification.from_pretrained("djamina/relatives_psr_seq", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from djamina/relatives_psr_seq: direct link, hf CLI and curl.
- Browser
- Download file 1.81 kB
-
https://huggingface.co/djamina/relatives_psr_seq/resolve/main/README.md
- Command line
-
hf download hf://djamina/relatives_psr_seq/README.md
-
curl -L -o README.md https://huggingface.co/djamina/relatives_psr_seq/resolve/main/README.md
1.81 kB
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - precision | |
| - recall | |
| - f1 | |
| - accuracy | |
| model-index: | |
| - name: relatives_psr_seq | |
| results: [] | |
| <!-- This model card has been generated automatically according to the information the Trainer had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # relatives_psr_seq | |
| This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.6642 | |
| - Precision: 0.5052 | |
| - Recall: 0.4082 | |
| - F1: 0.4051 | |
| - Accuracy: 0.7670 | |
| ## 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: 8 | |
| - eval_batch_size: 8 | |
| - seed: 42 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - num_epochs: 5 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy | | |
| |:-------------:|:-----:|:----:|:---------------:|:---------:|:------:|:------:|:--------:| | |
| | No log | 1.0 | 49 | 0.7285 | 0.7125 | 0.3284 | 0.2862 | 0.7611 | | |
| | No log | 2.0 | 98 | 0.6789 | 0.6397 | 0.3400 | 0.3098 | 0.7685 | | |
| | No log | 3.0 | 147 | 0.6739 | 0.5247 | 0.3754 | 0.3685 | 0.7672 | | |
| | No log | 4.0 | 196 | 0.6650 | 0.4600 | 0.3984 | 0.3886 | 0.7555 | | |
| | No log | 5.0 | 245 | 0.6642 | 0.5052 | 0.4082 | 0.4051 | 0.7670 | | |
| ### Framework versions | |
| - Transformers 4.41.2 | |
| - Pytorch 2.3.0+cu121 | |
| - Datasets 2.19.2 | |
| - Tokenizers 0.19.1 | |