Skip to content

Commit 1898d20

Browse files
authored
Release v0.2.1 (IBM#93)
squash and merge
1 parent 4d22fd2 commit 1898d20

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

documentation/docs/source/rst_source/genai.schemas.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,5 @@ Submodules
1313
genai.schemas.models
1414
genai.schemas.responses
1515
genai.schemas.token_params
16+
genai.schemas.tunes_params
17+
genai.schemas.files_params

examples/user/prompt_tuning/classification.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
import time
1010
from pathlib import Path
1111

12-
from datasets import load_dataset
12+
try:
13+
from datasets import load_dataset
14+
except ImportError:
15+
print("Install datasets: it is a pre-requisite to run this example")
1316

1417
try:
1518
import pandas as pd

examples/user/prompt_tuning/summarization.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
import time
1010
from pathlib import Path
1111

12-
from datasets import load_dataset
12+
try:
13+
from datasets import load_dataset
14+
except ImportError:
15+
print("Install datasets: it is a pre-requisite to run this example")
1316

1417
try:
1518
import pandas as pd

0 commit comments

Comments
 (0)