MatteoFasulo commited on
Commit
4f3923d
·
verified ·
1 Parent(s): aaf2270

Update black formatting

Browse files
Files changed (1) hide show
  1. README.md +5 -1
README.md CHANGED
@@ -97,7 +97,11 @@ You can use this model for text classification with the `transformers` library:
97
  from transformers import pipeline
98
 
99
  # Load the text classification pipeline
100
- classifier = pipeline("text-classification", model="MatteoFasulo/mdeberta-v3-base-subjectivity-english", tokenizer="microsoft/mdeberta-v3-base")
 
 
 
 
101
 
102
  # Example usage for an objective sentence
103
  text1 = "The company reported a 10% increase in profits in the last quarter."
 
97
  from transformers import pipeline
98
 
99
  # Load the text classification pipeline
100
+ classifier = pipeline(
101
+ "text-classification",
102
+ model="MatteoFasulo/mdeberta-v3-base-subjectivity-english",
103
+ tokenizer="microsoft/mdeberta-v3-base",
104
+ )
105
 
106
  # Example usage for an objective sentence
107
  text1 = "The company reported a 10% increase in profits in the last quarter."