tobiadefami
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -26,10 +26,10 @@ Users should be mindful of the model’s limitations, particularly in handling d
|
|
26 |
|
27 |
How to Get Started with the Model
|
28 |
``` python
|
29 |
-
from transformers import AutoTokenizer,
|
30 |
|
31 |
tokenizer = AutoTokenizer.from_pretrained("tobiadefami/docmodel-base")
|
32 |
-
model =
|
33 |
|
34 |
# Example usage
|
35 |
inputs = tokenizer("Your document text here...", return_tensors="pt")
|
|
|
26 |
|
27 |
How to Get Started with the Model
|
28 |
``` python
|
29 |
+
from transformers import AutoTokenizer, AutoModel
|
30 |
|
31 |
tokenizer = AutoTokenizer.from_pretrained("tobiadefami/docmodel-base")
|
32 |
+
model = AutoModel.from_pretrained("tobiadefami/docmodel-base")
|
33 |
|
34 |
# Example usage
|
35 |
inputs = tokenizer("Your document text here...", return_tensors="pt")
|