MatteoFasulo commited on
Commit
29856fe
·
verified ·
1 Parent(s): d56301c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -4
README.md CHANGED
@@ -94,17 +94,13 @@ classifier = pipeline(
94
  tokenizer="microsoft/mdeberta-v3-base",
95
  )
96
 
97
- # Example usage for an objective sentence
98
  text1 = "وهكذا بدأت النساء يعين أهمية دورهن في عدم الصمت أمام هذه الاقتحامات ورفضها بإعلاء صيحات الله أكبر."
99
  result1 = classifier(text1)
100
  print(f"Text: '{text1}' Classification: {result1}")
101
- # Expected output: [{'label': 'OBJ', 'score': ...}]
102
 
103
- # Example usage for a subjective sentence
104
  text2 = "ستشمل الشحنة الأولية نصف الجرعات، يليها النصف الثاني بعد ثلاثة أسابيع."
105
  result2 = classifier(text2)
106
  print(f"Text: '{text2}' Classification: {result2}")
107
- # Expected output: [{'label': 'SUBJ', 'score': ...}]
108
  ```
109
 
110
  ## Code
 
94
  tokenizer="microsoft/mdeberta-v3-base",
95
  )
96
 
 
97
  text1 = "وهكذا بدأت النساء يعين أهمية دورهن في عدم الصمت أمام هذه الاقتحامات ورفضها بإعلاء صيحات الله أكبر."
98
  result1 = classifier(text1)
99
  print(f"Text: '{text1}' Classification: {result1}")
 
100
 
 
101
  text2 = "ستشمل الشحنة الأولية نصف الجرعات، يليها النصف الثاني بعد ثلاثة أسابيع."
102
  result2 = classifier(text2)
103
  print(f"Text: '{text2}' Classification: {result2}")
 
104
  ```
105
 
106
  ## Code