mlabonne / FrankenMonarch-7B

huggingface.co
Total runs: 64
24-hour runs: 0
7-day runs: -6
30-day runs: -20
Model's Last Updated: Março 21 2024
text-generation

Introduction of FrankenMonarch-7B

Model Details of FrankenMonarch-7B

FrankenMonarch-7B

FrankenMonarch-7B is a merge of the following models using LazyMergekit :

Quantized versions :

🧩 Configuration
dtype: float16
merge_method: passthrough
slices:
  - sources:
    - model: mlabonne/AlphaMonarch-7B
      layer_range: [0,9]
  - sources:
    - model: mlabonne/AlphaMonarch-7B
      layer_range: [5,14]
  - sources:
    - model: mlabonne/AlphaMonarch-7B
      layer_range: [10,19]
  - sources:
    - model: mlabonne/AlphaMonarch-7B
      layer_range: [15,24]
  - sources:
    - model: mlabonne/AlphaMonarch-7B
      layer_range: [20,32]
💻 Usage
!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "mlabonne/FrankenMonarch-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"])

Runs of mlabonne FrankenMonarch-7B on huggingface.co

64
Total runs
0
24-hour runs
-3
3-day runs
-6
7-day runs
-20
30-day runs

More Information About FrankenMonarch-7B huggingface.co Model

More FrankenMonarch-7B license Visit here:

https://choosealicense.com/licenses/cc-by-nc-4.0

FrankenMonarch-7B huggingface.co

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

FrankenMonarch-7B huggingface.co Url

https://huggingface.co/mlabonne/FrankenMonarch-7B

mlabonne FrankenMonarch-7B online free

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

mlabonne FrankenMonarch-7B online free url in huggingface.co:

https://huggingface.co/mlabonne/FrankenMonarch-7B

FrankenMonarch-7B install

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

FrankenMonarch-7B install url in huggingface.co:

https://huggingface.co/mlabonne/FrankenMonarch-7B

Url of FrankenMonarch-7B

FrankenMonarch-7B huggingface.co Url

Provider of FrankenMonarch-7B huggingface.co

mlabonne
ORGANIZATIONS

Other API from mlabonne

huggingface.co

Total runs: 156
Run Growth: -18
Growth Rate: -11.54%
Updated:Março 04 2024
huggingface.co

Total runs: 149
Run Growth: -7
Growth Rate: -4.70%
Updated:Março 04 2024
huggingface.co

Total runs: 64
Run Growth: -8
Growth Rate: -12.50%
Updated:Março 04 2024