Update README.md
Browse files
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)
|
|
|
|