cloudyu / Llama-3-8Bx2-MOE-DPO

huggingface.co
Total runs: 28
24-hour runs: -2
7-day runs: 5
30-day runs: 10
Model's Last Updated: April 26 2024
text-generation

Introduction of Llama-3-8Bx2-MOE-DPO

Model Details of Llama-3-8Bx2-MOE-DPO

Apple MPS code example

import transformers
import torch

model_id = "cloudyu/Llama-3-8Bx2-MOE-DPO"

pipeline = transformers.pipeline(
    "text-generation",
    model=model_id,
    model_kwargs={"torch_dtype": torch.float16},
    device_map="mps",
)

prompt = "what is biggest animal in earth?"
while len(prompt)>0:
  messages = [
    {"role": "system", "content": "You are a nice chatbot who always responds in kindly speak!"},
    {"role": "user", "content": prompt},
  ]

  prompt = pipeline.tokenizer.apply_chat_template(
        messages, 
        tokenize=False, 
        add_generation_prompt=True
  )

  terminators = [
    pipeline.tokenizer.eos_token_id,
    pipeline.tokenizer.convert_tokens_to_ids("<|eot_id|>")
  ]

  outputs = pipeline(
    prompt,
    max_new_tokens=1024,
    eos_token_id=terminators,
    do_sample=True,
    temperature=0.7,
    top_p=0.9,
  )
  print(outputs[0]["generated_text"][len(prompt):])

  prompt=input("please input prompt:\n")

example output

write me a story about yosemite.
Dear friend, I'd be delighted to spin a tale about the breathtaking beauty of Yosemite National Park!

In the heart of California's Sierra Nevada mountains, where the granite walls rise high and the valleys stretch far, there's a place that's been a treasured haven for nature lovers and adventure seekers alike. Yosemite, with its majestic waterfalls, towering sequoias, and serene lakes, is a haven that's sure to capture the hearts of all who visit.

Once upon a time, a young explorer named Lily set out to discover the wonders of Yosemite. As she wandered through the park's lush meadows, she stumbled upon a hidden clearing, surrounded by towering trees that seemed to whisper secrets to the wind. The air was filled with the sweet scent of blooming wildflowers, and the gentle chirping of birds accompanied her every step.

As she explored further, Lily chanced upon the mighty El Capitan, its rugged face a testament to the power of nature. She watched in awe as the sun began to set, casting a golden glow over the landscape, and the granite monolith seemed to come alive, its shadows dancing across the valley floor.

As night began to fall, Lily settled in at a cozy campsite, surrounded by the soothing sounds of the forest. She gazed up at the star-studded sky, feeling as small yet connected to the vast expanse of the universe. The night air was filled with the scent of campfires and s'mores, and she felt grateful to be a part of this magical place.

The next morning, Lily set out to explore the park's iconic waterfalls. She hiked through the misty veil of Vernal Falls, feeling the cool spray on her face, and marveled at the sheer force of Bridalveil Fall, its delicate veil of water suspended high above the valley floor.

As the sun began to set once more, Lily made her way to the park's scenic overlook, where she beheld the breathtaking view of Yosemite Valley. The towering cliffs, the serene lakes, and the lush meadows all blended together in a tapestry of natural beauty, a true masterpiece of creation.

And so, dear friend, I hope you've enjoyed this tale of Yosemite's wonders. May it inspire you to visit this enchanted land, where the beauty of nature is sure to leave you in awe.

Runs of cloudyu Llama-3-8Bx2-MOE-DPO on huggingface.co

28
Total runs
-2
24-hour runs
-1
3-day runs
5
7-day runs
10
30-day runs

More Information About Llama-3-8Bx2-MOE-DPO huggingface.co Model

More Llama-3-8Bx2-MOE-DPO license Visit here:

https://choosealicense.com/licenses/apache-2.0

Llama-3-8Bx2-MOE-DPO huggingface.co

Llama-3-8Bx2-MOE-DPO huggingface.co is an AI model on huggingface.co that provides Llama-3-8Bx2-MOE-DPO's model effect (), which can be used instantly with this cloudyu Llama-3-8Bx2-MOE-DPO model. huggingface.co supports a free trial of the Llama-3-8Bx2-MOE-DPO model, and also provides paid use of the Llama-3-8Bx2-MOE-DPO. Support call Llama-3-8Bx2-MOE-DPO model through api, including Node.js, Python, http.

Llama-3-8Bx2-MOE-DPO huggingface.co Url

https://huggingface.co/cloudyu/Llama-3-8Bx2-MOE-DPO

cloudyu Llama-3-8Bx2-MOE-DPO online free

Llama-3-8Bx2-MOE-DPO huggingface.co is an online trial and call api platform, which integrates Llama-3-8Bx2-MOE-DPO's modeling effects, including api services, and provides a free online trial of Llama-3-8Bx2-MOE-DPO, you can try Llama-3-8Bx2-MOE-DPO online for free by clicking the link below.

cloudyu Llama-3-8Bx2-MOE-DPO online free url in huggingface.co:

https://huggingface.co/cloudyu/Llama-3-8Bx2-MOE-DPO

Llama-3-8Bx2-MOE-DPO install

Llama-3-8Bx2-MOE-DPO is an open source model from GitHub that offers a free installation service, and any user can find Llama-3-8Bx2-MOE-DPO on GitHub to install. At the same time, huggingface.co provides the effect of Llama-3-8Bx2-MOE-DPO install, users can directly use Llama-3-8Bx2-MOE-DPO installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Llama-3-8Bx2-MOE-DPO install url in huggingface.co:

https://huggingface.co/cloudyu/Llama-3-8Bx2-MOE-DPO

Url of Llama-3-8Bx2-MOE-DPO

Llama-3-8Bx2-MOE-DPO huggingface.co Url

Provider of Llama-3-8Bx2-MOE-DPO huggingface.co

cloudyu
ORGANIZATIONS

Other API from cloudyu

huggingface.co

Total runs: 915
Run Growth: 512
Growth Rate: 55.96%
Updated:July 11 2026
huggingface.co

Total runs: 179
Run Growth: 0
Growth Rate: 0.00%
Updated:September 17 2026
huggingface.co

Total runs: 83
Run Growth: 13
Growth Rate: 15.66%
Updated:January 30 2024
huggingface.co

Total runs: 70
Run Growth: -2
Growth Rate: -2.86%
Updated:January 23 2024
huggingface.co

Total runs: 5
Run Growth: 3
Growth Rate: 60.00%
Updated:December 16 2024
huggingface.co

Total runs: 5
Run Growth: 5
Growth Rate: 100.00%
Updated:December 07 2024
huggingface.co

Total runs: 4
Run Growth: 2
Growth Rate: 50.00%
Updated:December 16 2024
huggingface.co

Total runs: 4
Run Growth: 3
Growth Rate: 75.00%
Updated:December 17 2024
huggingface.co

Total runs: 4
Run Growth: 4
Growth Rate: 100.00%
Updated:September 09 2024
huggingface.co

Total runs: 2
Run Growth: 1
Growth Rate: 50.00%
Updated:December 18 2024
huggingface.co

Total runs: 2
Run Growth: 2
Growth Rate: 100.00%
Updated:November 28 2024
huggingface.co

Total runs: 0
Run Growth: -5
Growth Rate: 0.00%
Updated:November 28 2024
huggingface.co

Total runs: 0
Run Growth: -2
Growth Rate: 0.00%
Updated:November 28 2024
huggingface.co

Total runs: 0
Run Growth: -2
Growth Rate: 0.00%
Updated:December 06 2024