Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AndrewWTY/UNIT
/ functions
Functions
113 in github.com/AndrewWTY/UNIT
⨍
Functions
113
◇
Types & classes
12
Method
ask
(self, message: str)
src/make_data_cut.py:130
Function
ask_open_ai
(args, prompts, batch_result, sub_cache_name, system_prompt=SYSTEM_PROMPT, real_time=False)
src/factcheck.py:231
Method
async_ask
(self, message_list)
src/compute_helpfulness.py:129
Function
batchify
Split the list `lst` into sublists of size `batch_size`.
src/compute_helpfulness.py:217
Function
calculate_mean_error
(threshold, candidates)
src/evaluate_calibration.py:277
Function
extract_entity
Extracts the question from a given text formatted with <|user|> and <|end_of_text|> tags. Parameters: text (str): The input text con
src/evaluate_calibration.py:134
Function
extract_question
Extracts the question from a given text formatted with <|user|> and <|end_of_text|> tags. Parameters: text (str): The input text con
src/evaluate_calibration.py:159
Method
load_cache
(self)
src/factscore_retrieval.py:140
Method
load_cache
(self)
src/wild_retrieval.py:38
Function
parse_claim
(row)
src/evaluate_calibration.py:246
Method
path
Return the path to the file that backs this database.
src/factscore_retrieval.py:39
Method
save_cache
(self)
src/factscore_retrieval.py:152
Method
save_cache
(self)
src/wild_retrieval.py:50
← previous
101–113 of 113, ranked by callers