File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ const { generated_text } = await gpt2.textGeneration({inputs: 'The answer to the
183
183
184
184
// Chat Completion
185
185
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"
187
187
);
188
188
const out = await llamaEndpoint .chatCompletion ({
189
189
model: " meta-llama/Llama-3.1-8B-Instruct" ,
Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ const { generated_text } = await gpt2.textGeneration({inputs: 'The answer to the
611
611
612
612
// Chat Completion Example
613
613
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"
615
615
);
616
616
const stream = ep .chatCompletionStream ({
617
617
model: " tgi" ,
You can’t perform that action at this time.
0 commit comments