Instructions to use JFernandoGRE/classificator_names with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use JFernandoGRE/classificator_names with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="JFernandoGRE/classificator_names")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("JFernandoGRE/classificator_names") model = AutoModelForSequenceClassification.from_pretrained("JFernandoGRE/classificator_names", device_map="auto") - Notebooks
- Google Colab
- Kaggle
JFernandoGRE/bert_spanish_judgenames
Browse files- README.md +5 -6
- model.safetensors +1 -1
- training_args.bin +1 -1
README.md
CHANGED
|
@@ -16,7 +16,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [dccuchile/bert-base-spanish-wwm-uncased](https://huggingface.co/dccuchile/bert-base-spanish-wwm-uncased) on the None dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
-
- Loss: 0.
|
| 20 |
- Accuracy: 0.9911
|
| 21 |
|
| 22 |
## Model description
|
|
@@ -36,21 +36,20 @@ More information needed
|
|
| 36 |
### Training hyperparameters
|
| 37 |
|
| 38 |
The following hyperparameters were used during training:
|
| 39 |
-
- learning_rate:
|
| 40 |
- train_batch_size: 16
|
| 41 |
- eval_batch_size: 16
|
| 42 |
- seed: 12345
|
| 43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
- lr_scheduler_type: linear
|
| 45 |
-
- num_epochs:
|
| 46 |
|
| 47 |
### Training results
|
| 48 |
|
| 49 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 50 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 51 |
-
| No log | 1.0 | 66 | 0.
|
| 52 |
-
| No log | 2.0 | 132 | 0.
|
| 53 |
-
| No log | 3.0 | 198 | 0.0562 | 0.9911 |
|
| 54 |
|
| 55 |
|
| 56 |
### Framework versions
|
|
|
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [dccuchile/bert-base-spanish-wwm-uncased](https://huggingface.co/dccuchile/bert-base-spanish-wwm-uncased) on the None dataset.
|
| 18 |
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.0529
|
| 20 |
- Accuracy: 0.9911
|
| 21 |
|
| 22 |
## Model description
|
|
|
|
| 36 |
### Training hyperparameters
|
| 37 |
|
| 38 |
The following hyperparameters were used during training:
|
| 39 |
+
- learning_rate: 5e-05
|
| 40 |
- train_batch_size: 16
|
| 41 |
- eval_batch_size: 16
|
| 42 |
- seed: 12345
|
| 43 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 44 |
- lr_scheduler_type: linear
|
| 45 |
+
- num_epochs: 2
|
| 46 |
|
| 47 |
### Training results
|
| 48 |
|
| 49 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
| 50 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
| 51 |
+
| No log | 1.0 | 66 | 0.0802 | 0.9867 |
|
| 52 |
+
| No log | 2.0 | 132 | 0.0529 | 0.9911 |
|
|
|
|
| 53 |
|
| 54 |
|
| 55 |
### Framework versions
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 439433208
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:023759edbd26f4175f99eee6c98174640267de5c8663a1e3b1b3293708a8138d
|
| 3 |
size 439433208
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5112
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b328ae4ca124bf5238cfffd8272c2c69fa42aff9f0cf5a46b020f57912d238ee
|
| 3 |
size 5112
|