hf-tuner commited on
Commit
948fbc3
·
verified ·
1 Parent(s): 81550b4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -17
README.md CHANGED
@@ -1,20 +1,20 @@
1
- ---
2
- library_name: transformers
3
- license: apache-2.0
4
- base_model: google-bert/bert-base-uncased
5
- tags:
6
- - generated_from_trainer
7
- metrics:
8
- - accuracy
9
- model-index:
10
- - name: bert-banking-intent
11
- results: []
12
- datasets:
13
- - hf-tuner/banking-intent
14
- language:
15
- - en
16
- pipeline_tag: text-classification
17
- ---
18
 
19
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
20
  should probably proofread and complete it, then remove this comment. -->
@@ -27,6 +27,18 @@ It achieves the following results on the evaluation set:
27
  - Loss: 0.0079
28
  - Accuracy: 0.9993
29
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  ### Training hyperparameters
31
 
32
  The following hyperparameters were used during training:
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google-bert/bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: bert-banking-intent
11
+ results: []
12
+ datasets:
13
+ - hf-tuner/banking-intent
14
+ language:
15
+ - en
16
+ pipeline_tag: text-classification
17
+ ---
18
 
19
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
20
  should probably proofread and complete it, then remove this comment. -->
 
27
  - Loss: 0.0079
28
  - Accuracy: 0.9993
29
 
30
+ ### How to Get Started with the Model
31
+
32
+ ```py
33
+
34
+ from transformers import pipeline
35
+
36
+ classifier = pipeline("text-classification", model = "hf-tuner/bert-banking-intent")
37
+ classifier("Please help me get a new card, I reside in the United States.")
38
+ ## [{'label': 'country_support', 'score': 0.997}]
39
+
40
+ ```
41
+
42
  ### Training hyperparameters
43
 
44
  The following hyperparameters were used during training: