Image-Text-to-Text
Transformers
Safetensors
qwen3_5
fara
computer-use
browser-automation
dom
baseline
evaluation
reproducibility
conversational
Instructions to use WootzappLab/fara-9b-baseline-eval with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WootzappLab/fara-9b-baseline-eval with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="WootzappLab/fara-9b-baseline-eval") 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)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("WootzappLab/fara-9b-baseline-eval") model = AutoModelForMultimodalLM.from_pretrained("WootzappLab/fara-9b-baseline-eval", device_map="auto") 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?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use WootzappLab/fara-9b-baseline-eval with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "WootzappLab/fara-9b-baseline-eval" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "WootzappLab/fara-9b-baseline-eval", "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/WootzappLab/fara-9b-baseline-eval
- SGLang
How to use WootzappLab/fara-9b-baseline-eval 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 "WootzappLab/fara-9b-baseline-eval" \ --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": "WootzappLab/fara-9b-baseline-eval", "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 "WootzappLab/fara-9b-baseline-eval" \ --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": "WootzappLab/fara-9b-baseline-eval", "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" } } ] } ] }' - Docker Model Runner
How to use WootzappLab/fara-9b-baseline-eval with Docker Model Runner:
docker model run hf.co/WootzappLab/fara-9b-baseline-eval
Refresh metadata checksums
Browse files- CHECKSUMS.sha256 +1 -1
CHECKSUMS.sha256
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
7275aad32becc3bd332e249c3f2db5889d489a4d16cc95a777a0a98a9dfa5db5 MANIFEST.json
|
| 3 |
24e445a0d52fd23e36333e19ddca5bc3d7d857f5fd784b04313f9e11f0b34a08 PROVENANCE.md
|
| 4 |
f0ff40ede3b2c9853310befce2eb0e5bbf9a04a1a7007f771875da348b200406 CHECKPOINT_FILES.json
|
|
|
|
| 1 |
+
83826ad5a7108dbe303731f750ab0b835a5fb5ce5f9b83c67455cfbeff978cbe README.md
|
| 2 |
7275aad32becc3bd332e249c3f2db5889d489a4d16cc95a777a0a98a9dfa5db5 MANIFEST.json
|
| 3 |
24e445a0d52fd23e36333e19ddca5bc3d7d857f5fd784b04313f9e11f0b34a08 PROVENANCE.md
|
| 4 |
f0ff40ede3b2c9853310befce2eb0e5bbf9a04a1a7007f771875da348b200406 CHECKPOINT_FILES.json
|