Instructions to use AndreiRabau/albert-base-v2-Shakespear with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AndreiRabau/albert-base-v2-Shakespear with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AndreiRabau/albert-base-v2-Shakespear")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AndreiRabau/albert-base-v2-Shakespear") model = AutoModelForSequenceClassification.from_pretrained("AndreiRabau/albert-base-v2-Shakespear") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -31,6 +31,7 @@ It achieves the following results on the evaluation set:
|
|
| 31 |
|
| 32 |
This model was created for text classification to determine whether a given text is in Shakespeare's style or not.
|
| 33 |
You can use this model to classify texts or as a validation metric for evaluating Shakespeare-style text generation models.
|
|
|
|
| 34 |
|
| 35 |
|
| 36 |
### Training hyperparameters
|
|
|
|
| 31 |
|
| 32 |
This model was created for text classification to determine whether a given text is in Shakespeare's style or not.
|
| 33 |
You can use this model to classify texts or as a validation metric for evaluating Shakespeare-style text generation models.
|
| 34 |
+
The label 'LABEL_1' indicates that the text is in Shakespeare's style, while 'LABEL_0' means that it is not.
|
| 35 |
|
| 36 |
|
| 37 |
### Training hyperparameters
|