Downloads · 30 days
5
1% of all-time downloads
helenai/declare-lab-flan-alpaca-large-ov
declare-lab-flan-alpaca-large-ov is a machine learning model from helenai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
This is the declare-lab/flan-alpaca-large model converted to OpenVINO, for accellerated inference.
Downloads · 30 days
5
1% of all-time downloads
All-time downloads
409
Public
Repo size
2.9 GB
Likes
0
Public
Click a slice to open those files.
.bin2.9 GB · 100%
From the Hugging Face model README
This is the declare-lab/flan-alpaca-large model converted to OpenVINO, for accellerated inference.
An example of how to do inference on this model:
from optimum.intel.openvino import OVModelForSeq2SeqLM
from transformers import AutoTokenizer, pipeline
# model_id should be set to either a local directory or a model available on the HuggingFace hub.
model_id = "helenai/declare-lab-flan-alpaca-large-ov"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = OVModelForSeq2SeqLM.from_pretrained(model_id)
pipe = pipeline("text2text-generation", model=model, tokenizer=tokenizer)
result = pipe("hello world")
print(result)