Update README.md
Browse files
README.md
CHANGED
@@ -5,7 +5,6 @@ language:
|
|
5 |
metrics:
|
6 |
- accuracy
|
7 |
library_name: adapter-transformers
|
8 |
-
pipeline_tag: text-classification
|
9 |
datasets:
|
10 |
- Msobhi/virgool_62k
|
11 |
---
|
@@ -75,5 +74,4 @@ model = BertForSequenceClassification.from_pretrained(model_path)
|
|
75 |
|
76 |
tokenizer= BertTokenizerFast.from_pretrained(model_path)
|
77 |
|
78 |
-
nlp= pipeline("text-classification", model=model, tokenizer=tokenizer)
|
79 |
-
|
|
|
5 |
metrics:
|
6 |
- accuracy
|
7 |
library_name: adapter-transformers
|
|
|
8 |
datasets:
|
9 |
- Msobhi/virgool_62k
|
10 |
---
|
|
|
74 |
|
75 |
tokenizer= BertTokenizerFast.from_pretrained(model_path)
|
76 |
|
77 |
+
nlp= pipeline("text-classification", model=model, tokenizer=tokenizer)
|
|