Skip to content

Commit

Permalink
fix: changed text-bison@001 and chat-bison@001 to latest (GoogleC…
Browse files Browse the repository at this point in the history
…loudPlatform#770)

# Description

This text-bison@001 model version to be deprecated on 6th July 2024, as per the official document
https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/text

---------

Co-authored-by: Holt Skinner <13262395+holtskinner@users.noreply.github.com>
  • Loading branch information
alokSureskills and holtskinner authored Jun 14, 2024
1 parent 519fcf4 commit d71c850
Show file tree
Hide file tree
Showing 27 changed files with 207 additions and 64 deletions.
142 changes: 142 additions & 0 deletions .github/actions/spelling/allow.txt
Original file line number Diff line number Diff line change
@@ -1,41 +1,88 @@
aaxis
Adidas
agentic
AGG
AGs
aip
Aktu
alloydb
Aniston
antiword
Arborio
Arepa
Arsan
Arxiv
astype
Autorater
autosxs
backticks
barmode
barpolar
baxis
bbc
Biden
bigquery
Bitcoin
Boyz
bqml
Buckleys
Buffay
CALIPSO
carbonara
caxis
chatbots
CHECKOV
Chocolat
choosi
cmap
codebase
codebases
Codelab
codelab
Codey
colab
Colab
Colm
coloraxis
colorbar
colorway
colwidth
csa
CZE
Dataform
dataframe
datname
dbadmin
dbln
ddl
dente
Depatmint
descgen
Disturbia
diy
docai
Dreesen
dropna
Durafast
ecommerce
EDB
EIP
emojis
ESG
etf
eur
evals
Eventarc
FAISS
faiss
fewshot
figsize
fillmode
Firestore
Fishburne
flac
Flipkart
forno
FPDF
freedraw
fromarray
Expand All @@ -46,95 +93,190 @@ gcloud
gcs
genai
Genkit
Gentwo
getdata
getexif
gidiyor
Gisting
github
gke
gpt
gpu
gradio
gridcolor
gspread
gsutil
guanciale
Hamers
hashtag
hashtags
hdlr
heatmap
heatmapgl
Hickson
Hmmm
hnsw
Hogwarts
hovermode
https
Hubmann
iban
idk
idks
iloc
imdb
imshow
instru
invo
ipykernel
ipynb
iterrows
IVF
ixed
Jax
Jedi
jegadesh
jupyter
Kaggle
kaggle
Kamradt
Keanu
keras
kickstart
Kudrow
lakecolor
landcolor
langchain
LCEL
lengh
levelname
lexer
linalg
linecolor
llm
LLMs
llms
LOOKBACK
Lottry
LSum
lxml
mapbox
marb
mbsdk
mec
meme
memes
metadatas
mpe
mpld
nas
nbconvert
nbformat
ncols
ndarray
nlp
nrows
NVIDIA
oliv
owlbot
paleo
pancetta
parcoords
payslip
paystub
pdfminer
pdfs
PDFs
pgadmin
pgvector
pii
pixmap
pkl
plotly
PLOTLYENV
plpgsql
plt
preds
projectid
protobuf
pstotext
Pydanitc
pydantic
pymupdf
pypdf
pyplot
pysftp
QPM
qubit
qubits
ragdemos
ramen
ratelimit
ribeye
RLHF
rsp
RYDE
Sahel
Sca
scattergl
Schwimmer
scurely
seaborn
SEK
Selam
selectbox
sentenc
SEO
showlakes
showland
showor
siglap
Siri
sittin
sklearn
sku
SKUs
SNB
ssd
ssh
ssn
SSRF
STIX
streamlit
sytem
tagline
tfhub
tgz
thelook
tiktoken
timechart
toself
tpu
TPUs
tqdm
Tribbiani
ubuntu
UDFs
unigram
unrtf
urandom
Urs
username
usernames
vertexai
VMs
websites
Wehn
welcom
workarounds
xaxis
xlabel
xticks
XXE
yaxis
ylabel
ytd
yticks
zaxis
Zscaler
Zuercher
1 change: 1 addition & 0 deletions .gitleaksignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/github/workspace/gemini/use-cases/education/use_cases_for_education.ipynb:aws-access-token:2802
/github/workspace/language/prompts/examples/chain_of_thought_react.ipynb:aws-access-token:308
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@
"source": [
"### Compare LLM #1 with LLM #2\n",
"\n",
"Evaluate **Gemini-Pro** model and **Text Bison** model on the text summarization task defined above using Rapid GenAI Evaluation SDK"
"Evaluate **Gemini-Pro** model and **Text Bison** model on the text summarization task defined above using Rapid Gen AI Evaluation SDK"
]
},
{
Expand Down Expand Up @@ -747,7 +747,7 @@
"\n",
"# PaLM 2 Text Bison\n",
"\n",
"text_bison_model = TextGenerationModel.from_pretrained(\"text-bison@001\")\n",
"text_bison_model = TextGenerationModel.from_pretrained(\"text-bison\")\n",
"\n",
"\n",
"def text_bison_model_fn(prompt):\n",
Expand Down
Loading

0 comments on commit d71c850

Please sign in to comment.