maximuspowers
commited on
Commit
•
3d45c2a
1
Parent(s):
ca4a7b0
Update README.md
Browse files
README.md
CHANGED
@@ -44,7 +44,7 @@ import gradio as gr
|
|
44 |
|
45 |
# init important things
|
46 |
tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased')
|
47 |
-
model = BertForTokenClassification.from_pretrained('
|
48 |
model.eval()
|
49 |
model.to('cuda' if torch.cuda.is_available() else 'cpu')
|
50 |
|
|
|
44 |
|
45 |
# init important things
|
46 |
tokenizer = BertTokenizerFast.from_pretrained('bert-base-uncased')
|
47 |
+
model = BertForTokenClassification.from_pretrained('ethical-spectacle/social-bias-ner')
|
48 |
model.eval()
|
49 |
model.to('cuda' if torch.cuda.is_available() else 'cpu')
|
50 |
|