abideen / MulitLoRA-Mistral-Merging

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

Introduction of MulitLoRA-Mistral-Merging

Model Details of MulitLoRA-Mistral-Merging

MulitLoRA-Mistral-Merging

image/jpeg

MultiLoRA-Mistral-Merge is a MultiLoRA Ties Merge made with the following adapters using 🧜 AutoLoRAMerging :

The merged adapter can generate SQL statements, give legal advices, and perform function calling.

🧩 Configuration
density: 0.2
merging_type: "ties"
weights: [2.0, 0.3, 0.7]
💻 Usage
!pip install -qU transformers bitsandbytes accelerate peft

from peft import PeftConfig, PeftModel
from peft import PeftModel, PeftConfig
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

peft_model = "abideen/MulitLoRA-Mistral-Merging"
config = PeftConfig.from_pretrained(peft_model)
model = AutoModelForCausalLM.from_pretrained(config.base_model_name_or_path, device_map="auto")
tokenizer = AutoTokenizer.from_pretrained(peft_model)
model.resize_token_embeddings(len(tokenizer))
model = PeftModel.from_pretrained(model, peft_model)

prompt = "Table: Sports; Columns: ['Team', 'Head Coach', 'President', 'Home Ground', 'Location'] Natural Query: Who is the Head Coach of the team whose President is Mario Volarevic? SQL Query:" # @param {type:"string"}
messages = [
    {"role": "user", "content": prompt},
]
text = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)
inputs = tokenizer(text, return_tensors="pt")  # , add_special_tokens=False)
inputs = {k: v for k, v in inputs.items()}
outputs = model.generate(
    **inputs,
    max_new_tokens=256,
    do_sample=True,
    top_p=0.95,
    temperature=0.2,
    repetition_penalty=1.2,
    eos_token_id=tokenizer.eos_token_id,
)
print(tokenizer.decode(outputs[0]))

Runs of abideen MulitLoRA-Mistral-Merging on huggingface.co

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

More Information About MulitLoRA-Mistral-Merging huggingface.co Model

More MulitLoRA-Mistral-Merging license Visit here:

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

MulitLoRA-Mistral-Merging huggingface.co

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

MulitLoRA-Mistral-Merging huggingface.co Url

https://huggingface.co/abideen/MulitLoRA-Mistral-Merging

abideen MulitLoRA-Mistral-Merging online free

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

abideen MulitLoRA-Mistral-Merging online free url in huggingface.co:

https://huggingface.co/abideen/MulitLoRA-Mistral-Merging

MulitLoRA-Mistral-Merging install

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

MulitLoRA-Mistral-Merging install url in huggingface.co:

https://huggingface.co/abideen/MulitLoRA-Mistral-Merging

Url of MulitLoRA-Mistral-Merging

MulitLoRA-Mistral-Merging huggingface.co Url

Provider of MulitLoRA-Mistral-Merging huggingface.co

abideen
ORGANIZATIONS

Other API from abideen

huggingface.co

Total runs: 79
Run Growth: -10
Growth Rate: -12.66%
Updated:March 17 2024
huggingface.co

Total runs: 24
Run Growth: 4
Growth Rate: 16.67%
Updated:January 11 2024
huggingface.co

Total runs: 19
Run Growth: 1
Growth Rate: 5.26%
Updated:April 15 2024
huggingface.co

Total runs: 15
Run Growth: -1
Growth Rate: -6.67%
Updated:February 22 2024
huggingface.co

Total runs: 5
Run Growth: 0
Growth Rate: 0.00%
Updated:January 07 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 29 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 21 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 13 2025