meta/llama-2-13b-chat 🔢✓📝 → 📝

⭐ Official ▶️ 4.9M runs 📅 Jul 2023 ⚙️ Cog 0.8.1 🔗 GitHub 📄 Paper ⚖️ License
question-answering text-generation

About

A 13 billion parameter language model from Meta, fine tuned for chat completions

Example Output

Prompt:

"Write a story in the style of James Joyce. The story should be about a trip to the Irish countryside in 2083, to see the beautiful scenery and robots."

Output

Sure, I'd be happy to help! Here's a story in the style of James Joyce, set in the Irish countryside in 2083:
As I stepped off the pod-train and onto the lush green grass of the countryside, the crisp air filled my lungs and invigorated my senses. The year was 2083, and yet the rolling hills and sparkling lakes of Ireland seemed unchanged by the passage of time. The only difference was the presence of robots, their sleek metallic bodies and glowing blue eyes a testament to the advancements of technology.
I had come to this place seeking solace and inspiration, to lose myself in the beauty of nature and the wonder of machines. As I wandered through the hills, I came across a group of robots tending to a field of crops, their delicate movements and precise calculations ensuring a bountiful harvest.
One of the robots, a sleek and agile model with wings like a dragonfly, fluttered over to me and offered a friendly greeting. "Good day, traveler," it said in a melodic voice. "What brings you to our humble abode?"
I explained my desire to experience the beauty of the Irish countryside, and the robot nodded sympathetically. "Ah, yes," it said. "There is much to see and explore here. Would you like a guided tour?"
I eagerly accepted the offer, and the robot led me on a journey through the rolling hills and sparkling lakes. We saw towering waterfalls and ancient ruins, and the robot shared stories of the history and culture of the land. As we walked, the sun began to set, casting a golden glow over the landscape.
As the stars began to twinkle in the night sky, the robot and I sat down on a hill overlooking the countryside. "This is a special place," the robot said, its voice filled with a sense of wonder. "A place where nature and technology coexist in harmony."
I nodded in agreement, feeling a sense of awe and gratitude for this wondrous place. And as I looked out at the stars, I knew that this trip to the

Performance Metrics

24.88s Prediction Time
24.82s Total Time
All Input Parameters
{
  "top_p": 1,
  "prompt": "Write a story in the style of James Joyce. The story should be about a trip to the Irish countryside in 2083, to see the beautiful scenery and robots.",
  "temperature": 0.75,
  "system_prompt": "You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.\n\nIf a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.",
  "max_new_tokens": 500,
  "repetition_penalty": 1
}
Input Parameters
seed Type: integer
Random seed. Leave blank to randomize the seed
debug Type: booleanDefault: false
provide debugging output in logs
top_k Type: integerDefault: 50Range: 0 - ∞
When decoding text, samples from the top k most likely tokens; lower to ignore less likely tokens
top_p Type: numberDefault: 0.9Range: 0 - 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 the model.
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.
system_prompt Type: stringDefault: You are a helpful assistant.
System prompt to send to the model. This is prepended to the prompt and helps guide system behavior.
max_new_tokens Type: integerDefault: 128Range: 1 - ∞
Maximum number of tokens to generate. A word is generally 2-3 tokens
min_new_tokens Type: integerDefault: -1Range: -1 - ∞
Minimum number of tokens to generate. To disable, set to -1. A word is generally 2-3 tokens.
stop_sequences Type: string
A comma-separated list of sequences to stop generation at. For example, '<end>,<stop>' will stop generation at the first instance of 'end' or '<stop>'.
replicate_weights Type: string
Path to fine-tuned weights produced by a Replicate fine-tune job.
Output Schema

Output

Type: arrayItems Type: string

Example Execution Logs
Formatted input prompt:
[INST] <<SYS>>
You are a helpful, respectful and honest assistant. Always answer as helpfully as possible, while being safe. Your answers should not include any harmful, unethical, racist, sexist, toxic, dangerous, or illegal content. Please ensure that your responses are socially unbiased and positive in nature.
If a question does not make any sense, or is not factually coherent, explain why instead of answering something not correct. If you don't know the answer to a question, please don't share false information.
<</SYS>>
Write a story in the style of James Joyce. The story should be about a trip to the Irish countryside in 2083, to see the beautiful scenery and robots. [/INST]
Version Details
Version ID
f4e2de70d66816a838a89eeeb621910adffb0dd0baba3976c96980970978018d
Version Created
September 13, 2023
Run on Replicate →