Artples / L-MChat-7b

huggingface.co
Total runs: 8.7K
24-hour runs: -12
7-day runs: -21
30-day runs: 644
Model's Last Updated: August 22 2024
text-generation

Introduction of L-MChat-7b

Model Details of L-MChat-7b

L-MChat-7b

L-MChat-Series-Logo

L-MChat-7b is a merge of the following models:

Configuration
slices:
  - sources:
      - model: Nexusflow/Starling-LM-7B-beta
        layer_range: [0, 32]
      - model: FuseAI/FuseChat-7B-VaRM
        layer_range: [0, 32]
merge_method: slerp
base_model: FuseAI/FuseChat-7B-VaRM
parameters:
  t:
    - filter: self_attn
      value: [0, 0.5, 0.3, 0.7, 1]
    - filter: mlp
      value: [1, 0.5, 0.7, 0.3, 0]
    - value: 0.5
dtype: bfloat16
Usage
!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "Artples/M-LChat-7b"
messages = [{"role": "user", "content": "What is a large language model?"}]

tokenizer = AutoTokenizer.from_pretrained(model)
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
pipeline = transformers.pipeline(
    "text-generation",
    model=model,
    torch_dtype=torch.float16,
    device_map="auto",
)

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

Apache 2.0 but you cannot use this model to directly compete with OpenAI.

How?

Usage of LazyMergekit .

Open LLM Leaderboard Evaluation Results

Detailed results can be found here

Metric Value
Avg. 69.57
AI2 Reasoning Challenge (25-Shot) 65.61
HellaSwag (10-Shot) 84.59
MMLU (5-Shot) 65.44
TruthfulQA (0-shot) 50.94
Winogrande (5-shot) 81.37
GSM8k (5-shot) 69.45

Runs of Artples L-MChat-7b on huggingface.co

8.7K
Total runs
-12
24-hour runs
-72
3-day runs
-21
7-day runs
644
30-day runs

More Information About L-MChat-7b huggingface.co Model

More L-MChat-7b license Visit here:

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

L-MChat-7b huggingface.co

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

L-MChat-7b huggingface.co Url

https://huggingface.co/Artples/L-MChat-7b

Artples L-MChat-7b online free

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

Artples L-MChat-7b online free url in huggingface.co:

https://huggingface.co/Artples/L-MChat-7b

L-MChat-7b install

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

L-MChat-7b install url in huggingface.co:

https://huggingface.co/Artples/L-MChat-7b

Url of L-MChat-7b

L-MChat-7b huggingface.co Url

Provider of L-MChat-7b huggingface.co

Artples
ORGANIZATIONS

Other API from Artples

huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:April 21 2024