Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 64ee054

Browse files
authored
model blocks can use the granite-io platform (#529)
1 parent e7499b8 commit 64ee054

12 files changed

+1258
-80
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
defs:
2+
doc:
3+
data:
4+
text: |
5+
Audrey Faith McGraw (born September 21, 1967) is an American singer
6+
and record producer. She is one of the most successful country artists
7+
of all time, having sold more than 40 million albums worldwide. Hill is
8+
married to American singer Tim McGraw, with whom she has recorded several duets.
9+
Hill's first two albums, Take Me as I Am (1993) and It Matters to Me (1995),
10+
were major successes and placed a combined three number ones on Billboard's
11+
country charts. Hill's debut album was Take Me as I Am (1993); sales were strong,
12+
buoyed by the chart success of "Wild One". Hill became the first female country
13+
singer in 30 years to hold Billboard's number one position for four consecutive
14+
weeks when "Wild One" managed the feat in 1994. Her version of "Piece of My Heart",
15+
also went to the top of the country charts in 1994. The album sold a total of
16+
3 million copies. Other singles from the album include "Take Me as I Am". The recording
17+
of Faith's second album was delayed by surgery to repair a ruptured blood vessel on
18+
her vocal cords. It Matters to Me finally appeared in 1995 and was another
19+
success, with the title track becoming her third number-one country single.
20+
Several other top 10 singles followed, and more than 3 million copies of the
21+
album were sold. The fifth single from the album, "I Can't Do That Anymore",
22+
was written by country music artist Alan Jackson. Other singles from the album
23+
include "You Can't Lose Me", "Someone Else's Dream", and "Let's Go to Vegas".
24+
During this period, Hill appeared on the acclaimed PBS music program Austin City Limits.
25+
In spring 1996, Hill began the Spontaneous Combustion Tour with country singer Tim McGraw.
26+
At that time, Hill had recently become engaged to her former producer, Scott Hendricks,
27+
and McGraw had recently broken an engagement. McGraw and Hill were quickly
28+
attracted to each other and began an affair. After discovering that Hill was
29+
pregnant with their first child, the couple married on October 6, 1996. The
30+
couple have three daughters together: Gracie Katherine (born 1997), Maggie Elizabeth (born 1998)
31+
and Audrey Caroline (born 2001). Since their marriage, Hill and McGraw have endeavored
32+
never to be apart for more than three consecutive days. After the release of It Matters to Me,
33+
Hill took a three-year break from recording to give herself a rest from four years of touring
34+
and to begin a family with McGraw. During her break, she joined forces with her husband
35+
for their first duet, "It's Your Love". The song stayed at number one for six weeks,
36+
and won awards from both the Academy of Country Music and the Country Music Association.
37+
Hill has remarked that sometimes when they perform the song together,
38+
"it [doesn't] feel like anybody else was really watching."
39+
40+
text:
41+
- "Hello!\n"
42+
- model: "granite3.2:2b"
43+
backend: openai
44+
intrinsics:
45+
- documents:
46+
- ${ doc }
47+
- hallucinations
48+
- citations
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
text:
2+
- "Hello!\n"
3+
- model: "granite3.2:2b"
4+
backend: openai
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
text:
2+
- "Hello!\n"
3+
- model: "granite3.2:2b"
4+
backend: openai
5+
intrinsics:
6+
- thinking
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
text:
2+
- "Hello!\n"
3+
- model: ibm-granite/granite-3.2-8b-instruct-preview
4+
backend:
5+
transformers: cpu
6+
model:
7+
processor: granite3.2

examples/hello/hello-graniteio.pdl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
text:
2+
- "Hello!\n"
3+
- model: ibm-granite/granite-3.2-8b-instruct-preview
4+
backend:
5+
transformers: cpu

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ dependencies = [
1616
"termcolor~=2.0",
1717
"ipython~=8.0",
1818
"json-repair~=0.35",
19+
"granite-io@git+https://github.com/ibm-granite/granite-io",
1920
]
2021
authors = [
2122
{ name="Mandana Vaziri", email="[email protected]" },

0 commit comments

Comments
 (0)