krotima1 commited on
Commit
e7a525b
·
verified ·
1 Parent(s): 7e2ded8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -2
README.md CHANGED
@@ -17,8 +17,11 @@ binary classification and ternary classification.
17
 
18
  # Usage
19
  ```python
20
- a = 5
21
-
 
 
 
22
 
23
  ```
24
 
 
17
 
18
  # Usage
19
  ```python
20
+ # Assuming you copied the attached Files_and_versions/AlignScore.py file for ease of use in transformers.
21
+ from AlignScoreCS import AlignScoreCS
22
+ alignScoreCS = AlignScoreCS.from_pretrained("krotima1/AlignScoreCS")
23
+ # put the model to cuda to accelerate
24
+ print(alignScoreCS.score(context="This is context", claim="This is claim"))
25
 
26
  ```
27