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
183183
184184// Chat Completion
185185const 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);
188188const out = await llamaEndpoint .chatCompletion ({
189189 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
611611
612612// Chat Completion Example
613613const 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);
616616const stream = ep .chatCompletionStream ({
617617 model: " tgi" ,
You can’t perform that action at this time.
0 commit comments