Ashishkr commited on
Commit
092bbad
1 Parent(s): b578004

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -3
README.md CHANGED
@@ -38,10 +38,13 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
38
  tokenizer = AutoTokenizer.from_pretrained("salesken/query_wellformedness_score")
39
  model = AutoModelForSequenceClassification.from_pretrained("salesken/query_wellformedness_score")
40
  sentences = [
41
- 'what was the reason for everyone to leave the company',
42
- 'What was the reason behind everyone leaving the company',
43
- # ... other sentences
 
 
44
  ]
 
45
  features = tokenizer(sentences, padding=True, truncation=True, return_tensors="pt")
46
  model.eval()
47
  with torch.no_grad():
 
38
  tokenizer = AutoTokenizer.from_pretrained("salesken/query_wellformedness_score")
39
  model = AutoModelForSequenceClassification.from_pretrained("salesken/query_wellformedness_score")
40
  sentences = [
41
+ "The quarterly financial report are showing an increase.", # Incorrect
42
+ "Him has completed the audit for last fiscal year.", # Incorrect
43
+ "Please to inform the board about the recent developments.", # Incorrect
44
+ "The team successfully achieved all its targets for the last quarter.", # Correct
45
+ "Our company is exploring new ventures in the European market." # Correct
46
  ]
47
+
48
  features = tokenizer(sentences, padding=True, truncation=True, return_tensors="pt")
49
  model.eval()
50
  with torch.no_grad():