Text Classification
Transformers
Safetensors
roberta
Generated from Trainer
text-embeddings-inference
Instructions to use QuimBallester/question_focus_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuimBallester/question_focus_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="QuimBallester/question_focus_model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("QuimBallester/question_focus_model") model = AutoModelForSequenceClassification.from_pretrained("QuimBallester/question_focus_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
license:
|
| 4 |
-
base_model:
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
metrics:
|
|
@@ -16,10 +16,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
|
| 17 |
# question_focus_model
|
| 18 |
|
| 19 |
-
This model is a fine-tuned version of [
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
-
- Loss: 0.
|
| 22 |
-
- Accuracy: 0.
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
@@ -38,20 +38,22 @@ More information needed
|
|
| 38 |
### Training hyperparameters
|
| 39 |
|
| 40 |
The following hyperparameters were used during training:
|
| 41 |
-
- learning_rate:
|
| 42 |
-
- train_batch_size:
|
| 43 |
-
- eval_batch_size:
|
| 44 |
- seed: 42
|
| 45 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 46 |
- lr_scheduler_type: linear
|
| 47 |
-
-
|
|
|
|
| 48 |
|
| 49 |
### Training results
|
| 50 |
|
| 51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 53 |
-
|
|
| 54 |
-
|
|
|
|
|
| 55 |
|
| 56 |
|
| 57 |
### Framework versions
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
license: mit
|
| 4 |
+
base_model: facebook/bart-large-mnli
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
metrics:
|
|
|
|
| 16 |
|
| 17 |
# question_focus_model
|
| 18 |
|
| 19 |
+
This model is a fine-tuned version of [facebook/bart-large-mnli](https://huggingface.co/facebook/bart-large-mnli) on an unknown dataset.
|
| 20 |
It achieves the following results on the evaluation set:
|
| 21 |
+
- Loss: 0.6996
|
| 22 |
+
- Accuracy: 0.3636
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
|
|
|
| 38 |
### Training hyperparameters
|
| 39 |
|
| 40 |
The following hyperparameters were used during training:
|
| 41 |
+
- learning_rate: 1e-05
|
| 42 |
+
- train_batch_size: 4
|
| 43 |
+
- eval_batch_size: 4
|
| 44 |
- seed: 42
|
| 45 |
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 46 |
- lr_scheduler_type: linear
|
| 47 |
+
- lr_scheduler_warmup_steps: 100
|
| 48 |
+
- num_epochs: 3
|
| 49 |
|
| 50 |
### Training results
|
| 51 |
|
| 52 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 53 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 54 |
+
| 0.6978 | 1.0 | 10 | 0.6996 | 0.3636 |
|
| 55 |
+
| 0.6806 | 2.0 | 20 | 0.7070 | 0.3636 |
|
| 56 |
+
| 0.5973 | 3.0 | 30 | 0.7446 | 0.4545 |
|
| 57 |
|
| 58 |
|
| 59 |
### Framework versions
|