Skip to content

Commit f6661d0

Browse files
authored
fix: readme links (#1189)
1 parent 658e1b9 commit f6661d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ const { generated_text } = await gpt2.textGeneration({inputs: 'The answer to the
183183

184184
// Chat Completion
185185
const llamaEndpoint = inference.endpoint(
186-
"https://router.huggingface.co/together/models/meta-llama/Llama-3.1-8B-Instruct"
186+
"https://router.huggingface.co/hf-inference/models/meta-llama/Llama-3.1-8B-Instruct"
187187
);
188188
const out = await llamaEndpoint.chatCompletion({
189189
model: "meta-llama/Llama-3.1-8B-Instruct",

packages/inference/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ const { generated_text } = await gpt2.textGeneration({inputs: 'The answer to the
611611

612612
// Chat Completion Example
613613
const ep = hf.endpoint(
614-
"https://router.huggingface.co/together/models/meta-llama/Llama-3.1-8B-Instruct"
614+
"https://router.huggingface.co/hf-inference/models/meta-llama/Llama-3.1-8B-Instruct"
615615
);
616616
const stream = ep.chatCompletionStream({
617617
model: "tgi",

0 commit comments

Comments
 (0)