shahrukhx01
commited on
Commit
·
65cb93b
1
Parent(s):
5c44a3f
Update README.md
Browse files
README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
from transformers import (
|
3 |
AutoModelForSequenceClassification,
|
4 |
AutoTokenizer,
|
@@ -24,4 +24,5 @@ passage = """Berlin is the capital and largest city of Germany by both area and
|
|
24 |
according to population within city limits."""
|
25 |
|
26 |
question = "Is Berlin the smallest city of Germany?"
|
27 |
-
predict(s_question, passage)
|
|
|
|
1 |
+
```python
|
2 |
from transformers import (
|
3 |
AutoModelForSequenceClassification,
|
4 |
AutoTokenizer,
|
|
|
24 |
according to population within city limits."""
|
25 |
|
26 |
question = "Is Berlin the smallest city of Germany?"
|
27 |
+
predict(s_question, passage)
|
28 |
+
```
|