Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Tele-AI/Telechat
/ score_MMLU.py
File
score_MMLU.py
evaluation/score_MMLU.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
pandas
as
pd
2
import
os,torch,re,jsonlines
3
from
tqdm
import
tqdm
4
from
transformers
import
AutoModelForCausalLM, AutoTokenizer, GenerationConfig
Callers
nothing calls this directly
Calls
7
get_few_shot_prompt
Function · 0.85
get_input_data
Function · 0.85
get_capital_answer
Function · 0.85
from_pretrained
Method · 0.80
eval
Method · 0.80
chat
Method · 0.45
append
Method · 0.45
Tested by
no test coverage detected