Corianas / Tiny-Moe

huggingface.co
Total runs: 348
24-hour runs: 33
7-day runs: 98
30-day runs: 133
Model's Last Updated: March 26 2024
text-generation

Introduction of Tiny-Moe

Model Details of Tiny-Moe

Tiny-moe

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

🧩 Configuration
base_model: Corianas/Tiny_Test
gate_mode: cheap_embed # one of "hidden", "cheap_embed", or "random"
dtype: bfloat16 # output dtype (float32, float16, or bfloat16)
## (optional)
# experts_per_token: 2
experts:
  - source_model: Corianas/Tiny_Test
    positive_prompts:
      - "↨once upon a time"
    ## (optional)
    # negative_prompts:
    #   - "This is a prompt expert_model_1 should not be used for"
  - source_model: Corianas/TinyTask-minipaca
  # ... and so on
    positive_prompts:
    - "↨please"
💻 Usage
!pip install -qU transformers bitsandbytes accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "Corianas/Tiny-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 Tiny-Moe on huggingface.co

348
Total runs
33
24-hour runs
43
3-day runs
98
7-day runs
133
30-day runs

More Information About Tiny-Moe huggingface.co Model

Tiny-Moe huggingface.co

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

Corianas Tiny-Moe online free

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

Corianas Tiny-Moe online free url in huggingface.co:

https://huggingface.co/Corianas/Tiny-Moe

Tiny-Moe install

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

Tiny-Moe install url in huggingface.co:

https://huggingface.co/Corianas/Tiny-Moe

Url of Tiny-Moe

Tiny-Moe huggingface.co Url

Provider of Tiny-Moe huggingface.co

Corianas
ORGANIZATIONS

Other API from Corianas

huggingface.co

Total runs: 654
Run Growth: 472
Growth Rate: 72.17%
Updated:November 18 2023
huggingface.co

Total runs: 643
Run Growth: 464
Growth Rate: 72.16%
Updated:November 18 2023
huggingface.co

Total runs: 549
Run Growth: 218
Growth Rate: 39.71%
Updated:November 18 2023
huggingface.co

Total runs: 258
Run Growth: 174
Growth Rate: 67.44%
Updated:December 06 2024
huggingface.co

Total runs: 156
Run Growth: 145
Growth Rate: 92.95%
Updated:March 30 2023
huggingface.co

Total runs: 103
Run Growth: 25
Growth Rate: 24.27%
Updated:November 18 2023
huggingface.co

Total runs: 95
Run Growth: 18
Growth Rate: 18.95%
Updated:November 18 2023
huggingface.co

Total runs: 84
Run Growth: 10
Growth Rate: 11.90%
Updated:November 18 2023
huggingface.co

Total runs: 82
Run Growth: 11
Growth Rate: 13.41%
Updated:November 18 2023
huggingface.co

Total runs: 48
Run Growth: 35
Growth Rate: 72.92%
Updated:February 06 2025
huggingface.co

Total runs: 32
Run Growth: -52
Growth Rate: -162.50%
Updated:March 20 2023
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