Text Classification
Transformers
TensorFlow
bert
generated_from_keras_callback
text-embeddings-inference
Run this model with HF Jobs
Run juancopi81/tutorial-model-bert-base-spanish-uncased-movie-rating on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/juancopi81/tutorial-model-bert-base-spanish-uncased-movie-rating. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/juancopi81/tutorial-model-bert-base-spanish-uncased-movie-rating on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use juancopi81/tutorial-model-bert-base-spanish-uncased-movie-rating with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use juancopi81/tutorial-model-bert-base-spanish-uncased-movie-rating with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="juancopi81/tutorial-model-bert-base-spanish-uncased-movie-rating")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("juancopi81/tutorial-model-bert-base-spanish-uncased-movie-rating") model = AutoModelForSequenceClassification.from_pretrained("juancopi81/tutorial-model-bert-base-spanish-uncased-movie-rating", device_map="auto") - Notebooks
- Google Colab
- Kaggle
tmp9770t4k0
This model is a fine-tuned version of nlptown/bert-base-multilingual-uncased-sentiment on an muchocine dataset. It achieves the following results on the evaluation set:
- Train Loss: 0.6629
- Train Accuracy: 0.7345
- Validation Loss: 1.4827
- Validation Accuracy: 0.5
- Epoch: 2
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:
- optimizer: {'name': 'Adam', 'learning_rate': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 5e-05, 'decay_steps': 1305, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False}
- training_precision: float32
Training results
| Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
|---|---|---|---|---|
| 1.3718 | 0.3908 | 1.2647 | 0.4381 | 0 |
| 1.0808 | 0.5330 | 1.2672 | 0.4742 | 1 |
| 0.6629 | 0.7345 | 1.4827 | 0.5 | 2 |
Framework versions
- Transformers 4.17.0
- TensorFlow 2.8.0
- Datasets 1.18.4
- Tokenizers 0.11.6
- Downloads last month
- 31