hkust-nlp / deita

Deita: Data-Efficient Instruction Tuning for Alignment [ICLR2024]
Apache License 2.0
458 stars 28 forks source link

What is the significance of the id2score function? #29

Closed zhengjie-zhou closed 1 month ago

zhengjie-zhou commented 1 month ago

The id2score function has different values ​​in mistral_scorer.py and llama_scorer.py. such as:

    def id2score(self):
        id2score = {
                28740: "1",
                28750: "2",
                28770: "3",
                28781: "4",
                28782: "5",
                28784: "6"
                }

        return id2score