Views
No views yet
GraphCodeBERTForCL and other dependencies to use this pretrained model. https://github.com/emu-se/CodeCSE1{
2 "original_string": "",
3 "docstring_tokens": ["Save", "model", "to", "a", "pickle", "located", "at", "path"],
4 "url": "https://github.com/openai/baselines/blob/3301089b48c42b87b396e246ea3f56fa4bfc9678/baselines/deepq/deepq.py#L55-L72"
5}nl_json = load_example("example_nl.json")
batch = prepare_inputs(nl_json, tokenizer, args)
nl_inputs = batch[3]
with torch.no_grad():
nl_vec = model(input_ids=nl_inputs, sent_emb="nl")[1]