Corianas / Tiny-Moe

huggingface.co
Total runs: 302
24-hour runs: 46
7-day runs: 87
30-day runs: 87
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

302
Total runs
46
24-hour runs
52
3-day runs
87
7-day runs
87
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: 569
Run Growth: 401
Growth Rate: 70.47%
Updated:November 18 2023
huggingface.co

Total runs: 566
Run Growth: 401
Growth Rate: 70.85%
Updated:November 18 2023
huggingface.co

Total runs: 555
Run Growth: 241
Growth Rate: 43.42%
Updated:November 18 2023
huggingface.co

Total runs: 240
Run Growth: 158
Growth Rate: 65.83%
Updated:December 06 2024
huggingface.co

Total runs: 146
Run Growth: 135
Growth Rate: 92.47%
Updated:March 30 2023
huggingface.co

Total runs: 102
Run Growth: 31
Growth Rate: 30.39%
Updated:November 18 2023
huggingface.co

Total runs: 94
Run Growth: 22
Growth Rate: 23.40%
Updated:November 18 2023
huggingface.co

Total runs: 83
Run Growth: 12
Growth Rate: 14.46%
Updated:November 18 2023
huggingface.co

Total runs: 80
Run Growth: 13
Growth Rate: 16.25%
Updated:November 18 2023
huggingface.co

Total runs: 43
Run Growth: 30
Growth Rate: 69.77%
Updated:February 06 2025
huggingface.co

Total runs: 37
Run Growth: -41
Growth Rate: -110.81%
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