Skip to content

Uv conversion additional samples GettingStarted, Features, End-to-End #2623

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ def lemmatize_text(text):
print(model_itex.summary())

# %%
import numpy as np
X_final = np.array(embedded_docs)
y_final = np.array(y)

Expand Down Expand Up @@ -578,7 +579,6 @@ def lemmatize_text(text):
# Now, we are preparing functions to show similarities between given sentences in the for of heat map.

# %%
import numpy as np
import seaborn as sns

def plot_similarity(labels, features, rotation):
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[project]
name = "jobrecommendationsystem"
version = "0.1.0"
description = "This sample illustrates the use of Intel® Extension for TensorFlow* to build and run an end-to-end AI workload on the example of the job recommendation system"
authors = [
{name = "Copyright © 2020 Intel Corporation"}
]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.11, <3.12"
dependencies = [
"accelerate>=1.4.0",
"datasets>=3.3.2",
"intel-extension-for-tensorflow>=2.15.0.2",
"intel-extension-for-tensorflow-lib>=2.15.0.2.2",
"jinja2>=3.1.6",
"matplotlib>=3.10.1",
"nltk>=3.9.1",
"pip>=25.0.1",
"seaborn>=0.13.2",
"sentence-transformers>=3.4.1",
"spacy>=3.8.4",
"transformers>=4.49.0",
"wordcloud>=1.9.4",
]
[dependency-groups]
dev = [
"jupyter>=1.1.1",
]
[[tool.uv.index]]
url = "https://software.repos.intel.com/python/pypi"


Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
"ciTests": {
"linux": [
{
"env": [],
"env": [
"pip install uv==0.6.3",
"source /opt/intel/oneapi/setvars.sh",
"uv sync"
],
"id": "JobRecommendationSystem_py",
"steps": [
"source /intel/oneapi/intelpython/bin/activate",
"conda env remove -n user_tensorflow-gpu",
"conda create --name user_tensorflow-gpu --clone tensorflow-gpu",
"conda activate user_tensorflow-gpu",
"pip install -r requirements.txt",
"python -m ipykernel install --user --name=user_tensorflow-gpu",
"python JobRecommendationSystem.py"
"uv run spacy download en_core_web_sm",
"uv run JobRecommendationSystem.py",
"uv run jupyter nbconvert --ExecutePreprocessor.enabled=True --to notebook JobRecommendationSystem.ipynb"
]
}
]
Expand Down
3,237 changes: 3,237 additions & 0 deletions AI-and-Analytics/End-to-end-Workloads/JobRecommendationSystem/uv.lock

Large diffs are not rendered by default.

Loading