mishig HF staff commited on
Commit
de2b2e9
1 Parent(s): d434977

Load only conversational models

Browse files
Files changed (1) hide show
  1. src/routes/+page.svelte +1 -1
src/routes/+page.svelte CHANGED
@@ -44,7 +44,7 @@
44
  (async () => {
45
  // TODO: use hfjs.hub listModels after https://github.com/huggingface/huggingface.js/pull/795
46
  const res = await fetch(
47
- 'https://huggingface.co/api/models?pipeline_tag=text-generation&inference=Warm&other=conversational'
48
  );
49
  compatibleModels = (await res.json()) as ModelEntry[];
50
  compatibleModels.sort((a, b) => a.id.toLowerCase().localeCompare(b.id.toLowerCase()));
 
44
  (async () => {
45
  // TODO: use hfjs.hub listModels after https://github.com/huggingface/huggingface.js/pull/795
46
  const res = await fetch(
47
+ 'https://huggingface.co/api/models?pipeline_tag=text-generation&inference=Warm&filter=conversational'
48
  );
49
  compatibleModels = (await res.json()) as ModelEntry[];
50
  compatibleModels.sort((a, b) => a.id.toLowerCase().localeCompare(b.id.toLowerCase()));