Skip to content
Merged
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
48 changes: 48 additions & 0 deletions examples/granite-io/granite_io_hallucinations.pdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
defs:
doc:
data:
text: |
Audrey Faith McGraw (born September 21, 1967) is an American singer
and record producer. She is one of the most successful country artists
of all time, having sold more than 40 million albums worldwide. Hill is
married to American singer Tim McGraw, with whom she has recorded several duets.
Hill's first two albums, Take Me as I Am (1993) and It Matters to Me (1995),
were major successes and placed a combined three number ones on Billboard's
country charts. Hill's debut album was Take Me as I Am (1993); sales were strong,
buoyed by the chart success of "Wild One". Hill became the first female country
singer in 30 years to hold Billboard's number one position for four consecutive
weeks when "Wild One" managed the feat in 1994. Her version of "Piece of My Heart",
also went to the top of the country charts in 1994. The album sold a total of
3 million copies. Other singles from the album include "Take Me as I Am". The recording
of Faith's second album was delayed by surgery to repair a ruptured blood vessel on
her vocal cords. It Matters to Me finally appeared in 1995 and was another
success, with the title track becoming her third number-one country single.
Several other top 10 singles followed, and more than 3 million copies of the
album were sold. The fifth single from the album, "I Can't Do That Anymore",
was written by country music artist Alan Jackson. Other singles from the album
include "You Can't Lose Me", "Someone Else's Dream", and "Let's Go to Vegas".
During this period, Hill appeared on the acclaimed PBS music program Austin City Limits.
In spring 1996, Hill began the Spontaneous Combustion Tour with country singer Tim McGraw.
At that time, Hill had recently become engaged to her former producer, Scott Hendricks,
and McGraw had recently broken an engagement. McGraw and Hill were quickly
attracted to each other and began an affair. After discovering that Hill was
pregnant with their first child, the couple married on October 6, 1996. The
couple have three daughters together: Gracie Katherine (born 1997), Maggie Elizabeth (born 1998)
and Audrey Caroline (born 2001). Since their marriage, Hill and McGraw have endeavored
never to be apart for more than three consecutive days. After the release of It Matters to Me,
Hill took a three-year break from recording to give herself a rest from four years of touring
and to begin a family with McGraw. During her break, she joined forces with her husband
for their first duet, "It's Your Love". The song stayed at number one for six weeks,
and won awards from both the Academy of Country Music and the Country Music Association.
Hill has remarked that sometimes when they perform the song together,
"it [doesn't] feel like anybody else was really watching."

text:
- "Hello!\n"
- model: "granite3.2:2b"
backend: openai
intrinsics:
- documents:
- ${ doc }
- hallucinations
- citations
4 changes: 4 additions & 0 deletions examples/granite-io/granite_io_openai.pdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
text:
- "Hello!\n"
- model: "granite3.2:2b"
backend: openai
6 changes: 6 additions & 0 deletions examples/granite-io/granite_io_thinking.pdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
text:
- "Hello!\n"
- model: "granite3.2:2b"
backend: openai
intrinsics:
- thinking
7 changes: 7 additions & 0 deletions examples/granite-io/granite_io_transformers.pdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
text:
- "Hello!\n"
- model: ibm-granite/granite-3.2-8b-instruct-preview
backend:
transformers: cpu
model:
processor: granite3.2
5 changes: 5 additions & 0 deletions examples/hello/hello-graniteio.pdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
text:
- "Hello!\n"
- model: ibm-granite/granite-3.2-8b-instruct-preview
backend:
transformers: cpu
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies = [
"termcolor~=2.0",
"ipython~=8.0",
"json-repair~=0.35",
"granite-io@git+https://github.com/ibm-granite/granite-io",
]
authors = [
{ name="Mandana Vaziri", email="[email protected]" },
Expand Down
Loading