maximuspowers commited on
Commit
2da0010
1 Parent(s): 68b5418

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -31,7 +31,7 @@ Fine-tuned BERT ([bert-base-uncased](https://huggingface.co/google-bert/bert-bas
31
 
32
  ## How to Use:
33
 
34
- ```
35
  from transformers import pipeline
36
 
37
  classifier = pipeline("text-classification", model="maximuspowers/nmbp-bert-headlines")
@@ -39,7 +39,7 @@ result = classifier("He was a terrible politician.", top_k=2)
39
  ```
40
 
41
  ### Example Response:
42
- ```
43
  [
44
  {
45
  'label': 'Likely',
 
31
 
32
  ## How to Use:
33
 
34
+ ```python
35
  from transformers import pipeline
36
 
37
  classifier = pipeline("text-classification", model="maximuspowers/nmbp-bert-headlines")
 
39
  ```
40
 
41
  ### Example Response:
42
+ ```json
43
  [
44
  {
45
  'label': 'Likely',