Text Classification
Transformers
PyTorch
TensorBoard
distilbert
Generated from Trainer
text-embeddings-inference
Instructions to use S2312dal/M4_MLM_cross with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use S2312dal/M4_MLM_cross with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="S2312dal/M4_MLM_cross")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("S2312dal/M4_MLM_cross") model = AutoModelForSequenceClassification.from_pretrained("S2312dal/M4_MLM_cross", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from S2312dal/M4_MLM_cross: direct link, hf CLI and curl.
- Browser
- Download file 1.59 kB
-
https://huggingface.co/S2312dal/M4_MLM_cross/resolve/main/README.md
- Command line
-
hf download hf://S2312dal/M4_MLM_cross/README.md
-
curl -L -o README.md https://huggingface.co/S2312dal/M4_MLM_cross/resolve/main/README.md
1.59 kB
| license: apache-2.0 | |
| tags: | |
| - generated_from_trainer | |
| metrics: | |
| - spearmanr | |
| model-index: | |
| - name: M4_MLM_cross | |
| 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. --> | |
| # M4_MLM_cross | |
| This model is a fine-tuned version of [S2312dal/M4_MLM](https://huggingface.co/S2312dal/M4_MLM) on an unknown dataset. | |
| It achieves the following results on the evaluation set: | |
| - Loss: 0.0222 | |
| - Pearson: 0.9472 | |
| - Spearmanr: 0.8983 | |
| ## 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: 16 | |
| - eval_batch_size: 16 | |
| - seed: 25 | |
| - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 | |
| - lr_scheduler_type: linear | |
| - lr_scheduler_warmup_steps: 8.0 | |
| - num_epochs: 3 | |
| - mixed_precision_training: Native AMP | |
| ### Training results | |
| | Training Loss | Epoch | Step | Validation Loss | Pearson | Spearmanr | | |
| |:-------------:|:-----:|:----:|:---------------:|:-------:|:---------:| | |
| | 0.0353 | 1.0 | 131 | 0.0590 | 0.8326 | 0.8225 | | |
| | 0.0478 | 2.0 | 262 | 0.0368 | 0.9234 | 0.8894 | | |
| | 0.0256 | 3.0 | 393 | 0.0222 | 0.9472 | 0.8983 | | |
| ### Framework versions | |
| - Transformers 4.20.0 | |
| - Pytorch 1.11.0+cu113 | |
| - Datasets 2.3.2 | |
| - Tokenizers 0.12.1 | |