Downloads · 30 days
0
remiai3/gpt_oss_20b_GGUF_project_guide
gpt_oss_20b_GGUF_project_guide is a text generation model from remiai3. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This repository shows how to: 1. Download a single GGUF quantized weight (Q2KL.gguf) from Hugging Face by pasting your token into a file. 2. Run a small local Flask chat UI that talks to the model using llama-cpp-python.
Downloads · 30 days
0
Access
Public
Updated Aug 29, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py4.7 KB · 38%
From the Hugging Face model README
This repository shows how to:
*Q2_K_L.gguf) from Hugging Face by pasting your token into a file.llama-cpp-python.download_model.py — edit & paste your HF token, then run to download only the Q2_K_L gguf file.app.py — Flask server + model loader + chat endpoints.templates/index.html — Chat UI (ChatGPT-like).requirements.txt — Python dependencies.Create & activate a virtual environment:
python -m venv oss_env
# Windows
oss_env\Scripts\activate
# Linux / macOS
source oss_env/bin/activate
Install Python dependencies:
pip install -r requirements.txt
Edit download_model.py: Paste your Hugging Face token into HUGGINGFACE_TOKEN. If your model repo is different, update REPO_ID.
Download the Q2_K_L GGUF:
python download_model.py
The script will print the full path to the downloaded .gguf file.
(Optional) Edit app.py: If you want to explicitly set the exact .gguf path, set MODEL_PATH at top of app.py. Otherwise app.py will auto-detect the first .gguf under models/.
Run the Flask app:
python app.py
in your browser.
https://visualstudio.microsoft.com/visual-cpp-build-tools/?utm_source=chatgpt.compip install -r requirements.txt command then all the libraries will download without any errors or issues.