cloudyu / Yi-9Bx2-MOE

huggingface.co
Total runs: 4
24-hour runs: 0
7-day runs: 4
30-day runs: 4
Model's Last Updated: September 09 2024

Introduction of Yi-9Bx2-MOE

Model Details of Yi-9Bx2-MOE

MOE Yi 9B x 2

MoE of the following models :

gpu code example

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
import math

## v2 models
model_path = "cloudyu/Yi-9Bx2-MOE"

tokenizer = AutoTokenizer.from_pretrained(model_path, use_default_system_prompt=False)
model = AutoModelForCausalLM.from_pretrained(
    model_path, torch_dtype=torch.float32, device_map='auto',local_files_only=False, load_in_4bit=True
)
print(model)
prompt = input("please input prompt:")
while len(prompt) > 0:
  input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to("cuda")

  generation_output = model.generate(
    input_ids=input_ids, max_new_tokens=500,repetition_penalty=1.2
  )
  print(tokenizer.decode(generation_output[0]))
  prompt = input("please input prompt:")

CPU example

import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
import math

## v2 models
model_path = "cloudyu/Yi-9Bx2-MOE"

tokenizer = AutoTokenizer.from_pretrained(model_path, use_default_system_prompt=False)
model = AutoModelForCausalLM.from_pretrained(
    model_path, torch_dtype=torch.float32, device_map='cpu',local_files_only=False
)
print(model)
prompt = input("please input prompt:")
while len(prompt) > 0:
  input_ids = tokenizer(prompt, return_tensors="pt").input_ids

  generation_output = model.generate(
    input_ids=input_ids, max_new_tokens=500,repetition_penalty=1.2
  )
  print(tokenizer.decode(generation_output[0]))
  prompt = input("please input prompt:")

Runs of cloudyu Yi-9Bx2-MOE on huggingface.co

4
Total runs
0
24-hour runs
2
3-day runs
4
7-day runs
4
30-day runs

More Information About Yi-9Bx2-MOE huggingface.co Model

More Yi-9Bx2-MOE license Visit here:

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

Yi-9Bx2-MOE huggingface.co

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

Yi-9Bx2-MOE huggingface.co Url

https://huggingface.co/cloudyu/Yi-9Bx2-MOE

cloudyu Yi-9Bx2-MOE online free

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

cloudyu Yi-9Bx2-MOE online free url in huggingface.co:

https://huggingface.co/cloudyu/Yi-9Bx2-MOE

Yi-9Bx2-MOE install

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

Yi-9Bx2-MOE install url in huggingface.co:

https://huggingface.co/cloudyu/Yi-9Bx2-MOE

Url of Yi-9Bx2-MOE

Yi-9Bx2-MOE huggingface.co Url

Provider of Yi-9Bx2-MOE 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: 76
Run Growth: 31
Growth Rate: 40.79%
Updated:January 23 2024
huggingface.co

Total runs: 69
Run Growth: 19
Growth Rate: 27.54%
Updated:January 30 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: 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