Instructions to use HaGPT/news-intelligence-chatbot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use HaGPT/news-intelligence-chatbot with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="HaGPT/news-intelligence-chatbot", filename="meta-llama-3.1-8b.Q4_K_M.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use HaGPT/news-intelligence-chatbot with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf HaGPT/news-intelligence-chatbot:Q4_K_M # Run inference directly in the terminal: llama-cli -hf HaGPT/news-intelligence-chatbot:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf HaGPT/news-intelligence-chatbot:Q4_K_M # Run inference directly in the terminal: llama-cli -hf HaGPT/news-intelligence-chatbot: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 HaGPT/news-intelligence-chatbot:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf HaGPT/news-intelligence-chatbot: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 HaGPT/news-intelligence-chatbot:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf HaGPT/news-intelligence-chatbot:Q4_K_M
Use Docker
docker model run hf.co/HaGPT/news-intelligence-chatbot:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use HaGPT/news-intelligence-chatbot with Ollama:
ollama run hf.co/HaGPT/news-intelligence-chatbot:Q4_K_M
- Unsloth Studio
How to use HaGPT/news-intelligence-chatbot 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 HaGPT/news-intelligence-chatbot 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 HaGPT/news-intelligence-chatbot to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for HaGPT/news-intelligence-chatbot to start chatting
- Atomic Chat new
- Docker Model Runner
How to use HaGPT/news-intelligence-chatbot with Docker Model Runner:
docker model run hf.co/HaGPT/news-intelligence-chatbot:Q4_K_M
- Lemonade
How to use HaGPT/news-intelligence-chatbot with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull HaGPT/news-intelligence-chatbot:Q4_K_M
Run and chat with the model
lemonade run user.news-intelligence-chatbot-Q4_K_M
List all available models
lemonade list
π§ News-Intelligence Chatbot β GGUF λ²μ
μ΄ λͺ¨λΈμ Unslothλ₯Ό νμ©νμ¬
Colab νκ²½μμ μ§μ νμΈνλ(finetuning) ν
GGUF ν¬λ§·μΌλ‘ λ³νλ λλ©μΈ νΉν LLMμ
λλ€.
λ΄μ€Β·μ μ±
Β·μμ¬ λΆμμ μ΅μ νλ Alpaca Prompt κΈ°λ° Instruction LLMμΌλ‘,
μ λ¬Έμ μΈ μ 보λ₯Ό κΉμ΄ μκ² μ΄ν΄νκ³ λ΅λ³νλλ‘ νλλμμ΅λλ€.
π GitHub Repository
π μ¬κΈ°λ₯Ό ν΄λ¦νλ©΄ μ 체 νλ‘μ νΈλ‘ μ΄λν©λλ€
(λͺ¨λΈ νμΌ / νμ΅ μ½λ / Colab λ
ΈνΈλΆ ν¬ν¨)
π Dataset Link
Example usage:
- For text only LLMs: llama-cli --hf repo_id/model_name -p "why is the sky blue?"
- For multimodal models: llama-mtmd-cli -m model_name.gguf --mmproj mmproj_file.gguf
Available Model files:
meta-llama-3.1-8b.Q5_K_M.ggufmeta-llama-3.1-8b.Q8_0.ggufmeta-llama-3.1-8b.Q4_K_M.gguf
- Downloads last month
- 23
4-bit
5-bit
8-bit