Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 484 Bytes

File metadata and controls

11 lines (6 loc) · 484 Bytes

Experiemnts: python3 main.py (do not use --cuda)

The task is to predict the next token based on the context what we have seen so far

initial corpus: a sentence is a method:

for eaxmple:

public double_type method_name(int_array int_array_var) { double_type double_var = constant; for(int_type int_var = constant; int_var < int_array_vay.size(); int_var++) { double_var += int_array_var[int_var]; } return double_var; }

now we need to genearte next token from any given context