amir22010 commited on
Commit
51f7aec
1 Parent(s): aa9cb59

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -6
README.md CHANGED
@@ -35,11 +35,7 @@ Training Results
35
  "train_samples_per_second": 0.88
36
  }
37
 
38
-
39
- ``
40
  from transformers import LayoutXLMProcessor, LayoutLMv2ForTokenClassification
41
-
42
  processor = LayoutXLMProcessor.from_pretrained("amir22010/layoutxlm-xfund-ja")
43
-
44
- model = LayoutLMv2ForTokenClassification.from_pretrained("amir22010/layoutxlm-xfund-ja",num_labels = 7)
45
- ``
 
35
  "train_samples_per_second": 0.88
36
  }
37
 
38
+ code: |
 
39
  from transformers import LayoutXLMProcessor, LayoutLMv2ForTokenClassification
 
40
  processor = LayoutXLMProcessor.from_pretrained("amir22010/layoutxlm-xfund-ja")
41
+ model = LayoutLMv2ForTokenClassification.from_pretrained("amir22010/layoutxlm-xfund-ja",num_labels = 7)