fofr/star-trek-flan ✓🔢📝 → 📝

▶️ 135 runs 📅 Apr 2023 ⚙️ Cog v0.7.0-beta17+dev 🔗 GitHub ⚖️ License
question-answering star-trek text-generation

About

flan-t5-xl trained on the Memory Alpha Star Trek Wiki

Example Output

Prompt:

"What are Klingons known for?"

Output

Klingons are known for being violent and vicious.

Performance Metrics

0.52s Prediction Time
0.63s Total Time
All Input Parameters
{
  "top_p": 1,
  "prompt": "What are Klingons known for?",
  "max_length": 500,
  "temperature": 0.75,
  "repetition_penalty": 1
}
Input Parameters
debug Type: booleanDefault: false
provide debugging output in logs
top_p Type: numberDefault: 1Range: 0.01 - 1
When decoding text, samples from the top p percentage of most likely tokens; lower to ignore less likely tokens
prompt (required) Type: string
Prompt to send to FLAN-T5.
max_length Type: integerDefault: 50Range: 1 - ∞
Maximum number of tokens to generate. A word is generally 2-3 tokens
temperature Type: numberDefault: 0.75Range: 0.01 - 5
Adjusts randomness of outputs, greater than 1 is random and 0 is deterministic, 0.75 is a good starting value.
repetition_penalty Type: numberDefault: 1Range: 0.01 - 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

Output

Type: arrayItems Type: string

Version Details
Version ID
86dbaa23ce45354b5755910a555ad00a1646b4d7cb7851f013b7b3304af2f0ea
Version Created
April 10, 2023
Run on Replicate →