ajay141 / roleplay-mis_wes

huggingface.co
Total runs: 20
24-hour runs: 0
7-day runs: -2
30-day runs: 7
Model's Last Updated: March 27 2024
text-generation

Introduction of roleplay-mis_wes

Model Details of roleplay-mis_wes

mistral-westlake

mistral-westlake is a merge of the following models using LazyMergekit :

🧩 Configuration
slices:
  - sources:
      - model: HuggingFaceH4/mistral-7b-grok
        layer_range: [0, 32]
      - model: senseable/WestLake-7B-v2
        layer_range: [0, 32]
merge_method: slerp
base_model: HuggingFaceH4/mistral-7b-grok
parameters:
  t:
    - filter: self_attn
      value: [0, 0.5, 0.3, 0.7, 1]
    - filter: mlp
      value: [1, 0.5, 0.7, 0.3, 0]
    - value: 0.5
dtype: bfloat16
💻 Usage
!pip install -qU transformers accelerate

from transformers import AutoTokenizer
import transformers
import torch

model = "ajay141/mistral-westlake"
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 ajay141 roleplay-mis_wes on huggingface.co

20
Total runs
0
24-hour runs
-2
3-day runs
-2
7-day runs
7
30-day runs

More Information About roleplay-mis_wes huggingface.co Model

roleplay-mis_wes huggingface.co

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

roleplay-mis_wes huggingface.co Url

https://huggingface.co/ajay141/roleplay-mis_wes

ajay141 roleplay-mis_wes online free

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

ajay141 roleplay-mis_wes online free url in huggingface.co:

https://huggingface.co/ajay141/roleplay-mis_wes

roleplay-mis_wes install

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

roleplay-mis_wes install url in huggingface.co:

https://huggingface.co/ajay141/roleplay-mis_wes

Url of roleplay-mis_wes

roleplay-mis_wes huggingface.co Url

Provider of roleplay-mis_wes huggingface.co

ajay141
ORGANIZATIONS

Other API from ajay141

huggingface.co

Total runs: 377
Run Growth: 282
Growth Rate: 74.80%
Updated:March 27 2024
huggingface.co

Total runs: 22
Run Growth: 4
Growth Rate: 18.18%
Updated:March 27 2024
huggingface.co

Total runs: 16
Run Growth: 6
Growth Rate: 37.50%
Updated:March 27 2024
huggingface.co

Total runs: 13
Run Growth: -4
Growth Rate: -30.77%
Updated:April 02 2024