merge_method:linearparameters:weight:1.0slices:-sources:-model:CultriX/NeuralTrix-7B-dpo# embed_tokens comes along with the ride with whatever is the first layerlayer_range: [0, 1]
-model:paulml/DPOB-INMTOB-7B# add dummy second model with 0 weight so tokenizer-based merge routine is invoked for embed_tokenslayer_range: [0, 1]
parameters:weight:0-sources:-model:cognitivecomputations/dolphin-2.1-mistral-7blayer_range: [0, 8]
-sources:-model:bardsai/jaskier-7b-dpo-v5.6layer_range: [8, 16]
-sources:-model:paulml/OGNO-7Blayer_range: [16, 24]
-sources:-model:argilla/distilabeled-OpenHermes-2.5-Mistral-7Blayer_range: [24, 31]
-sources:# same as above, but for lm_head with the last layer-model:CultriX/NeuralTrix-7B-dpolayer_range: [31, 32]
-model:paulml/DPOB-INMTOB-7Blayer_range: [31, 32]
parameters:weight:0dtype:float16tokenizer_source:model:cognitivecomputations/dolphin-2.1-mistral-7b
💻 Usage
!pip install -qU transformers accelerate
from transformers import AutoTokenizer
import transformers
import torch
model = "mayacinka/djinn"
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 mayacinka djinn on huggingface.co
377
Total runs
103
24-hour runs
102
3-day runs
49
7-day runs
282
30-day runs
More Information About djinn huggingface.co Model
djinn huggingface.co
djinn huggingface.co is an AI model on huggingface.co that provides djinn's model effect (), which can be used instantly with this mayacinka djinn model. huggingface.co supports a free trial of the djinn model, and also provides paid use of the djinn. Support call djinn model through api, including Node.js, Python, http.
djinn huggingface.co is an online trial and call api platform, which integrates djinn's modeling effects, including api services, and provides a free online trial of djinn, you can try djinn online for free by clicking the link below.
mayacinka djinn online free url in huggingface.co:
djinn is an open source model from GitHub that offers a free installation service, and any user can find djinn on GitHub to install. At the same time, huggingface.co provides the effect of djinn install, users can directly use djinn installed effect in huggingface.co for debugging and trial. It also supports api for free installation.