stefanbschneider
commited on
Commit
•
e2acfaa
1
Parent(s):
8f2d608
Fix python code block in model card
Browse files
README.md
CHANGED
@@ -36,4 +36,5 @@ from transformers import pipeline
|
|
36 |
pipe = pipeline("text-classification", model="stefanbschneider/bert-base-uncased-dummy")
|
37 |
sentence1 = 'Amrozi accused his brother , whom he called " the witness " , of deliberately distorting his evidence .'
|
38 |
sentence2 = 'Referring to him as only " the witness " , Amrozi accused his brother of deliberately distorting his evidence .'
|
39 |
-
pipe([sentence1, sentence2])
|
|
|
|
36 |
pipe = pipeline("text-classification", model="stefanbschneider/bert-base-uncased-dummy")
|
37 |
sentence1 = 'Amrozi accused his brother , whom he called " the witness " , of deliberately distorting his evidence .'
|
38 |
sentence2 = 'Referring to him as only " the witness " , Amrozi accused his brother of deliberately distorting his evidence .'
|
39 |
+
pipe([sentence1, sentence2])
|
40 |
+
```
|