RJ3vans commited on
Commit
1dbafd5
·
verified ·
1 Parent(s): 7268fbf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -7,6 +7,7 @@ To use this model, the following code snippet may help:
7
 
8
  ======================================================================
9
 
 
10
  import torch
11
  from transformers import AutoModelForTokenClassification, AutoTokenizer
12
 
@@ -40,7 +41,7 @@ outputs = SignTaggingModel(inputs)[0]
40
  predictions = torch.argmax(outputs, dim=2)
41
 
42
  print([(token, label_list[prediction]) for token, prediction in zip(tokens, predictions[0].tolist())])
43
-
44
 
45
  ======================================================================
46
 
 
7
 
8
  ======================================================================
9
 
10
+ ~~~
11
  import torch
12
  from transformers import AutoModelForTokenClassification, AutoTokenizer
13
 
 
41
  predictions = torch.argmax(outputs, dim=2)
42
 
43
  print([(token, label_list[prediction]) for token, prediction in zip(tokens, predictions[0].tolist())])
44
+ ~~~
45
 
46
  ======================================================================
47