gmonsoon / MaxiCPM-3x3B-Test

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

Introduction of MaxiCPM-3x3B-Test

Model Details of MaxiCPM-3x3B-Test

MaxiCPM-3x3B-Test

MaxiCPM-3x3B-Test is a Mixure of Experts (MoE) made with the following models using LazyMergekit :

🧩 Configuration
base_model: openbmb/MiniCPM-2B-dpo-bf16-llama-format
experts:
  - source_model: indischepartij/MiniCPM-3B-Hercules-v2.0
    positive_prompts:
    - "chat"
    - "assistant"
    - "tell me"
    - "explain"
  - source_model: indischepartij/MiniCPM-3B-OpenHermes-2.5-v2
    positive_prompts:
    - "code"
    - "python"
    - "javascript"
    - "programming"
    - "algorithm"
  - source_model: indischepartij/MiniCPM-3B-Bacchus
    positive_prompts:
    - "storywriting"
    - "write"
    - "scene"
    - "story"
    - "character"
    - "reason"
    - "math"
    - "mathematics"
    - "solve"
    - "count"
dtype: bfloat16
💻 Usage
!pip install -qU transformers bitsandbytes accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "gmonsoon/MaxiCPM-3x3B-Test"

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"])

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 53.90
AI2 Reasoning Challenge (25-Shot) 45.99
HellaSwag (10-Shot) 71.74
MMLU (5-Shot) 52.88
TruthfulQA (0-shot) 41.06
Winogrande (5-shot) 66.85
GSM8k (5-shot) 44.88

Runs of gmonsoon MaxiCPM-3x3B-Test on huggingface.co

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

More Information About MaxiCPM-3x3B-Test huggingface.co Model

More MaxiCPM-3x3B-Test license Visit here:

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

MaxiCPM-3x3B-Test huggingface.co

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

MaxiCPM-3x3B-Test huggingface.co Url

https://huggingface.co/gmonsoon/MaxiCPM-3x3B-Test

gmonsoon MaxiCPM-3x3B-Test online free

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

gmonsoon MaxiCPM-3x3B-Test online free url in huggingface.co:

https://huggingface.co/gmonsoon/MaxiCPM-3x3B-Test

MaxiCPM-3x3B-Test install

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

MaxiCPM-3x3B-Test install url in huggingface.co:

https://huggingface.co/gmonsoon/MaxiCPM-3x3B-Test

Url of MaxiCPM-3x3B-Test

MaxiCPM-3x3B-Test huggingface.co Url

Provider of MaxiCPM-3x3B-Test huggingface.co

gmonsoon
ORGANIZATIONS

Other API from gmonsoon

huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:August 13 2023