Instructions to use QuantFactory/Lite-Oute-1-65M-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use QuantFactory/Lite-Oute-1-65M-Instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="QuantFactory/Lite-Oute-1-65M-Instruct-GGUF", filename="Lite-Oute-1-65M-Instruct.Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use QuantFactory/Lite-Oute-1-65M-Instruct-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf QuantFactory/Lite-Oute-1-65M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf QuantFactory/Lite-Oute-1-65M-Instruct-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf QuantFactory/Lite-Oute-1-65M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama-cli -hf QuantFactory/Lite-Oute-1-65M-Instruct-GGUF:Q4_K_M
Use pre-built binary
# 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/Lite-Oute-1-65M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/Lite-Oute-1-65M-Instruct-GGUF:Q4_K_M
Build from source code
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/Lite-Oute-1-65M-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/Lite-Oute-1-65M-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/Lite-Oute-1-65M-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use QuantFactory/Lite-Oute-1-65M-Instruct-GGUF with Ollama:
ollama run hf.co/QuantFactory/Lite-Oute-1-65M-Instruct-GGUF:Q4_K_M
- Unsloth Studio new
How to use QuantFactory/Lite-Oute-1-65M-Instruct-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for QuantFactory/Lite-Oute-1-65M-Instruct-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for QuantFactory/Lite-Oute-1-65M-Instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for QuantFactory/Lite-Oute-1-65M-Instruct-GGUF to start chatting
- Docker Model Runner
How to use QuantFactory/Lite-Oute-1-65M-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/Lite-Oute-1-65M-Instruct-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/Lite-Oute-1-65M-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/Lite-Oute-1-65M-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Lite-Oute-1-65M-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
llm.create_chat_completion(
messages = "No input example has been defined for this model task."
)QuantFactory/Lite-Oute-1-65M-Instruct-GGUF
This is quantized version of OuteAI/Lite-Oute-1-65M-Instruct created using llama.cpp
Original Model Card
Lite-Oute-1-65M-Instruct
Lite-Oute-1-65M-Instruct is an experimental ultra-compact model in the Lite series, based on the LLaMA architecture and comprising approximately 65 million parameters.
The primary goal of this model was to explore the lower limits of model size while still maintaining basic language understanding capabilities.
Due to its extremely small size, this model demonstrates basic text generation abilities but may struggle with instructions or maintaining topic coherence.
Users should be aware of its significant limitations compared to larger models and expect inconsistent or potentially inaccurate responses.
Available versions:
Lite-Oute-1-65M-Instruct
Lite-Oute-1-65M-Instruct-GGUF
Lite-Oute-1-65M
Lite-Oute-1-65M-GGUF
Chat format
This model uses ChatML template. Ensure you use the correct template:
<|im_start|>system
[System message]<|im_end|>
<|im_start|>user
[Your question or message]<|im_end|>
<|im_start|>assistant
[The model's response]<|im_end|>
| Benchmark | 5-shot | 0-shot |
|---|---|---|
| ARC Challenge | 22.61 | 23.63 |
| ARC Easy | 37.16 | 40.49 |
| CommonsenseQA | 19.41 | 20.64 |
| HellaSWAG | 28.74 | 28.41 |
| MMLU | 25.20 | 23.45 |
| OpenBookQA | 27.40 | 28.60 |
| PIQA | 60.88 | 60.77 |
| Winogrande | 50.59 | 50.04 |
Usage with HuggingFace transformers
The model can be used with HuggingFace's transformers library:
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model = AutoModelForCausalLM.from_pretrained("OuteAI/Lite-Oute-1-65M-Instruct").to(device)
tokenizer = AutoTokenizer.from_pretrained("OuteAI/Lite-Oute-1-65M-Instruct")
def generate_response(message: str, temperature: float = 0.4, repetition_penalty: float = 1.12) -> str:
# Apply the chat template and convert to PyTorch tensors
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": message}
]
input_ids = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_tensors="pt"
).to(device)
# Generate the response
output = model.generate(
input_ids,
max_length=512,
temperature=temperature,
repetition_penalty=repetition_penalty,
do_sample=True
)
# Decode the generated output
generated_text = tokenizer.decode(output[0], skip_special_tokens=True)
return generated_text
message = "I'd like to learn about language models. Can you break down the concept for me?"
response = generate_response(message)
print(response)
Risk Disclaimer
By using this model, you acknowledge that you understand and assume the risks associated with its use. You are solely responsible for ensuring compliance with all applicable laws and regulations. We disclaim any liability for problems arising from the use of this open-source model, including but not limited to direct, indirect, incidental, consequential, or punitive damages. We make no warranties, express or implied, regarding the model's performance, accuracy, or fitness for a particular purpose. Your use of this model is at your own risk, and you agree to hold harmless and indemnify us, our affiliates, and our contributors from any claims, damages, or expenses arising from your use of the model.
- Downloads last month
- 10
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="QuantFactory/Lite-Oute-1-65M-Instruct-GGUF", filename="", )