You're looking at a specific version of this model. Jump to the model overview.
replicate /flan-t5-xl:04e422a9
            
              
                
              
            
            Input schema
          
        The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
| Field | Type | Default value | Description | 
|---|---|---|---|
| prompt | 
           
            string
            
           
         | 
        
           
            Prompt to send to FLAN-T5.
           
         | 
      |
| n | 
           
            integer
            
           
         | 
        
          
             
              1
             
          
          
          
            Min: 1 Max: 5  | 
        
           
            Number of sequences to generate
           
         | 
      
| max_length | 
           
            integer
            
           
         | 
        
          
             
              50
             
          
          
          
            Min: 1  | 
        
           
            Maximum number of tokens to generate; a word is generally 2-3 tokens
           
         | 
      
| temperature | 
           
            number
            
           
         | 
        
          
             
              1
             
          
          
          
            Min: 0.01 Max: 5  | 
        
           
            Adjusts randomness of outputs, 1 is random and 0 is deterministic
           
         | 
      
| top_p | 
           
            number
            
           
         | 
        
          
             
              1
             
          
          
          
            Min: 0.01 Max: 1  | 
        
           
            When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens
           
         | 
      
| repetition_penalty | 
           
            number
            
           
         | 
        
          
             
              1
             
          
          
          
            Min: 0.01 Max: 5  | 
        
           
            Penalty for repeated words in generated text; 1 is no penalty, values greater than 1 discourage repetition, less than 1 encourage it.
           
         | 
      
            
              
                
              
            
            Output schema
          
        The shape of the response you’ll get when you run this model with an API.
              Schema
            
            {'items': {'type': 'string'}, 'title': 'Output', 'type': 'array'}