Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Turing-Project/WriteGPT
/ interactive_conditional_samples.py
File
interactive_conditional_samples.py
LanguageNetwork/GPT2/scripts/interactive_conditional_samples.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# -*- coding: utf-8 -*
2
import
os
3
import
argparse
4
import
json
Callers
nothing calls this directly
Calls
5
sample
Function · 0.90
extract_generated_target
Function · 0.70
from_json_file
Method · 0.45
tokenize
Method · 0.45
convert_tokens_to_ids
Method · 0.45
Tested by
no test coverage detected