Instructions to use prithivMLmods/Infinity-Parser2-Flash-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Infinity-Parser2-Flash-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="prithivMLmods/Infinity-Parser2-Flash-GGUF") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("prithivMLmods/Infinity-Parser2-Flash-GGUF", device_map="auto") - llama-cpp-python
How to use prithivMLmods/Infinity-Parser2-Flash-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="prithivMLmods/Infinity-Parser2-Flash-GGUF", filename="Infinity-Parser2-Flash.BF16.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use prithivMLmods/Infinity-Parser2-Flash-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf prithivMLmods/Infinity-Parser2-Flash-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 prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf prithivMLmods/Infinity-Parser2-Flash-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 prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M
Use Docker
docker model run hf.co/prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use prithivMLmods/Infinity-Parser2-Flash-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/Infinity-Parser2-Flash-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Infinity-Parser2-Flash-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M
- SGLang
How to use prithivMLmods/Infinity-Parser2-Flash-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "prithivMLmods/Infinity-Parser2-Flash-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Infinity-Parser2-Flash-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "prithivMLmods/Infinity-Parser2-Flash-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Infinity-Parser2-Flash-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use prithivMLmods/Infinity-Parser2-Flash-GGUF with Ollama:
ollama run hf.co/prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M
- Unsloth Studio
How to use prithivMLmods/Infinity-Parser2-Flash-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 prithivMLmods/Infinity-Parser2-Flash-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 prithivMLmods/Infinity-Parser2-Flash-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for prithivMLmods/Infinity-Parser2-Flash-GGUF to start chatting
- Pi
How to use prithivMLmods/Infinity-Parser2-Flash-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use prithivMLmods/Infinity-Parser2-Flash-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use prithivMLmods/Infinity-Parser2-Flash-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use prithivMLmods/Infinity-Parser2-Flash-GGUF with Docker Model Runner:
docker model run hf.co/prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M
- Lemonade
How to use prithivMLmods/Infinity-Parser2-Flash-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull prithivMLmods/Infinity-Parser2-Flash-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Infinity-Parser2-Flash-GGUF-Q4_K_M
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +19 -0
- Infinity-Parser2-Flash.BF16.gguf +3 -0
- Infinity-Parser2-Flash.F16.gguf +3 -0
- Infinity-Parser2-Flash.F32.gguf +3 -0
- Infinity-Parser2-Flash.Q2_K.gguf +3 -0
- Infinity-Parser2-Flash.Q3_K_L.gguf +3 -0
- Infinity-Parser2-Flash.Q3_K_M.gguf +3 -0
- Infinity-Parser2-Flash.Q3_K_S.gguf +3 -0
- Infinity-Parser2-Flash.Q4_0.gguf +3 -0
- Infinity-Parser2-Flash.Q4_K_M.gguf +3 -0
- Infinity-Parser2-Flash.Q4_K_S.gguf +3 -0
- Infinity-Parser2-Flash.Q5_0.gguf +3 -0
- Infinity-Parser2-Flash.Q5_K_M.gguf +3 -0
- Infinity-Parser2-Flash.Q5_K_S.gguf +3 -0
- Infinity-Parser2-Flash.Q6_K.gguf +3 -0
- Infinity-Parser2-Flash.Q8_0.gguf +3 -0
- Infinity-Parser2-Flash.mmproj-bf16.gguf +3 -0
- Infinity-Parser2-Flash.mmproj-f16.gguf +3 -0
- Infinity-Parser2-Flash.mmproj-f32.gguf +3 -0
- Infinity-Parser2-Flash.mmproj-q8_0.gguf +3 -0
|
@@ -33,3 +33,22 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
Infinity-Parser2-Flash.BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Infinity-Parser2-Flash.F16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Infinity-Parser2-Flash.F32.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Infinity-Parser2-Flash.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Infinity-Parser2-Flash.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Infinity-Parser2-Flash.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Infinity-Parser2-Flash.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Infinity-Parser2-Flash.Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Infinity-Parser2-Flash.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Infinity-Parser2-Flash.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Infinity-Parser2-Flash.Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Infinity-Parser2-Flash.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 48 |
+
Infinity-Parser2-Flash.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 49 |
+
Infinity-Parser2-Flash.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 50 |
+
Infinity-Parser2-Flash.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 51 |
+
Infinity-Parser2-Flash.mmproj-bf16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 52 |
+
Infinity-Parser2-Flash.mmproj-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
| 53 |
+
Infinity-Parser2-Flash.mmproj-f32.gguf filter=lfs diff=lfs merge=lfs -text
|
| 54 |
+
Infinity-Parser2-Flash.mmproj-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff131b1ec15e9b724bf7e3062d8a4be595865a19e1dcd7d014bfa366575edbef
|
| 3 |
+
size 3775709248
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:89058dd2cf862c18992434c467523948ab61516ce45d4ff18fa321dbf3288e75
|
| 3 |
+
size 3775709248
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e4578c24bf6ca29f95c7df3353300952b6d80449ba00e746691c2b7a15dd67f
|
| 3 |
+
size 7538262080
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f7897e05715acba05bde4df1a94ad889b3671b25dd17c8005fd324111fb9b6b
|
| 3 |
+
size 968542272
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f544e720927e5656e47f5c6d44ffea078cef1ef6439b7fba1b0961624e3148c
|
| 3 |
+
size 1164532800
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e05c335ed9b1e98007b642edd804739ab095f58b174097de61695e574f39e469
|
| 3 |
+
size 1099258944
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:14aabfff8d5da58585f7e2de9f593bb60266c264fa89b4c34a164a36d1aec186
|
| 3 |
+
size 1020173376
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ffdbaa1bcda680ece9fbd4ad5c5dc622e02b9cfedaaf9c395c5067fc720a19a4
|
| 3 |
+
size 1202487360
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea4c1efd429a9f00bd8b8a40c6775ddee35c6cb051788e3b8f047ef5dad67cfd
|
| 3 |
+
size 1274396736
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4b6ee38483985fd7cbfd1a50922594f95033c6ec9a845bcc7f7c1371004f97f1
|
| 3 |
+
size 1212055616
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed8595d31924759032a67a0c4d30db28744e85e527e1f98d0d7f19c38974cbe4
|
| 3 |
+
size 1374076992
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:814884201384c2a874d2f37fd27e44e4d6e209fbf941a1d771c10d8475d58c22
|
| 3 |
+
size 1411121216
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf6d4f89f617e2d9b02360613a180c9e63a40b2bd34c845f6242e91ac9793b55
|
| 3 |
+
size 1374076992
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:66be512c0f50144416c623e6fdfefff252ea07a6bd8243b9089b51ed70b36b32
|
| 3 |
+
size 1556390976
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1a698110bbfbc1eea2b01e312f45c8969cb3d1114d1ace3502aebdcba4a265a
|
| 3 |
+
size 2012012608
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3963459889c874864b06f3c683d6ea27bf5f60c12b9aed628bbb44e90c8a48f
|
| 3 |
+
size 671373056
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3963459889c874864b06f3c683d6ea27bf5f60c12b9aed628bbb44e90c8a48f
|
| 3 |
+
size 671373056
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c85477fbcd671892aa73294e151ef39bd0e911e87a15611aa634a4dfc56ac0ea
|
| 3 |
+
size 1325684480
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5466d94d6eb47a9a1608e109a9a6e2943272421358e3e1a30f9a1e2703ee4c1d
|
| 3 |
+
size 364664576
|