vitus9988 commited on
Commit
b55afc1
1 Parent(s): 8fd73c2

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -34
README.md CHANGED
@@ -47,15 +47,6 @@ It achieves the following results on the evaluation set:
47
  - 이메일 주소 [EM]
48
  - 날짜 [DT]
49
 
50
- ## Intended uses & limitations
51
-
52
- More information needed
53
-
54
- ## Training and evaluation data
55
-
56
- More information needed
57
-
58
- ## Training procedure
59
 
60
  ### Training hyperparameters
61
 
@@ -87,28 +78,4 @@ The following hyperparameters were used during training:
87
  - Transformers 4.40.2
88
  - Pytorch 2.3.0+cu118
89
  - Datasets 2.19.1
90
- - Tokenizers 0.19.1
91
-
92
- ### Use
93
- ```python
94
- from transformers import AutoTokenizer, AutoModelForTokenClassification
95
- from transformers import pipeline
96
-
97
- tokenizer = AutoTokenizer.from_pretrained("vitus9988/klue-roberta-small-ner-identified")
98
- model = AutoModelForTokenClassification.from_pretrained("vitus9988/klue-roberta-small-ner-identified")
99
-
100
- nlp = pipeline("ner", model=model, tokenizer=tokenizer, aggregation_strategy="simple")
101
- example = """
102
- 저는 서울특별시 강남대로 56길 100호에 삽니다. 전화번호는 010-1234-5678이고 주민등록번호는 123456-1234567입니다. 메일주소는 hugging@face.com입니다.
103
- """
104
-
105
- ner_results = nlp(example)
106
- for i in ner_results:
107
- print(i)
108
-
109
- #{'entity_group': 'AD', 'score': 0.79996574, 'word': '서울특별시 강남대로 56길 100호', 'start': 4, 'end': 23}
110
- #{'entity_group': 'PH', 'score': 0.948794, 'word': '010 - 1234 - 5678', 'start': 36, 'end': 49}
111
- #{'entity_group': 'RN', 'score': 0.90686846, 'word': '123456 - 1234567', 'start': 60, 'end': 74}
112
- #{'entity_group': 'EM', 'score': 0.935588, 'word': 'hugging @ face. com', 'start': 85, 'end': 101}
113
-
114
- ```
 
47
  - 이메일 주소 [EM]
48
  - 날짜 [DT]
49
 
 
 
 
 
 
 
 
 
 
50
 
51
  ### Training hyperparameters
52
 
 
78
  - Transformers 4.40.2
79
  - Pytorch 2.3.0+cu118
80
  - Datasets 2.19.1
81
+ - Tokenizers 0.19.1