ychenNLP commited on
Commit
b16d907
·
1 Parent(s): b34be6b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -2,6 +2,7 @@
2
  tags:
3
  - BERT
4
  - Text Classification
 
5
  language: Arabic
6
  license: mit
7
  datasets:
@@ -31,8 +32,8 @@ datasets:
31
  >>> ner_tokenizer = AutoTokenizer.from_pretrained("ychenNLP/arabic-ner-ace-gigabert")
32
  >>> ner_pip = pipeline("ner", model=ner_model, tokenizer=ner_tokenizer, grouped_entities=True)
33
 
34
- >>> re_model = AutoModelForSequenceClassification.from_pretrained("ychenNLP/arabic-relation-extraction-ace-gigabert")
35
- >>> re_tokenizer = AutoTokenizer.from_pretrained("ychenNLP/arabic-relation-extraction-ace-gigabert")
36
  >>> re_pip = pipeline("text-classification", model=re_model, tokenizer=re_tokenizer)
37
 
38
  def process_ner_output(entity_mention, input):
 
2
  tags:
3
  - BERT
4
  - Text Classification
5
+ - relation
6
  language: Arabic
7
  license: mit
8
  datasets:
 
32
  >>> ner_tokenizer = AutoTokenizer.from_pretrained("ychenNLP/arabic-ner-ace-gigabert")
33
  >>> ner_pip = pipeline("ner", model=ner_model, tokenizer=ner_tokenizer, grouped_entities=True)
34
 
35
+ >>> re_model = AutoModelForSequenceClassification.from_pretrained("ychenNLP/arabic-relation-extraction")
36
+ >>> re_tokenizer = AutoTokenizer.from_pretrained("ychenNLP/arabic-relation-extraction")
37
  >>> re_pip = pipeline("text-classification", model=re_model, tokenizer=re_tokenizer)
38
 
39
  def process_ner_output(entity_mention, input):