csclarkeV75 commited on
Commit
95b6f74
·
1 Parent(s): 04a5f96

updated readme

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -11,12 +11,12 @@ This model was trained on the [BBAI dataset](https://github.com/ChrisIsKing/blac
11
  ## Usage and Performance
12
 
13
  Pre-trained models can be used like this:
14
- ```
15
  from sentence_transformers import CrossEncoder
16
  model = CrossEncoder('csclarke/MARS-Encoder')
17
  scores = model.predict([('question 1', 'response 1'), ('question 1', 'response 2')])
18
  ```
19
 
20
- The model will predict scores for the pairs `('question 1', 'response 1'')` and `('question 1', 'response 2')`.
21
 
22
  You can use this model also without sentence_transformers and by just using Transformers ``AutoModel`` class
 
11
  ## Usage and Performance
12
 
13
  Pre-trained models can be used like this:
14
+ ```python
15
  from sentence_transformers import CrossEncoder
16
  model = CrossEncoder('csclarke/MARS-Encoder')
17
  scores = model.predict([('question 1', 'response 1'), ('question 1', 'response 2')])
18
  ```
19
 
20
+ The model will predict scores for the pairs `('question 1', 'response 1')` and `('question 1', 'response 2')`.
21
 
22
  You can use this model also without sentence_transformers and by just using Transformers ``AutoModel`` class