-
I believe
-
That
-
we
-
are
-
new
-
-
To the hello
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "MobileNet-SSD" | |
| input: "data" | |
| input_shape { | |
| dim: 1 | |
| dim: 3 | |
| dim: 300 | |
| dim: 300 | |
| } | |
| layer { | |
| name: "conv0" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from functools import partial | |
| from transformers import AutoModelForSeq2SeqLM, AutoTokenizer | |
| from optimum.intel import OVConfig, OVQuantizer | |
| max_input_length = 512 | |
| max_target_length = 128 | |
| model_id = "lidiya/bart-large-xsum-samsum" | |
| model = AutoModelForSeq2SeqLM.from_pretrained(model_id) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """## Loading the dataset""" | |
| from datasets import load_dataset, load_metric, load_from_disk | |
| from pathlib import Path | |
| raw_datasets = load_dataset("samsum") | |
| metric = load_metric("rouge") | |
| model_checkpoint = "lidiya/bart-large-xsum-samsum" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM opensuse/leap:15.3 as ov-builder | |
| ARG OPENVINO_RELEASE_BRANCH=releases/2023/2 | |
| WORKDIR /tmp | |
| RUN zypper -n install git | |
| RUN git clone --single-branch --branch ${OPENVINO_RELEASE_BRANCH} https://github.com/openvinotoolkit/openvino.git && \ | |
| cd openvino && \ | |
| git submodule update --init --recursive && \ | |
| chmod +x install_build_dependencies.sh && \ | |
| ./install_build_dependencies.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -D CMAKE_INSTALL_PREFIX=install -D CMAKE_BUILD_TYPE=Release -D ENABLE_PYTHON=ON -D ENABLE_WHEEL=ON -D ENABLE_CPPLINT=OFF -D ENABLE_CLANG_FORMAT=OFF -D ENABLE_PROFILING_ITT=OFF |
OlderNewer