Ashishkr commited on
Commit
d9c50cc
1 Parent(s): 2c197b8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -41,7 +41,7 @@ Sentence 4 has a subject-verb agreement error.
41
 
42
  example_usage:
43
  library: HuggingFace transformers
44
- code: |
45
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
46
  tokenizer = AutoTokenizer.from_pretrained("salesken/query_wellformedness_score")
47
  model = AutoModelForSequenceClassification.from_pretrained("salesken/query_wellformedness_score")
@@ -55,6 +55,8 @@ Sentence 4 has a subject-verb agreement error.
55
  with torch.no_grad():
56
  scores = model(**features).logits
57
  print(scores)
 
 
58
  intended_use_cases:
59
  - Content Creation: Validate the well-formedness of written content.
60
  - Educational Platforms: Students check the grammaticality of sentences.
 
41
 
42
  example_usage:
43
  library: HuggingFace transformers
44
+ ```python
45
  from transformers import AutoTokenizer, AutoModelForSequenceClassification
46
  tokenizer = AutoTokenizer.from_pretrained("salesken/query_wellformedness_score")
47
  model = AutoModelForSequenceClassification.from_pretrained("salesken/query_wellformedness_score")
 
55
  with torch.no_grad():
56
  scores = model(**features).logits
57
  print(scores)
58
+ ```
59
+
60
  intended_use_cases:
61
  - Content Creation: Validate the well-formedness of written content.
62
  - Educational Platforms: Students check the grammaticality of sentences.