tobiadefami commited on
Commit
5ab3f83
·
verified ·
1 Parent(s): 34b7ea4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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, AutoModelForTokenClassification
30
 
31
  tokenizer = AutoTokenizer.from_pretrained("tobiadefami/docmodel-base")
32
- model = AutoModelForTokenClassification.from_pretrained("tobiadefami/docmodel-base")
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")