Downloads · 30 days
76
19% of all-time downloads
bruhpika/cheme-phi3-GGUF
cheme-phi3-GGUF is a text generation model from bruhpika. Use it when you need the model to write or continue text. The card lists the license as mit.
[](https://github.com/bruhpika/ChemEngfinetuning)
Downloads · 30 days
76
19% of all-time downloads
All-time downloads
405
Public
Repo size
16.9 GB
Likes
2
Public
Click a slice to open those files.
.gguf16.9 GB · 100%
From the Hugging Face model README
This repository contains GGUF (GPT-Generated Unified Format) quantized weights for ChemE-LLM, a domain-specific fine-tuned model based on microsoft/Phi-3-mini-4k-instruct. It is tailored specifically for chemical engineering simulation environments (DWSIM and MATLAB) and optimized for Retrieval-Augmented Generation (RAG) pipelines.
For the full open-source codebase, data curation pipelines, backend FastAPI server, and Next.js UI, visit our GitHub Repository.
bruhpika/ChemEng_finetuning-mainmicrosoft/Phi-3-mini-4k-instructDWSIM and MATLAB).Choose the GGUF file that best fits your hardware RAM/VRAM constraints:
| File Name | Quantization | Recommended For | VRAM / RAM Required | Speed vs. Quality |
|---|---|---|---|---|
cheme-phi3-q4_k_m.gguf | Q4_K_M | Recommended Default for standard laptops / consumer GPUs | ~3.5 GB | Balanced high speed & good quality |
cheme-phi3-q5_k_m.gguf | Q5_K_M | Users wanting slightly higher accuracy with moderate RAM | ~4.2 GB | Slight speed trade-off for better precision |
cheme-phi3-q8_0.gguf | Q8_0 | High-fidelity extraction & strict numerical simulation QA | ~6.0 GB | Near F16 quality, higher VRAM usage |
cheme-phi3-f16.gguf | F16 | Uncompressed reference weights / development | ~7.6 GB | Maximum quality, highest memory consumption |
llama-server / llama.cpp (Recommended)You can launch an OpenAI-compatible API server using llama-server:
# Launch server on port 8081 with Q4_K_M weights
llama-server.exe -m cheme-phi3-q4_k_m.gguf -c 4096 --port 8081 -ngl 999
Query the server via curl:
curl http://127.0.0.1:8081/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "cheme-phi3",
"messages": [
{"role": "system", "content": "You are a chemical engineering assistant knowledgeable in DWSIM and MATLAB."},
{"role": "user", "content": "How do I configure the parameters for a Flash Drum in DWSIM?"}
],
"temperature": 0.2
}'
Create a file named Modelfile in the same directory as the .gguf file:
FROM ./cheme-phi3-q4_k_m.gguf
PARAMETER temperature 0.2
PARAMETER num_ctx 4096
SYSTEM "You are an expert chemical engineering AI assistant trained in DWSIM and MATLAB workflows."
Create and run the model in Ollama:
ollama create cheme-phi3 -f Modelfile
ollama run cheme-phi3
When deployed alongside our domain-specific Vector Store (ChromaDB with 763 validated engineering documentation chunks), ChemE-Phi3 demonstrates high accuracy in determining thermodynamic properties, configuring unit operations, and generating clean simulation code while minimizing hallucinations.
microsoft/Phi-3-mini-4k-instruct and exported using llama.cpp.For users who want to chat with the model immediately without setting up a Python virtual environment, you can use Ollama to pull and run the model directly from our Hugging Face repository in a single command. Depending on your hardware, you can choose from all available quantization tiers:
# 1. Run the recommended Q8_0 model (Best balance of speed/accuracy, ~4.06 GB)
ollama run hf.co/bruhpika/cheme-phi3-GGUF:Q8_0
# 2. Run the balanced Q5_K_M model (Excellent speed/accuracy, ~2.76 GB)
ollama run hf.co/bruhpika/cheme-phi3-GGUF:Q5_K_M
# 3. Run the ultra-compact Q4_K_M model (For older hardware/constrained devices, ~2.40 GB)
ollama run hf.co/bruhpika/cheme-phi3-GGUF:Q4_K_M
# 4. Run the unquantized F16 base model (Maximum fidelity, requires ≥12GB RAM, ~7.64 GB)
ollama run hf.co/bruhpika/cheme-phi3-GGUF:F16