Instructions to use roscazo/CTEBMSP_ner_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use roscazo/CTEBMSP_ner_test with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="roscazo/CTEBMSP_ner_test")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("roscazo/CTEBMSP_ner_test") model = AutoModelForTokenClassification.from_pretrained("roscazo/CTEBMSP_ner_test", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from roscazo/CTEBMSP_ner_test: direct link, hf CLI and curl.
- Browser
- Download file 2.37 kB
-
https://huggingface.co/roscazo/CTEBMSP_ner_test/resolve/main/README.md
- Command line
-
hf download hf://roscazo/CTEBMSP_ner_test/README.md
-
curl -L -o README.md https://huggingface.co/roscazo/CTEBMSP_ner_test/resolve/main/README.md
2.37 kB
| license: cc-by-4.0 | |
| tags: | |
| - generated_from_trainer | |
| model-index: | |
| - name: CTEBMSP_ner_test | |
| 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. --> | |
| # CTEBMSP_ner_test | |
| This model is a fine-tuned version of [chizhikchi/Spanish_disease_finder](https://huggingface.co/chizhikchi/Spanish_disease_finder) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.0560 | |
| - Diso Precision: 0.8925 | |
| - Diso Recall: 0.8945 | |
| - Diso F1: 0.8935 | |
| - Diso Number: 2645 | |
| - Overall Precision: 0.8925 | |
| - Overall Recall: 0.8945 | |
| - Overall F1: 0.8935 | |
| - Overall Accuracy: 0.9899 | |
| ## 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: 4e-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: 4 | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Diso Precision | Diso Recall | Diso F1 | Diso Number | Overall Precision | Overall Recall | Overall F1 | Overall Accuracy | | |
| |:-------------:|:-----:|:----:|:---------------:|:--------------:|:-----------:|:-------:|:-----------:|:-----------------:|:--------------:|:----------:|:----------------:| | |
| | 0.04 | 1.0 | 1570 | 0.0439 | 0.8410 | 0.8858 | 0.8628 | 2645 | 0.8410 | 0.8858 | 0.8628 | 0.9877 | | |
| | 0.0173 | 2.0 | 3140 | 0.0487 | 0.8728 | 0.8843 | 0.8785 | 2645 | 0.8728 | 0.8843 | 0.8785 | 0.9885 | | |
| | 0.0071 | 3.0 | 4710 | 0.0496 | 0.8911 | 0.8945 | 0.8928 | 2645 | 0.8911 | 0.8945 | 0.8928 | 0.9898 | | |
| | 0.0025 | 4.0 | 6280 | 0.0560 | 0.8925 | 0.8945 | 0.8935 | 2645 | 0.8925 | 0.8945 | 0.8935 | 0.9899 | | |
| ### Framework versions | |
| - Transformers 4.25.1 | |
| - Pytorch 1.13.0+cu116 | |
| - Datasets 2.8.0 | |
| - Tokenizers 0.13.2 | |