RapMinerz commited on
Commit
2527cf8
1 Parent(s): 0f62846

update readme

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -53,11 +53,11 @@ pip install transformers
53
  To load the WatiBERT model, use the following Python code:
54
 
55
  ```python
56
- from transformers import AutoModel, AutoTokenizer
57
 
58
  # Load the tokenizer and model
59
- tokenizer = AutoTokenizer.from_pretrained("rapminerz/WatiBERT-large-cased")
60
- model = AutoModel.from_pretrained("rapminerz/WatiBERT-large-cased")
61
  ```
62
 
63
  ## Using the Model
 
53
  To load the WatiBERT model, use the following Python code:
54
 
55
  ```python
56
+ from transformers import FlaubertTokenizer, FlaubertWithLMHeadModel
57
 
58
  # Load the tokenizer and model
59
+ tokenizer = FlaubertTokenizer.from_pretrained("rapminerz/WatiBERT-large-cased")
60
+ model = FlaubertWithLMHeadModel.from_pretrained("rapminerz/WatiBERT-large-cased")
61
  ```
62
 
63
  ## Using the Model