real-jiakai commited on
Commit
b9b6183
1 Parent(s): a8005a7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -9
README.md CHANGED
@@ -91,15 +91,6 @@ inputs = tokenizer(
91
  truncation=True
92
  )
93
 
94
- # Tokenize inputs
95
- inputs = tokenizer(
96
- question,
97
- context,
98
- return_tensors="pt",
99
- max_length=384,
100
- truncation=True
101
- )
102
-
103
  # Get answer
104
  outputs = model(**inputs)
105
  answer_start = torch.argmax(outputs.start_logits)
 
91
  truncation=True
92
  )
93
 
 
 
 
 
 
 
 
 
 
94
  # Get answer
95
  outputs = model(**inputs)
96
  answer_start = torch.argmax(outputs.start_logits)