allknowingroger / Mistraldouble-7B-task

huggingface.co
Total runs: 5
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: April 11 2024
text-generation

Introduction of Mistraldouble-7B-task

Model Details of Mistraldouble-7B-task

Mistraldouble-7B-task

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

🧩 Configuration
models:
  - model: MaziyarPanahi/Mistral-7B-Instruct-KhanAcademy-v0.2
    parameters:
      weight: 0.35
  - model: cognitivecomputations/dolphin-2.8-mistral-7b-v02
    parameters:
      weight: 0.65
base_model: MaziyarPanahi/Mistral-7B-Instruct-KhanAcademy-v0.2
merge_method: task_arithmetic
dtype: float16
💻 Usage
!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "allknowingroger/Mistraldouble-7B-task"
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 allknowingroger Mistraldouble-7B-task on huggingface.co

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

More Information About Mistraldouble-7B-task huggingface.co Model

More Mistraldouble-7B-task license Visit here:

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

Mistraldouble-7B-task huggingface.co

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

allknowingroger Mistraldouble-7B-task online free

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

allknowingroger Mistraldouble-7B-task online free url in huggingface.co:

https://huggingface.co/allknowingroger/Mistraldouble-7B-task

Mistraldouble-7B-task install

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

Mistraldouble-7B-task install url in huggingface.co:

https://huggingface.co/allknowingroger/Mistraldouble-7B-task

Url of Mistraldouble-7B-task

Provider of Mistraldouble-7B-task huggingface.co

allknowingroger
ORGANIZATIONS

Other API from allknowingroger