Question Answering
Transformers
GGUF
Vietnamese
English
Chinese
erax
multimodal
erax-vl-7B
insurance
ocr
vietnamese
bcg
radiology
car accidence
hand-writing
ancient
image-text-to-text
visual-question-answering
document-question-answering
conversational
Instructions to use mradermacher/EraX-VL-7B-V2.0-Preview-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/EraX-VL-7B-V2.0-Preview-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("question-answering", model="mradermacher/EraX-VL-7B-V2.0-Preview-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("mradermacher/EraX-VL-7B-V2.0-Preview-GGUF", dtype="auto") - llama-cpp-python
How to use mradermacher/EraX-VL-7B-V2.0-Preview-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/EraX-VL-7B-V2.0-Preview-GGUF", filename="EraX-VL-7B-V2.0-Preview.IQ4_XS.gguf", )
llm.create_chat_completion( messages = "{\n \"question\": \"What is my name?\",\n \"context\": \"My name is Clara and I live in Berkeley.\"\n}" ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/EraX-VL-7B-V2.0-Preview-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 mradermacher/EraX-VL-7B-V2.0-Preview-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/EraX-VL-7B-V2.0-Preview-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 mradermacher/EraX-VL-7B-V2.0-Preview-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/EraX-VL-7B-V2.0-Preview-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 mradermacher/EraX-VL-7B-V2.0-Preview-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/EraX-VL-7B-V2.0-Preview-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 mradermacher/EraX-VL-7B-V2.0-Preview-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/EraX-VL-7B-V2.0-Preview-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/EraX-VL-7B-V2.0-Preview-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/EraX-VL-7B-V2.0-Preview-GGUF with Ollama:
ollama run hf.co/mradermacher/EraX-VL-7B-V2.0-Preview-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/EraX-VL-7B-V2.0-Preview-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 mradermacher/EraX-VL-7B-V2.0-Preview-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 mradermacher/EraX-VL-7B-V2.0-Preview-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/EraX-VL-7B-V2.0-Preview-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use mradermacher/EraX-VL-7B-V2.0-Preview-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/EraX-VL-7B-V2.0-Preview-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/EraX-VL-7B-V2.0-Preview-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/EraX-VL-7B-V2.0-Preview-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.EraX-VL-7B-V2.0-Preview-GGUF-Q4_K_M
List all available models
lemonade list
auto-patch README.md
Browse files
README.md
CHANGED
|
@@ -6,6 +6,8 @@ language:
|
|
| 6 |
- zh
|
| 7 |
library_name: transformers
|
| 8 |
license: apache-2.0
|
|
|
|
|
|
|
| 9 |
quantized_by: mradermacher
|
| 10 |
tags:
|
| 11 |
- erax
|
|
@@ -34,6 +36,9 @@ tags:
|
|
| 34 |
static quants of https://huggingface.co/erax-ai/EraX-VL-7B-V2.0-Preview
|
| 35 |
|
| 36 |
<!-- provided-files -->
|
|
|
|
|
|
|
|
|
|
| 37 |
weighted/imatrix quants are available at https://huggingface.co/mradermacher/EraX-VL-7B-V2.0-Preview-i1-GGUF
|
| 38 |
## Usage
|
| 39 |
|
|
@@ -78,6 +83,6 @@ questions you might have and/or if you want some other model quantized.
|
|
| 78 |
|
| 79 |
I thank my company, [nethype GmbH](https://www.nethype.de/), for letting
|
| 80 |
me use its servers and providing upgrades to my workstation to enable
|
| 81 |
-
this work in my free time.
|
| 82 |
|
| 83 |
<!-- end -->
|
|
|
|
| 6 |
- zh
|
| 7 |
library_name: transformers
|
| 8 |
license: apache-2.0
|
| 9 |
+
mradermacher:
|
| 10 |
+
readme_rev: 1
|
| 11 |
quantized_by: mradermacher
|
| 12 |
tags:
|
| 13 |
- erax
|
|
|
|
| 36 |
static quants of https://huggingface.co/erax-ai/EraX-VL-7B-V2.0-Preview
|
| 37 |
|
| 38 |
<!-- provided-files -->
|
| 39 |
+
|
| 40 |
+
***For a convenient overview and download list, visit our [model page for this model](https://hf.tst.eu/model#EraX-VL-7B-V2.0-Preview-GGUF).***
|
| 41 |
+
|
| 42 |
weighted/imatrix quants are available at https://huggingface.co/mradermacher/EraX-VL-7B-V2.0-Preview-i1-GGUF
|
| 43 |
## Usage
|
| 44 |
|
|
|
|
| 83 |
|
| 84 |
I thank my company, [nethype GmbH](https://www.nethype.de/), for letting
|
| 85 |
me use its servers and providing upgrades to my workstation to enable
|
| 86 |
+
this work in my free time.
|
| 87 |
|
| 88 |
<!-- end -->
|