adalbertojunior / DUSMistral

huggingface.co
Total runs: 398
24-hour runs: 0
7-day runs: 92
30-day runs: 372
Model's Last Updated: March 22 2024
text-generation

Introduction of DUSMistral

Model Details of DUSMistral

This model draws inspiration from SOLAR , but introduces a novel approach to increasing the model's depth without the traditional method of duplicating layers. By rearranging the order of layers during inference, it maintains the advantages of depth upscaling while preserving the original parameter count. Furthermore, it undergoes additional fine-tuning using the Dolphin dataset. The foundational architecture for this experiment is based on Dolphin .

Use

# pip install transformers
from transformers import AutoTokenizer, AutoModelForCausalLM

model_id = "adalbertojunior/DUSMistral"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True)

# Format message with the CHATML chat template
messages = [{"role": "user", "content": "Hello, how are you?"}]
input_ids = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt")


gen_tokens = model.generate(
    input_ids, 
    max_new_tokens=100, 
    do_sample=True, 
    temperature=0.3,
    )

gen_text = tokenizer.decode(gen_tokens[0])
print(gen_text)

Runs of adalbertojunior DUSMistral on huggingface.co

398
Total runs
0
24-hour runs
22
3-day runs
92
7-day runs
372
30-day runs

More Information About DUSMistral huggingface.co Model

DUSMistral huggingface.co

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

adalbertojunior DUSMistral online free

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

adalbertojunior DUSMistral online free url in huggingface.co:

https://huggingface.co/adalbertojunior/DUSMistral

DUSMistral install

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

DUSMistral install url in huggingface.co:

https://huggingface.co/adalbertojunior/DUSMistral

Url of DUSMistral

Provider of DUSMistral huggingface.co

adalbertojunior
ORGANIZATIONS

Other API from adalbertojunior

huggingface.co

Total runs: 12
Run Growth: -21
Growth Rate: -175.00%
Updated:May 18 2022