mav23 commited on
Commit
2e4fc28
·
verified ·
1 Parent(s): 8c41856

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. README.md +44 -0
  3. uniner-7b-all.Q4_0.gguf +3 -0
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ uniner-7b-all.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-nc-4.0
3
+ language:
4
+ - en
5
+ ---
6
+
7
+ ---
8
+
9
+
10
+ # UniNER-7B-all
11
+
12
+ **Description**: This model is the best UniNER model. It is trained on the combinations of three data splits: (1) ChatGPT-generated [Pile-NER-type data](https://huggingface.co/datasets/Universal-NER/Pile-NER-type), (2) ChatGPT-generated [Pile-NER-definition data](https://huggingface.co/datasets/Universal-NER/Pile-NER-definition), and (3) 40 supervised datasets in the Universal NER benchmark (see Fig. 4 in paper), where we randomly sample up to 10K instances from the train split of each dataset. Note that CrossNER and MIT datasets are excluded from training for OOD evaluation.
13
+
14
+ Check our [paper](https://arxiv.org/abs/2308.03279) for more information. Check our [repo](https://github.com/universal-ner/universal-ner) about how to use the model.
15
+
16
+ ## Inference
17
+ The template for inference instances is as follows:
18
+ <div style="background-color: #f6f8fa; padding: 20px; border-radius: 10px; border: 1px solid #e1e4e8; box-shadow: 0 2px 5px rgba(0,0,0,0.1);">
19
+ <strong>Prompting template:</strong><br/>
20
+ A virtual assistant answers questions from a user based on the provided text.<br/>
21
+ USER: Text: <span style="color: #d73a49;">{Fill the input text here}</span><br/>
22
+ ASSISTANT: I’ve read this text.<br/>
23
+ USER: What describes <span style="color: #d73a49;">{Fill the entity type here}</span> in the text?<br/>
24
+ ASSISTANT: <span style="color: #0366d6;">(model's predictions in JSON format)</span><br/>
25
+ </div>
26
+
27
+ ### Note: Inferences are based on one entity type at a time. For multiple entity types, create separate instances for each type.
28
+
29
+ ## License
30
+
31
+ This model and its associated data are released under the [CC BY-NC 4.0](https://creativecommons.org/licenses/by-nc/4.0/) license. They are primarily used for research purposes.
32
+
33
+ ## Citation
34
+
35
+ ```bibtex
36
+ @article{zhou2023universalner,
37
+ title={UniversalNER: Targeted Distillation from Large Language Models for Open Named Entity Recognition},
38
+ author={Wenxuan Zhou and Sheng Zhang and Yu Gu and Muhao Chen and Hoifung Poon},
39
+ year={2023},
40
+ eprint={2308.03279},
41
+ archivePrefix={arXiv},
42
+ primaryClass={cs.CL}
43
+ }
44
+ ```
uniner-7b-all.Q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86aefd6abe2d702a5d6a1c82f3fb779cfec39bdef5aff67437f5b6352767f7e6
3
+ size 3825807456