Instructions to use stuartmesham/deberta-large_spell_5k_2_p3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stuartmesham/deberta-large_spell_5k_2_p3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="stuartmesham/deberta-large_spell_5k_2_p3")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("stuartmesham/deberta-large_spell_5k_2_p3") model = AutoModelForTokenClassification.from_pretrained("stuartmesham/deberta-large_spell_5k_2_p3", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from stuartmesham/deberta-large_spell_5k_2_p3: direct link, hf CLI and curl.
- Browser
- Download file 1.6 kB
-
https://huggingface.co/stuartmesham/deberta-large_spell_5k_2_p3/resolve/main/README.md
- Command line
-
hf download hf://stuartmesham/deberta-large_spell_5k_2_p3/README.md
-
curl -L -o README.md https://huggingface.co/stuartmesham/deberta-large_spell_5k_2_p3/resolve/main/README.md
1.6 kB
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: deberta-large_spell_5k_2_p3 | |
| 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. --> | |
| # deberta-large_spell_5k_2_p3 | |
| This model is a fine-tuned version of [model_saves/deberta-large_spell_5k_2_p2](https://huggingface.co/model_saves/deberta-large_spell_5k_2_p2) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.4141 | |
| - Accuracy: 0.9416 | |
| ## 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: 1e-05 | |
| - train_batch_size: 128 | |
| - eval_batch_size: 128 | |
| - seed: 52 | |
| - distributed_type: multi-GPU | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: constant | |
| - num_epochs: 15.0 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Accuracy | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------:| | |
| | No log | 1.0 | 268 | 0.4141 | 0.9416 | | |
| | No log | 2.0 | 536 | 0.4367 | 0.9412 | | |
| | No log | 3.0 | 804 | 0.4807 | 0.9400 | | |
| | 0.255 | 4.0 | 1072 | 0.5355 | 0.9398 | | |
| ### Framework versions | |
| - Transformers 4.21.0.dev0 | |
| - Pytorch 1.11.0+cu113 | |
| - Datasets 2.3.2 | |
| - Tokenizers 0.12.1 | |