gagan3012 / MetaModel_moe_small

huggingface.co
Total runs: 0
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: January 06 2024

Introduction of MetaModel_moe_small

Model Details of MetaModel_moe_small

MetaModel_moe_small

This model is a Mixure of Experts (MoE) made with mergekit (mixtral branch). It uses the following base models:

🧩 Configuration
base_model: microsoft/phi-2
gate_mode: hidden
dtype: bfloat16
experts:
  - source_model: microsoft/phi-2
    positive_prompts: [""]
  - source_model: microsoft/phi-2
    positive_prompts: [""]
  - source_model: microsoft/phi-2
    positive_prompts: [""]
  - source_model: microsoft/phi-2
    positive_prompts: [""]
💻 Usage
!pip install -qU transformers bitsandbytes accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "gagan3012/MetaModel_moe_small"

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 gagan3012 MetaModel_moe_small on huggingface.co

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

More Information About MetaModel_moe_small huggingface.co Model

More MetaModel_moe_small license Visit here:

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

MetaModel_moe_small huggingface.co

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

MetaModel_moe_small huggingface.co Url

https://huggingface.co/gagan3012/MetaModel_moe_small

gagan3012 MetaModel_moe_small online free

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

gagan3012 MetaModel_moe_small online free url in huggingface.co:

https://huggingface.co/gagan3012/MetaModel_moe_small

MetaModel_moe_small install

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

MetaModel_moe_small install url in huggingface.co:

https://huggingface.co/gagan3012/MetaModel_moe_small

Url of MetaModel_moe_small

MetaModel_moe_small huggingface.co Url

Provider of MetaModel_moe_small huggingface.co

gagan3012
ORGANIZATIONS

Other API from gagan3012

huggingface.co

Total runs: 64
Run Growth: -9
Growth Rate: -14.29%
Updated:January 13 2024
huggingface.co

Total runs: 62
Run Growth: -1
Growth Rate: -1.56%
Updated:January 09 2024
huggingface.co

Total runs: 61
Run Growth: -14
Growth Rate: -24.14%
Updated:March 12 2021
huggingface.co

Total runs: 37
Run Growth: -16
Growth Rate: -43.24%
Updated:December 09 2022
huggingface.co

Total runs: 28
Run Growth: -5
Growth Rate: -17.86%
Updated:September 22 2021
huggingface.co

Total runs: 25
Run Growth: 12
Growth Rate: 48.00%
Updated:September 22 2021
huggingface.co

Total runs: 23
Run Growth: -22
Growth Rate: -95.65%
Updated:September 22 2021
huggingface.co

Total runs: 22
Run Growth: -3
Growth Rate: -15.00%
Updated:March 21 2022
huggingface.co

Total runs: 22
Run Growth: -26
Growth Rate: -123.81%
Updated:February 08 2022
huggingface.co

Total runs: 21
Run Growth: -1
Growth Rate: -4.55%
Updated:September 22 2021
huggingface.co

Total runs: 21
Run Growth: 7
Growth Rate: 33.33%
Updated:October 30 2022
huggingface.co

Total runs: 19
Run Growth: 2
Growth Rate: 12.50%
Updated:October 19 2021
huggingface.co

Total runs: 16
Run Growth: 4
Growth Rate: 25.00%
Updated:April 11 2024
huggingface.co

Total runs: 14
Run Growth: -19
Growth Rate: -135.71%
Updated:February 08 2022
huggingface.co

Total runs: 13
Run Growth: -3
Growth Rate: -23.08%
Updated:January 20 2024
huggingface.co

Total runs: 12
Run Growth: -21
Growth Rate: -175.00%
Updated:April 28 2022
huggingface.co

Total runs: 11
Run Growth: 5
Growth Rate: 45.45%
Updated:August 16 2023
huggingface.co

Total runs: 11
Run Growth: 2
Growth Rate: 18.18%
Updated:June 15 2023
huggingface.co

Total runs: 9
Run Growth: 0
Growth Rate: 0.00%
Updated:October 13 2023
huggingface.co

Total runs: 9
Run Growth: -14
Growth Rate: -175.00%
Updated:April 27 2022
huggingface.co

Total runs: 8
Run Growth: -2
Growth Rate: -28.57%
Updated:July 03 2021
huggingface.co

Total runs: 6
Run Growth: -3
Growth Rate: -50.00%
Updated:June 24 2023
huggingface.co

Total runs: 6
Run Growth: -3
Growth Rate: -50.00%
Updated:February 02 2023
huggingface.co

Total runs: 5
Run Growth: -4
Growth Rate: -100.00%
Updated:July 10 2021
huggingface.co

Total runs: 5
Run Growth: -5
Growth Rate: -100.00%
Updated:August 22 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 20 2021
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 28 2023