MCPcopy Index your code
hub / github.com/Turing-Project/WriteGPT / demo.py

File demo.py

LanguageNetwork/GPT2/scripts/demo.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import sys
2import os
3import argparse
4import json

Callers

nothing calls this directly

Calls 9

sampleFunction · 0.90
coarse_formatterFunction · 0.90
immediate_printFunction · 0.90
FullTokenizerClass · 0.70
convert_to_unicodeFunction · 0.70
extract_generated_targetFunction · 0.70
from_json_fileMethod · 0.45
tokenizeMethod · 0.45
convert_tokens_to_idsMethod · 0.45

Tested by

no test coverage detected