NeuroBLAST-1.9B-Instruct-Early-Preview
59
3
1.9B
license:apache-2.0
by
meditsolutions
Code Model
OTHER
1.9B params
New
59 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
5GB+ RAM
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Device Compatibility
Mobile
4-6GB RAM
Laptop
16GB RAM
Server
GPU
Minimum Recommended
2GB+ RAM
Code Examples
7. How to Usepythontransformers
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, pipeline
device = "cuda" if torch.cuda.is_available() else "cpu"
model_name = "meditsolutions/NeuroBLAST-1.9B-Instruct-Early-Preview"
model = AutoModelForCausalLM.from_pretrained(
model_name,
device_map=device,
torch_dtype=torch.bfloat16,
trust_remote_code=True,
)
tokenizer = AutoTokenizer.from_pretrained(model_name)
messages = [
{"role": "user", "content": "Explain enalapril in simple terms."}
]
pipe = pipeline("text-generation", model=model, tokenizer=tokenizer)
out = pipe(messages, max_new_tokens=500, return_full_text=False, temperature=0.7)
print(out[0]["generated_text"])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.