Corianas / microchar_moe

huggingface.co
Total runs: 3
24-hour runs: 0
7-day runs: 0
30-day runs: -1
Model's Last Updated: March 28 2024
text-generation

Introduction of microchar_moe

Model Details of microchar_moe

microchar_moe

microchar_moe is a Mixture of Experts (MoE) made with the following models using LazyMergekit :

🧩 Configuration
base_model: Corianas/Microllama_Char_88k_step 
gate_mode: random # one of "hidden", "cheap_embed", or "random"
dtype: bfloat16 # output dtype (float32, float16, or bfloat16)
## (optional)
# experts_per_token: 2
experts:
  - source_model: Corianas/Microllama_Char_88k_step
    positive_prompts:
      - ""
    ## (optional)
    # negative_prompts:
    #   - "This is a prompt expert_model_1 should not be used for"
  - source_model: Corianas/Microllama_Char_88k_step
    positive_prompts:
      - "" 
💻 Usage
!pip install -qU transformers bitsandbytes accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "Corianas/microchar_moe"

tokenizer = AutoTokenizer.from_pretrained(model)
pipeline = transformers.pipeline(
    "text-generation",
    model=model,
    model_kwargs={"torch_dtype": torch.float16, "load_in_4bit": True},
)

messages = [{"role": "user", "content": "Explain what a Mixture of Experts is in less than 100 words."}]
prompt = pipeline.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
print(outputs[0]["generated_text"])

Runs of Corianas microchar_moe on huggingface.co

3
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-1
30-day runs

More Information About microchar_moe huggingface.co Model

More microchar_moe license Visit here:

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

microchar_moe huggingface.co

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

microchar_moe huggingface.co Url

https://huggingface.co/Corianas/microchar_moe

Corianas microchar_moe online free

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

Corianas microchar_moe online free url in huggingface.co:

https://huggingface.co/Corianas/microchar_moe

microchar_moe install

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

microchar_moe install url in huggingface.co:

https://huggingface.co/Corianas/microchar_moe

Url of microchar_moe

microchar_moe huggingface.co Url

Provider of microchar_moe huggingface.co

Corianas
ORGANIZATIONS

Other API from Corianas

huggingface.co

Total runs: 550
Run Growth: 307
Growth Rate: 55.82%
Updated:November 18 2023
huggingface.co

Total runs: 477
Run Growth: 332
Growth Rate: 69.60%
Updated:November 18 2023
huggingface.co

Total runs: 463
Run Growth: 321
Growth Rate: 69.33%
Updated:November 18 2023
huggingface.co

Total runs: 220
Run Growth: 165
Growth Rate: 75.00%
Updated:December 06 2024
huggingface.co

Total runs: 215
Run Growth: 0
Growth Rate: 0.00%
Updated:March 26 2024
huggingface.co

Total runs: 114
Run Growth: 107
Growth Rate: 93.86%
Updated:March 30 2023
huggingface.co

Total runs: 97
Run Growth: 50
Growth Rate: 51.55%
Updated:November 18 2023
huggingface.co

Total runs: 92
Run Growth: 45
Growth Rate: 48.91%
Updated:November 18 2023
huggingface.co

Total runs: 84
Run Growth: 39
Growth Rate: 46.43%
Updated:November 18 2023
huggingface.co

Total runs: 84
Run Growth: 38
Growth Rate: 45.24%
Updated:November 18 2023
huggingface.co

Total runs: 47
Run Growth: -27
Growth Rate: -57.45%
Updated:March 20 2023
huggingface.co

Total runs: 37
Run Growth: 30
Growth Rate: 81.08%
Updated:February 06 2025
huggingface.co

Total runs: 9
Run Growth: 0
Growth Rate: 0.00%
Updated:March 22 2024
huggingface.co

Total runs: 1
Run Growth: -2
Growth Rate: -200.00%
Updated:March 26 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 10 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 21 2022