lucataco/hermes-2-pro-llama-3-8b 🔢📝 → 📝

▶️ 14.8K runs 📅 May 2024 ⚙️ Cog 0.10.0-alpha11 🔗 GitHub
function-calling json-generation structured-output text-generation

About

Hermes 2 Pro is an updated and cleaned version of the OpenHermes 2.5 Dataset, as well as a newly introduced Function Calling and JSON Mode dataset developed in-house

Example Output

Prompt:

"Write a short story about Goku discovering kirby has teamed up with Majin Buu to destroy the world."

Output

Once upon a time, in the peaceful world of Dragon Ball, Goku and his friends were enjoying a day off after another successful tournament. Little did they know, a sinister plot was brewing in the shadows.

In another realm, Kirby, the powerful pink puffball, had been approached by the evil Majin Buu. The mischievous creature had been released from his imprisonment and was now seeking a new ally to help him achieve his ultimate goal - to destroy the world!

Kirby, being the curious and friendly character that he is, was initially hesitant. However, Majin Buu promised him great power and the ability to eat any enemy they encountered. Kirby, never one to turn down a good fight, agreed to join forces with the sinister villain.

As the duo began their destructive path, wreaking havoc across the world, Goku and his friends were shocked and dismayed. They knew they had to act fast before the world was destroyed.

Goku, with his keen sense of justice, rallied his friends and set off to stop Kirby and Majin Buu. Along the way, they encountered various challenges and obstacles, but their determination to save the world kept them going.

As they finally caught up with the nefarious pair, a fierce battle ensued. Goku and his friends fought valiantly, but Kirby's incredible power and Majin Buu's cunning abilities proved to be a formidable force.

Just when all seemed lost, Goku had an idea. He remembered a technique he had learned from his training with King Kai - the Fusion technique. With the help of his friends, Goku fused with his son Gohan, creating a powerful new warrior, Gogeta.

Gogeta charged forward, unleashing a barrage of powerful attacks on Kirby and Majin Buu. The two villains fought back with all their might, but Gogeta's strength was too great.

Finally, in a climactic moment, Gogeta delivered a final blow, defeating Kirby and Majin Buu and saving the world from destruction. As the dust settled, Goku and his friends breathed a sigh of relief, knowing that they had once again triumphed over evil.

Kirby, realizing the error of his ways, vowed to be a better hero and joined forces with Goku and his friends to protect the world. From that day on, the unlikely alliance of Goku, his friends, and Kirby worked together to maintain peace and justice throughout the galaxy. And so, a new chapter in their epic adventures began.

Performance Metrics

12.99s Prediction Time
58.67s Total Time
All Input Parameters
{
  "top_k": 50,
  "top_p": 0.9,
  "prompt": "Write a short story about Goku discovering kirby has teamed up with Majin Buu to destroy the world.",
  "max_tokens": 512,
  "min_tokens": 0,
  "temperature": 0.6,
  "system_prompt": "You are Hermes 2, a helpful assistant.",
  "presence_penalty": 0,
  "frequency_penalty": 0
}
Input Parameters
top_k Type: integerDefault: 50
The number of highest probability tokens to consider for generating the output. If > 0, only keep the top k tokens with highest probability (top-k filtering).
top_p Type: numberDefault: 0.9
A probability threshold for generating the output. If < 1.0, only keep the top tokens with cumulative probability >= top_p (nucleus filtering). Nucleus filtering is described in Holtzman et al. (http://arxiv.org/abs/1904.09751).
prompt Type: stringDefault:
Prompt
max_tokens Type: integerDefault: 512
The maximum number of tokens the model should generate as output.
min_tokens Type: integerDefault: 0
The minimum number of tokens the model should generate as output.
temperature Type: numberDefault: 0.6
The value used to modulate the next token probabilities.
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. Ignored for non-chat models.
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>'.
presence_penalty Type: numberDefault: 0
Presence penalty
frequency_penalty Type: numberDefault: 0
Frequency penalty
Output Schema

Output

Type: arrayItems Type: string

Example Execution Logs
INFO 06-28 18:22:08 async_llm_engine.py:529] Received request e4ae7433fdfe4cbda6b3543f717a58ad: prompt: '<|begin_of_text|><|im_start|>system\nYou are Hermes 2, a helpful assistant.<|im_end|>\n<|im_start|>user\nWrite a short story about Goku discovering kirby has teamed up with Majin Buu to destroy the world.<|im_end|>\n<|im_start|>assistant\n', sampling_params: SamplingParams(n=1, best_of=1, presence_penalty=0.0, frequency_penalty=0.0, repetition_penalty=1.0, temperature=0.6, top_p=0.9, top_k=50, min_p=0.0, seed=None, use_beam_search=False, length_penalty=1.0, early_stopping=False, stop=[], stop_token_ids=[128003], include_stop_str_in_output=False, ignore_eos=False, max_tokens=512, min_tokens=0, logprobs=None, prompt_logprobs=None, skip_special_tokens=True, spaces_between_special_tokens=True, truncate_prompt_tokens=None), prompt_token_ids: None, lora_request: None.
 stdoutINFO 06-28 18:22:12 metrics.py:334] Avg prompt throughput: 9.4 tokens/s, Avg generation throughput: 30.5 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 0.1%, CPU KV cache usage: 0.0%
 stdoutINFO 06-28 18:22:17 metrics.py:334] Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 38.7 tokens/s, Running: 1 reqs, Swapped: 0 reqs, Pending: 0 reqs, GPU KV cache usage: 0.2%, CPU KV cache usage: 0.0%
 stdoutGeneration took 1719596581.42sINFO 06-28 18:22:21 async_llm_engine.py:120] Finished request e4ae7433fdfe4cbda6b3543f717a58ad.
 stdoutFormatted prompt: <|begin_of_text|><|im_start|>system
You are Hermes 2, a helpful assistant.<|im_end|>
<|im_start|>user
Write a short story about Goku discovering kirby has teamed up with Majin Buu to destroy the world.<|im_end|>
<|im_start|>assistant
Version Details
Version ID
51ca4143b8464e9dfeb0c88339962a6bdf2ffd833f047ed293b38537a92c1515
Version Created
June 28, 2024
Run on Replicate →