nielsr HF staff commited on
Commit
d55c93d
·
verified ·
1 Parent(s): 3f81f7f

Add missing metadata: `pipeline_tag`, `library_name`, and `license`

Browse files

This PR adds the missing `pipeline_tag`, `library_name`, and `license` to the model card metadata. The `pipeline_tag` is set to `text-classification`, which reflects the model's function of classifying text segments as hallucinations or not. The license is retrieved from the Github page. This improved metadata enhances the model's discoverability and provides essential information for users.

Files changed (1) hide show
  1. README.md +16 -3
README.md CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  # ANAH: Analytical Annotation of Hallucinations in Large Language Models
2
 
3
  [![arXiv](https://img.shields.io/badge/arXiv-2312.14033-b31b1b.svg)](https://arxiv.org/abs/2405.20315)
@@ -14,8 +23,12 @@ You have to follow the prompt in [our paper](https://arxiv.org/abs/2405.20315) t
14
  The models follow the conversation format of InternLM2-chat, with the template protocol as:
15
 
16
  ```python
17
- dict(role='user', begin='<|im_start|>user\n', end='<|im_end|>\n'),
18
- dict(role='assistant', begin='<|im_start|>assistant\n', end='<|im_end|>\n'),
 
 
 
 
19
  ```
20
 
21
  ## 🖊️ Citation
@@ -28,4 +41,4 @@ If you find this project useful in your research, please consider citing:
28
  journal={arXiv preprint arXiv:2405.20315},
29
  year={2024}
30
  }
31
- ```
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: transformers
4
+ pipeline_tag: text-classification
5
+ tags:
6
+ - hallucination-detection
7
+ - text-classification
8
+ ---
9
+
10
  # ANAH: Analytical Annotation of Hallucinations in Large Language Models
11
 
12
  [![arXiv](https://img.shields.io/badge/arXiv-2312.14033-b31b1b.svg)](https://arxiv.org/abs/2405.20315)
 
23
  The models follow the conversation format of InternLM2-chat, with the template protocol as:
24
 
25
  ```python
26
+ dict(role='user', begin='<|im_start|>user
27
+ ', end='<|im_end|>
28
+ '),
29
+ dict(role='assistant', begin='<|im_start|>assistant
30
+ ', end='<|im_end|>
31
+ '),
32
  ```
33
 
34
  ## 🖊️ Citation
 
41
  journal={arXiv preprint arXiv:2405.20315},
42
  year={2024}
43
  }
44
+ ```