mayacinka / djinn

huggingface.co
Total runs: 377
24-hour runs: 103
7-day runs: 49
30-day runs: 282
Model's Last Updated: February 28 2024
text-generation

Introduction of djinn

Model Details of djinn

djinn

djinn is a merge of the following models using LazyMergekit :

🧩 Configuration
merge_method: linear
parameters:
  weight: 1.0 
slices:
  - sources:
      - model: CultriX/NeuralTrix-7B-dpo # embed_tokens comes along with the ride with whatever is the first layer
        layer_range: [0, 1]
      - model: paulml/DPOB-INMTOB-7B # add dummy second model with 0 weight so tokenizer-based merge routine is invoked for embed_tokens
        layer_range: [0, 1]
        parameters:
          weight: 0
  - sources:
      - model: cognitivecomputations/dolphin-2.1-mistral-7b
        layer_range: [0, 8]
  - sources:
      - model: bardsai/jaskier-7b-dpo-v5.6
        layer_range: [8, 16]
  - sources:
      - model: paulml/OGNO-7B
        layer_range: [16, 24]
  - sources:
      - model: argilla/distilabeled-OpenHermes-2.5-Mistral-7B
        layer_range: [24, 31]
  - sources: # same as above, but for lm_head with the last layer
      - model: CultriX/NeuralTrix-7B-dpo
        layer_range: [31, 32]
      - model: paulml/DPOB-INMTOB-7B
        layer_range: [31, 32]
        parameters:
          weight: 0
dtype: float16
tokenizer_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.

mayacinka djinn online free

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:

https://huggingface.co/mayacinka/djinn

djinn install

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.

djinn install url in huggingface.co:

https://huggingface.co/mayacinka/djinn

Url of djinn

Provider of djinn huggingface.co

mayacinka
ORGANIZATIONS

Other API from mayacinka

huggingface.co

Total runs: 54
Run Growth: -12
Growth Rate: -22.22%
Updated:March 03 2024
huggingface.co

Total runs: 24
Run Growth: 15
Growth Rate: 62.50%
Updated:February 27 2024
huggingface.co

Total runs: 3
Run Growth: -2
Growth Rate: -66.67%
Updated:February 20 2024