Update README.md
Browse files
README.md
CHANGED
@@ -46,7 +46,7 @@ from transformers import AutoConfig, AutoTokenizer, AutoModelForTokenClassificat
|
|
46 |
from transformers import pipeline
|
47 |
|
48 |
|
49 |
-
model_name_or_path = "
|
50 |
config = AutoConfig.from_pretrained(model_name_or_path)
|
51 |
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path)
|
52 |
model = AutoModelForTokenClassification.from_pretrained(model_name_or_path, config=config)
|
|
|
46 |
from transformers import pipeline
|
47 |
|
48 |
|
49 |
+
model_name_or_path = "m3hrdadfi/typo-detector-distilbert-en"
|
50 |
config = AutoConfig.from_pretrained(model_name_or_path)
|
51 |
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path)
|
52 |
model = AutoModelForTokenClassification.from_pretrained(model_name_or_path, config=config)
|