HuggingFaceH4/ultrachat_200k
Viewer • Updated • 515k • 91.7k • 878
How to use QuantFactory/HelpingAI-Lite-GGUF with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("QuantFactory/HelpingAI-Lite-GGUF", device_map="auto")How to use QuantFactory/HelpingAI-Lite-GGUF with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf QuantFactory/HelpingAI-Lite-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/HelpingAI-Lite-GGUF:Q4_K_M
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf QuantFactory/HelpingAI-Lite-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/HelpingAI-Lite-GGUF:Q4_K_M
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf QuantFactory/HelpingAI-Lite-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/HelpingAI-Lite-GGUF:Q4_K_M
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf QuantFactory/HelpingAI-Lite-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/HelpingAI-Lite-GGUF:Q4_K_M
docker model run hf.co/QuantFactory/HelpingAI-Lite-GGUF:Q4_K_M
How to use QuantFactory/HelpingAI-Lite-GGUF with Ollama:
ollama run hf.co/QuantFactory/HelpingAI-Lite-GGUF:Q4_K_M
How to use QuantFactory/HelpingAI-Lite-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/HelpingAI-Lite-GGUF:Q4_K_M
How to use QuantFactory/HelpingAI-Lite-GGUF with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/HelpingAI-Lite-GGUF:Q4_K_M
lemonade run user.HelpingAI-Lite-GGUF-Q4_K_M
lemonade list
This is quantized version of OEvortex/HelpingAI-Lite created using llama.cpp
GGUF version here
HelpingAI-Lite is a lite version of the HelpingAI model that can assist with coding tasks. It's trained on a diverse range of datasets and fine-tuned to provide accurate and helpful responses.
This model is licensed under MIT.
The model was trained on the following datasets:
The model supports English language.
from transformers import pipeline
from accelerate import Accelerator
# Initialize the accelerator
accelerator = Accelerator()
# Initialize the pipeline
pipe = pipeline("text-generation", model="OEvortex/HelpingAI-Lite", device=accelerator.device)
# Define the messages
messages = [
{
"role": "system",
"content": "You are a chatbot who can help code!",
},
{
"role": "user",
"content": "Write me a function to calculate the first 10 digits of the fibonacci sequence in Python and print it out to the CLI.",
},
]
# Prepare the prompt
prompt = pipe.tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
# Generate predictions
outputs = pipe(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
# Print the generated text
print(outputs[0]["generated_text"])
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit