salesforce / progen

Official release of the ProGen models
BSD 3-Clause "New" or "Revised" License
627 stars 115 forks source link

A question about "context" #26

Open 1185307269 opened 1 year ago

1185307269 commented 1 year ago

What does the 'context' parameter in this command represent? If I change --context "1" to --context "2",the generated files differ in the number at the beginning of the sequence.

python3 sample.py --model ${model} --t 0.8 --p 0.9 --max-length 1024 --num-samples 2 --context "1"

Sireesiru commented 1 year ago

I have the same question.