CoolFace
Modelpublic

shaheerzk/text_to_sql

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
1likes17downloads
generation_config.json16 linesDownload Raw Back to root
1{2  "_from_model_config": true,3  "bos_token_id": 1,4  "eos_token_id": 2,5  "pad_token_id": 0,6  "transformers_version": "4.35.2",7  8  "max_length": 512,            // Limits the length of the output text9  "temperature": 0.7,           // Controls randomness, higher means more random10  "top_p": 0.9,                 // Nucleus sampling, considers only top_p highest probability tokens11  "top_k": 50,                  // Limits the sample space to top_k tokens with highest probabilities12  "do_sample": true,            // Enables sampling instead of greedy decoding13  "repetition_penalty": 1.2,    // Penalizes repetition14  "num_return_sequences": 1     // Number of output sequences to generate15}16