How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="James7765/WilR-mini")
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 AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("James7765/WilR-mini")
model = AutoModelForMultimodalLM.from_pretrained("James7765/WilR-mini", 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=40)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

new ai model

  • Developed by: James7765
  • License: apache-2.0
  • by Spectra.inc LTD jamaica

🚀 Introducing WilR-mini: Smart, Fast, and Compact 🤖

Meet WilR-mini, the minified version of our powerful AI model WilR-9 💻. WilR-mini is designed to deliver the same level of intelligence and accuracy as its larger counterpart, but with a smaller footprint and faster performance ⚡️.

Key Features:

  • 2.4X Faster ⏱️: WilR-mini is optimized for speed, making it perfect for applications where every millisecond counts.
  • Smart and Accurate 🤔: Despite its compact size, WilR-mini retains the intelligence and accuracy of WilR-9, ensuring you get reliable results.
  • Minified for Efficiency 💸: WilR-mini is carefully optimized to reduce computational requirements, making it ideal for deployment on resource-constrained devices or in environments where efficiency is crucial.

Use WilR-mini for:

  • Real-time text generation and processing 📝
  • Conversational AI and chatbots 💬
  • Sentiment analysis and opinion mining 💡
  • Language translation and more 🌎
    • its the first Ai ever to be made in the carribean (jamaican product)

Experience the power of WilR-9 in a compact package. Try WilR-mini today! 🚀

Downloads last month
36
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for James7765/WilR-mini

Base model

James7765/WilR_9
Finetuned
(1)
this model
Quantizations
2 models