MaziyarPanahi / miqu-1-70b-sf-GPTQ

huggingface.co
Total runs: 716
24-hour runs: -2
7-day runs: -7
30-day runs: 658
Model's Last Updated: 2月 04 2024
text-generation

Introduction of miqu-1-70b-sf-GPTQ

Model Details of miqu-1-70b-sf-GPTQ

Description

MaziyarPanahi/miqu-1-70b-sf-GPTQ is a quantized (GPTQ) version of 152334H/miqu-1-70b-sf

How to use
Install the necessary packages
pip install --upgrade accelerate auto-gptq transformers
Example Python code
from transformers import AutoTokenizer, pipeline
from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig
import torch

model_id = "MaziyarPanahi/miqu-1-70b-sf-GPTQ"

quantize_config = BaseQuantizeConfig(
        bits=4,
        group_size=128,
        desc_act=False
    )

model = AutoGPTQForCausalLM.from_quantized(
        model_id,
        use_safetensors=True,
        device="cuda:0",
        quantize_config=quantize_config)

tokenizer = AutoTokenizer.from_pretrained(model_id)

pipe = pipeline(
    "text-generation",
    model=model,
    tokenizer=tokenizer,
    max_new_tokens=512,
    temperature=0.7,
    top_p=0.95,
    repetition_penalty=1.1
)

outputs = pipe("What is a large language model?")
print(outputs[0]["generated_text"])

Runs of MaziyarPanahi miqu-1-70b-sf-GPTQ on huggingface.co

716
Total runs
-2
24-hour runs
0
3-day runs
-7
7-day runs
658
30-day runs

More Information About miqu-1-70b-sf-GPTQ huggingface.co Model

More miqu-1-70b-sf-GPTQ license Visit here:

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

miqu-1-70b-sf-GPTQ huggingface.co

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

MaziyarPanahi miqu-1-70b-sf-GPTQ online free

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

MaziyarPanahi miqu-1-70b-sf-GPTQ online free url in huggingface.co:

https://huggingface.co/MaziyarPanahi/miqu-1-70b-sf-GPTQ

miqu-1-70b-sf-GPTQ install

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

miqu-1-70b-sf-GPTQ install url in huggingface.co:

https://huggingface.co/MaziyarPanahi/miqu-1-70b-sf-GPTQ

Url of miqu-1-70b-sf-GPTQ

miqu-1-70b-sf-GPTQ huggingface.co Url

Provider of miqu-1-70b-sf-GPTQ huggingface.co

MaziyarPanahi
ORGANIZATIONS

Other API from MaziyarPanahi