Instructions to use Agita/Transformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Agita/Transformer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Agita/Transformer")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Agita/Transformer") model = AutoModel.from_pretrained("Agita/Transformer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,36 +11,7 @@ metrics:
|
|
| 11 |
---
|
| 12 |
|
| 13 |
|
| 14 |
-
|
| 15 |
-
license: apache-2.0
|
| 16 |
-
base_model: distilbert-base-uncased
|
| 17 |
-
tags:
|
| 18 |
-
- generated_from_trainer
|
| 19 |
-
datasets:
|
| 20 |
-
- emotion
|
| 21 |
-
metrics:
|
| 22 |
-
- accuracy
|
| 23 |
-
- f1
|
| 24 |
-
model-index:
|
| 25 |
-
- name: distilbert-base-uncased-finetuned-emotion
|
| 26 |
-
results:
|
| 27 |
-
- task:
|
| 28 |
-
name: Text Classification
|
| 29 |
-
type: text-classification
|
| 30 |
-
dataset:
|
| 31 |
-
name: emotion
|
| 32 |
-
type: emotion
|
| 33 |
-
config: split
|
| 34 |
-
split: validation
|
| 35 |
-
args: split
|
| 36 |
-
metrics:
|
| 37 |
-
- name: Accuracy
|
| 38 |
-
type: accuracy
|
| 39 |
-
value: 0.9255
|
| 40 |
-
- name: F1
|
| 41 |
-
type: f1
|
| 42 |
-
value: 0.9255503643924508
|
| 43 |
-
---
|
| 44 |
|
| 45 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 46 |
should probably proofread and complete it, then remove this comment. -->
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
|
| 14 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 17 |
should probably proofread and complete it, then remove this comment. -->
|