gbpatentdata commited on
Commit
68a5a8c
1 Parent(s): 91ad593

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -19,8 +19,8 @@ This model can be used with HuggingFace Transformer's Pipelines API for NER:
19
  ```python
20
  from transformers import pipeline, AutoModelForTokenClassification, AutoTokenizer
21
 
22
- tokenizer = AutoTokenizer.from_pretrained("gbpatentdata/patent_titles_ner_xlmroberta_20241111")
23
- model = AutoModelForTokenClassification.from_pretrained("gbpatentdata/patent_titles_ner_xlmroberta_20241111")
24
 
25
 
26
  def custom_recognizer(text, model=model, tokenizer=tokenizer, device=0):
 
19
  ```python
20
  from transformers import pipeline, AutoModelForTokenClassification, AutoTokenizer
21
 
22
+ tokenizer = AutoTokenizer.from_pretrained("gbpatentdata/patent_titles_ner")
23
+ model = AutoModelForTokenClassification.from_pretrained("gbpatentdata/patent_titles_ner")
24
 
25
 
26
  def custom_recognizer(text, model=model, tokenizer=tokenizer, device=0):