mgubri commited on
Commit
c7b60b4
·
verified ·
1 Parent(s): 76a8cd8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +30 -12
README.md CHANGED
@@ -28,22 +28,14 @@ This model is a fine-tuned version of [microsoft/deberta-v3-base](https://huggin
28
 
29
  More information needed
30
 
31
- ## Training and evaluation data
32
-
33
- More information needed
34
-
35
  ## Training procedure
36
 
37
  ### Training hyperparameters
38
 
39
- The following hyperparameters were used during training:
40
- - learning_rate: 5e-05
41
- - train_batch_size: 8
42
- - eval_batch_size: 8
43
- - seed: 42
44
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
- - lr_scheduler_type: linear
46
- - num_epochs: 3.0
47
 
48
  ### Framework versions
49
 
@@ -51,3 +43,29 @@ The following hyperparameters were used during training:
51
  - Pytorch 2.0.0+cu117
52
  - Datasets 2.14.6
53
  - Tokenizers 0.13.3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
  More information needed
30
 
 
 
 
 
31
  ## Training procedure
32
 
33
  ### Training hyperparameters
34
 
35
+ This model was trained with the code available on the [parameterlab/apricot GitHub repository](https://github.com/parameterlab/apricot) using the following command:
36
+ ```shell
37
+ python3 run_regression_experiment.py --model-identifier lmsys/vicuna-7b-v1.5 --dataset-name trivia_qa --device cuda:0 --num-training-steps 600 --num-in-context-samples 10 --data-dir $data_dir --model-save-dir $model_save_dir --use-binary-targets --result-dir $result_dir --lr 0.00001406042367984269 --weight-decay 0.03184622692678102 --push-to-hub
38
+ ```
 
 
 
 
39
 
40
  ### Framework versions
41
 
 
43
  - Pytorch 2.0.0+cu117
44
  - Datasets 2.14.6
45
  - Tokenizers 0.13.3
46
+
47
+
48
+ ## Citation
49
+ If you find 🍑 Apricot models useful for your work, please cite our paper:
50
+ ``` latex
51
+ @inproceedings{ulmer-etal-2024-calibrating,
52
+ title = "Calibrating Large Language Models Using Their Generations Only",
53
+ author = "Ulmer, Dennis and
54
+ Gubri, Martin and
55
+ Lee, Hwaran and
56
+ Yun, Sangdoo and
57
+ Oh, Seong",
58
+ editor = "Ku, Lun-Wei and
59
+ Martins, Andre and
60
+ Srikumar, Vivek",
61
+ booktitle = "Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
62
+ month = aug,
63
+ year = "2024",
64
+ address = "Bangkok, Thailand",
65
+ publisher = "Association for Computational Linguistics",
66
+ url = "https://aclanthology.org/2024.acl-long.824",
67
+ doi = "10.18653/v1/2024.acl-long.824",
68
+ pages = "15440--15459",
69
+ abstract = "As large language models (LLMs) are increasingly deployed in user-facing applications, building trust and maintaining safety by accurately quantifying a model{'}s confidence in its prediction becomes even more important. However, finding effective ways to calibrate LLMs{---}especially when the only interface to the models is their generated text{---}remains a challenge. We propose APRICOT (Auxiliary prediction of confidence targets): A method to set confidence targets and train an additional model that predicts an LLM{'}s confidence based on its textual input and output alone. This approach has several advantages: It is conceptually simple, does not require access to the target model beyond its output, does not interfere with the language generation, and has a multitude of potential usages, for instance by verbalizing the predicted confidence or using it to re-prompting the LLM to accurately reflecting its uncertainty. We show how our approach performs competitively in terms of calibration error for white-box and black-box LLMs on closed-book question-answering to detect incorrect LLM answers.",
70
+ }
71
+ ```