final_vlm_moe-388
14
license:mit
by
Akicou
Language Model
OTHER
New
14 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
Usagepythontransformers
from transformers import LlavaForConditionalGeneration, AutoProcessor
# Load model
model = LlavaForConditionalGeneration.from_pretrained(
"your-username/ndr-vlm-moe-8b-a2b",
torch_dtype=torch.float16,
device_map="auto",
)
processor = AutoProcessor.from_pretrained("your-username/ndr-vlm-moe-8b-a2b")
# Inference with image
from PIL import Image
image = Image.open("path/to/image.jpg")
prompt = "What's in this image?"
inputs = processor(images=image, text=prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=256)
response = processor.decode(outputs[0], skip_special_tokens=True)
print(response)Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.