brianhuster commited on
Commit
da551cc
·
verified ·
1 Parent(s): dc3e819

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -28
README.md CHANGED
@@ -1,35 +1,17 @@
1
  ---
2
- language:
3
- - en
4
  license: apache-2.0
5
- tags:
6
- - generated_from_trainer
7
  datasets:
8
- - glue
 
 
 
9
  metrics:
10
- - accuracy
11
- - f1
12
- model-index:
13
- - name: MRPC-bert
14
- results:
15
- - task:
16
- type: text-classification
17
- name: Text Classification
18
- dataset:
19
- name: GLUE MRPC
20
- type: glue
21
- args: mrpc
22
- metrics:
23
- - type: accuracy
24
- value: 0.8823529411764706
25
- name: Accuracy
26
- - type: f1
27
- value: 0.9178082191780821
28
- name: F1
29
- - task:
30
- type: natural-language-inference
31
- name: Natural Language Inference
32
-
33
 
34
  # bert-base-uncased-mrpc
35
 
@@ -48,3 +30,13 @@ The following hyperparameters were used during training:
48
  - Datasets 2.18.0
49
  - Tokenizers 0.15.0
50
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
 
 
2
  license: apache-2.0
 
 
3
  datasets:
4
+ - nyu-mll/glue
5
+ - SetFit/mrpc
6
+ language:
7
+ - en
8
  metrics:
9
+ - accuracy 0.8823529411764706
10
+ - f1 0.9178082191780821
11
+ library_name: transformers
12
+ pipeline_tag: text-classification
13
+ ---
14
+ ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
  # bert-base-uncased-mrpc
17
 
 
30
  - Datasets 2.18.0
31
  - Tokenizers 0.15.0
32
 
33
+ #Running model with Python
34
+ ```
35
+ from transformers import pipeline
36
+
37
+ classifier = pipeline("text-classification", model="brianhuster/MRPC-bert")
38
+ classifier(
39
+ "Sentence 1. Sentence 2."
40
+ )
41
+ ```
42
+ Replace "Sentence 1" and "Sentence 2" with your actual input sentence. Each sentence should end with a fullstop, even if they are questions. The model will return LABEL_1 if they are are equivalent in meaning, LABEL_1 otherwise.