"lm_eval/tasks/aradice/piqa/piqa_lev.yaml" did not exist on "0d03a9f3c1c9e0bdd6642d853485c9068e9446cb"
word_index.hh 293 Bytes
Newer Older
SWHL's avatar
SWHL committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Separate header because this is used often.
#ifndef LM_WORD_INDEX_H
#define LM_WORD_INDEX_H

#include <climits>

namespace lm {
typedef unsigned int WordIndex;
const WordIndex kMaxWordIndex = UINT_MAX;
const WordIndex kUNK = 0;
} // namespace lm

typedef lm::WordIndex LMWordIndex;

#endif