Downloads · 30 days
6
3% of all-time downloads
helenai/declare-lab-flan-alpaca-xl-ov
declare-lab-flan-alpaca-xl-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-xl model converted to OpenVINO, for accellerated inference.
Downloads · 30 days
6
3% of all-time downloads
All-time downloads
189
Public
Repo size
10.3 GB
Likes
0
Public
Click a slice to open those files.
.bin10.3 GB · 100%
From the Hugging Face model README
This is the declare-lab/flan-alpaca-xl 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-xl-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)