maek it sep component
Browse files
src/lib/components/InferencePlayground/InferencePlayground.svelte
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
import PlaygroundOptions from './InferencePlaygroundGenerationConfig.svelte';
|
9 |
import PlaygroundTokenModal from './InferencePlaygroundHFTokenModal.svelte';
|
10 |
import PlaygroundModelSelector from './InferencePlaygroundModelSelector.svelte';
|
|
|
11 |
import Conversation from './InferencePlaygroundConversation.svelte';
|
12 |
import { onDestroy } from 'svelte';
|
13 |
import { type ChatCompletionInputMessage } from '@huggingface/tasks';
|
@@ -16,7 +17,6 @@
|
|
16 |
import IconShare from '../Icons/IconShare.svelte';
|
17 |
import IconDelete from '../Icons/IconDelete.svelte';
|
18 |
import IconCode from '../Icons/IconCode.svelte';
|
19 |
-
import IconCaret from '../Icons/IconCaret.svelte';
|
20 |
|
21 |
export let models: ModelEntryWithTokenizer[];
|
22 |
|
@@ -388,283 +388,4 @@
|
|
388 |
{/if}
|
389 |
</div>
|
390 |
|
391 |
-
|
392 |
-
<div class="fixed inset-0 flex h-screen items-start justify-center bg-black/85 pt-32">
|
393 |
-
<div class="flex w-full max-w-[600px] items-start justify-center p-10">
|
394 |
-
<div
|
395 |
-
class="flex h-full w-full flex-col overflow-hidden rounded-lg border bg-white text-gray-900 shadow-md"
|
396 |
-
>
|
397 |
-
<div class="flex items-center border-b px-3">
|
398 |
-
<svg
|
399 |
-
xmlns="http://www.w3.org/2000/svg"
|
400 |
-
class="mr-2 text-sm"
|
401 |
-
width="1em"
|
402 |
-
height="1em"
|
403 |
-
viewBox="0 0 24 24"
|
404 |
-
fill="none"
|
405 |
-
stroke="currentColor"
|
406 |
-
stroke-width="2"
|
407 |
-
stroke-linecap="round"
|
408 |
-
stroke-linejoin="round"
|
409 |
-
>
|
410 |
-
<circle cx="11" cy="11" r="8"></circle>
|
411 |
-
<path d="m21 21-4.3-4.3"></path>
|
412 |
-
</svg>
|
413 |
-
<input
|
414 |
-
autofocus
|
415 |
-
class="flex h-10 w-full rounded-md bg-transparent py-3 text-sm placeholder-gray-400 outline-none"
|
416 |
-
placeholder="Search models..."
|
417 |
-
value=""
|
418 |
-
/>
|
419 |
-
</div>
|
420 |
-
<div class="max-h-[300px] overflow-y-auto overflow-x-hidden">
|
421 |
-
<div class="p-1">
|
422 |
-
<div class="px-2 py-1.5 text-xs font-medium text-gray-500">Trending</div>
|
423 |
-
<div>
|
424 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
425 |
-
<svg
|
426 |
-
xmlns="http://www.w3.org/2000/svg"
|
427 |
-
width="24"
|
428 |
-
height="24"
|
429 |
-
viewBox="0 0 24 24"
|
430 |
-
fill="none"
|
431 |
-
stroke="currentColor"
|
432 |
-
stroke-width="2"
|
433 |
-
stroke-linecap="round"
|
434 |
-
stroke-linejoin="round"
|
435 |
-
class="lucide lucide-star mr-2 h-4 w-4 text-yellow-400"
|
436 |
-
><polygon
|
437 |
-
points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
|
438 |
-
></polygon></svg
|
439 |
-
>
|
440 |
-
<span class="inline-flex items-center"
|
441 |
-
><span class="text-gray-500">meta-llama</span><span class="mx-1 text-black">/</span
|
442 |
-
><span class="text-black">Meta-Llama-3-70B-Instruct</span></span
|
443 |
-
>
|
444 |
-
</div>
|
445 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
446 |
-
<svg
|
447 |
-
xmlns="http://www.w3.org/2000/svg"
|
448 |
-
width="24"
|
449 |
-
height="24"
|
450 |
-
viewBox="0 0 24 24"
|
451 |
-
fill="none"
|
452 |
-
stroke="currentColor"
|
453 |
-
stroke-width="2"
|
454 |
-
stroke-linecap="round"
|
455 |
-
stroke-linejoin="round"
|
456 |
-
class="lucide lucide-star mr-2 h-4 w-4 text-yellow-400"
|
457 |
-
><polygon
|
458 |
-
points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
|
459 |
-
></polygon></svg
|
460 |
-
>
|
461 |
-
<span class="inline-flex items-center"
|
462 |
-
><span class="text-gray-500">mistralai</span><span class="mx-1 text-black">/</span
|
463 |
-
><span class="text-black">Mixtral-8x7B-Instruct-v0.1</span></span
|
464 |
-
>
|
465 |
-
</div>
|
466 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
467 |
-
<svg
|
468 |
-
xmlns="http://www.w3.org/2000/svg"
|
469 |
-
width="24"
|
470 |
-
height="24"
|
471 |
-
viewBox="0 0 24 24"
|
472 |
-
fill="none"
|
473 |
-
stroke="currentColor"
|
474 |
-
stroke-width="2"
|
475 |
-
stroke-linecap="round"
|
476 |
-
stroke-linejoin="round"
|
477 |
-
class="lucide lucide-star mr-2 h-4 w-4 text-yellow-400"
|
478 |
-
><polygon
|
479 |
-
points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
|
480 |
-
></polygon></svg
|
481 |
-
>
|
482 |
-
<span class="inline-flex items-center"
|
483 |
-
><span class="text-gray-500">google</span><span class="mx-1 text-black">/</span
|
484 |
-
><span class="text-black">gemma-1.1-7b-it</span></span
|
485 |
-
>
|
486 |
-
</div>
|
487 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
488 |
-
<svg
|
489 |
-
xmlns="http://www.w3.org/2000/svg"
|
490 |
-
width="24"
|
491 |
-
height="24"
|
492 |
-
viewBox="0 0 24 24"
|
493 |
-
fill="none"
|
494 |
-
stroke="currentColor"
|
495 |
-
stroke-width="2"
|
496 |
-
stroke-linecap="round"
|
497 |
-
stroke-linejoin="round"
|
498 |
-
class="lucide lucide-star mr-2 h-4 w-4 text-yellow-400"
|
499 |
-
><polygon
|
500 |
-
points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
|
501 |
-
></polygon></svg
|
502 |
-
>
|
503 |
-
<span class="inline-flex items-center"
|
504 |
-
><span class="text-gray-500">01-ai</span><span class="mx-1 text-black">/</span><span
|
505 |
-
class="text-black">Yi-1.5-34B-Chat</span
|
506 |
-
></span
|
507 |
-
>
|
508 |
-
</div>
|
509 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
510 |
-
<svg
|
511 |
-
xmlns="http://www.w3.org/2000/svg"
|
512 |
-
width="24"
|
513 |
-
height="24"
|
514 |
-
viewBox="0 0 24 24"
|
515 |
-
fill="none"
|
516 |
-
stroke="currentColor"
|
517 |
-
stroke-width="2"
|
518 |
-
stroke-linecap="round"
|
519 |
-
stroke-linejoin="round"
|
520 |
-
class="lucide lucide-star mr-2 h-4 w-4 text-yellow-400"
|
521 |
-
><polygon
|
522 |
-
points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
|
523 |
-
></polygon></svg
|
524 |
-
>
|
525 |
-
<span class="inline-flex items-center"
|
526 |
-
><span class="text-gray-500">microsoft</span><span class="mx-1 text-black">/</span
|
527 |
-
><span class="text-black">Phi-3-mini-4k-instruct</span></span
|
528 |
-
>
|
529 |
-
</div>
|
530 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
531 |
-
<svg
|
532 |
-
xmlns="http://www.w3.org/2000/svg"
|
533 |
-
width="24"
|
534 |
-
height="24"
|
535 |
-
viewBox="0 0 24 24"
|
536 |
-
fill="none"
|
537 |
-
stroke="currentColor"
|
538 |
-
stroke-width="2"
|
539 |
-
stroke-linecap="round"
|
540 |
-
stroke-linejoin="round"
|
541 |
-
class="lucide lucide-star mr-2 h-4 w-4 text-yellow-400"
|
542 |
-
><polygon
|
543 |
-
points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
|
544 |
-
></polygon></svg
|
545 |
-
>
|
546 |
-
<span class="inline-flex items-center"
|
547 |
-
><span class="text-gray-500">TinyLlama</span><span class="mx-1 text-black">/</span
|
548 |
-
><span class="text-black">TinyLlama-1.1B-Chat-v1.0</span></span
|
549 |
-
>
|
550 |
-
</div>
|
551 |
-
</div>
|
552 |
-
</div>
|
553 |
-
<div class="mx-1 h-px bg-gray-200"></div>
|
554 |
-
<div class="p-1">
|
555 |
-
<div class="px-2 py-1.5 text-xs font-medium text-gray-500">Other Models</div>
|
556 |
-
<div>
|
557 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
558 |
-
<span class="inline-flex items-center"
|
559 |
-
><span class="text-gray-500">codellama</span><span class="mx-1 text-black">/</span
|
560 |
-
><span class="text-black">CodeLlama-34b-Instruct-hf</span></span
|
561 |
-
>
|
562 |
-
</div>
|
563 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
564 |
-
<span class="inline-flex items-center"
|
565 |
-
><span class="text-gray-500">google</span><span class="mx-1 text-black">/</span
|
566 |
-
><span class="text-black">gemma-1.1-2b-it</span></span
|
567 |
-
>
|
568 |
-
</div>
|
569 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
570 |
-
<span class="inline-flex items-center"
|
571 |
-
><span class="text-gray-500">google</span><span class="mx-1 text-black">/</span
|
572 |
-
><span class="text-black">gemma-2b-it</span></span
|
573 |
-
>
|
574 |
-
</div>
|
575 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
576 |
-
<span class="inline-flex items-center"
|
577 |
-
><span class="text-gray-500">HuggingFaceH4</span><span class="mx-1 text-black"
|
578 |
-
>/</span
|
579 |
-
><span class="text-black">zephyr-7b-alpha</span></span
|
580 |
-
>
|
581 |
-
</div>
|
582 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
583 |
-
<span class="inline-flex items-center"
|
584 |
-
><span class="text-gray-500">HuggingFaceH4</span><span class="mx-1 text-black"
|
585 |
-
>/</span
|
586 |
-
><span class="text-black">zephyr-7b-beta</span></span
|
587 |
-
>
|
588 |
-
</div>
|
589 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
590 |
-
<span class="inline-flex items-center"
|
591 |
-
><span class="text-gray-500">HuggingFaceH4</span><span class="mx-1 text-black"
|
592 |
-
>/</span
|
593 |
-
><span class="text-black">zephyr-orpo-141b-A35b-v0.1</span></span
|
594 |
-
>
|
595 |
-
</div>
|
596 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
597 |
-
<span class="inline-flex items-center"
|
598 |
-
><span class="text-gray-500">HuggingFaceTB</span><span class="mx-1 text-black"
|
599 |
-
>/</span
|
600 |
-
><span class="text-black">SmolLM-1.7B-Instruct</span></span
|
601 |
-
>
|
602 |
-
</div>
|
603 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
604 |
-
<span class="inline-flex items-center"
|
605 |
-
><span class="text-gray-500">meta-llama</span><span class="mx-1 text-black">/</span
|
606 |
-
><span class="text-black">Llama-2-13b-chat-hf</span></span
|
607 |
-
>
|
608 |
-
</div>
|
609 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
610 |
-
<span class="inline-flex items-center"
|
611 |
-
><span class="text-gray-500">meta-llama</span><span class="mx-1 text-black">/</span
|
612 |
-
><span class="text-black">Llama-2-70b-chat-hf</span></span
|
613 |
-
>
|
614 |
-
</div>
|
615 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
616 |
-
<span class="inline-flex items-center"
|
617 |
-
><span class="text-gray-500">meta-llama</span><span class="mx-1 text-black">/</span
|
618 |
-
><span class="text-black">Llama-2-7b-chat-hf</span></span
|
619 |
-
>
|
620 |
-
</div>
|
621 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
622 |
-
<span class="inline-flex items-center"
|
623 |
-
><span class="text-gray-500">meta-llama</span><span class="mx-1 text-black">/</span
|
624 |
-
><span class="text-black">Meta-Llama-3-8B-Instruct</span></span
|
625 |
-
>
|
626 |
-
</div>
|
627 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
628 |
-
<span class="inline-flex items-center"
|
629 |
-
><span class="text-gray-500">microsoft</span><span class="mx-1 text-black">/</span
|
630 |
-
><span class="text-black">DialoGPT-large</span></span
|
631 |
-
>
|
632 |
-
</div>
|
633 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
634 |
-
<span class="inline-flex items-center"
|
635 |
-
><span class="text-gray-500">mistralai</span><span class="mx-1 text-black">/</span
|
636 |
-
><span class="text-black">Mistral-7B-Instruct-v0.1</span></span
|
637 |
-
>
|
638 |
-
</div>
|
639 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
640 |
-
<span class="inline-flex items-center"
|
641 |
-
><span class="text-gray-500">mistralai</span><span class="mx-1 text-black">/</span
|
642 |
-
><span class="text-black">Mistral-7B-Instruct-v0.2</span></span
|
643 |
-
>
|
644 |
-
</div>
|
645 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
646 |
-
<span class="inline-flex items-center"
|
647 |
-
><span class="text-gray-500">mistralai</span><span class="mx-1 text-black">/</span
|
648 |
-
><span class="text-black">Mistral-7B-Instruct-v0.3</span></span
|
649 |
-
>
|
650 |
-
</div>
|
651 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
652 |
-
<span class="inline-flex items-center"
|
653 |
-
><span class="text-gray-500">NousResearch</span><span class="mx-1 text-black"
|
654 |
-
>/</span
|
655 |
-
><span class="text-black">Nous-Hermes-2-Mixtral-8x7B-DPO</span></span
|
656 |
-
>
|
657 |
-
</div>
|
658 |
-
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
659 |
-
<span class="inline-flex items-center"
|
660 |
-
><span class="text-gray-500">Qwen</span><span class="mx-1 text-black">/</span><span
|
661 |
-
class="text-black">Qwen2-0.5B-Instruct</span
|
662 |
-
></span
|
663 |
-
>
|
664 |
-
</div>
|
665 |
-
</div>
|
666 |
-
</div>
|
667 |
-
</div>
|
668 |
-
</div>
|
669 |
-
</div>
|
670 |
-
</div>
|
|
|
8 |
import PlaygroundOptions from './InferencePlaygroundGenerationConfig.svelte';
|
9 |
import PlaygroundTokenModal from './InferencePlaygroundHFTokenModal.svelte';
|
10 |
import PlaygroundModelSelector from './InferencePlaygroundModelSelector.svelte';
|
11 |
+
import ModelPickerModal from './InferencePlaygroundModelPickerModal.svelte';
|
12 |
import Conversation from './InferencePlaygroundConversation.svelte';
|
13 |
import { onDestroy } from 'svelte';
|
14 |
import { type ChatCompletionInputMessage } from '@huggingface/tasks';
|
|
|
17 |
import IconShare from '../Icons/IconShare.svelte';
|
18 |
import IconDelete from '../Icons/IconDelete.svelte';
|
19 |
import IconCode from '../Icons/IconCode.svelte';
|
|
|
20 |
|
21 |
export let models: ModelEntryWithTokenizer[];
|
22 |
|
|
|
388 |
{/if}
|
389 |
</div>
|
390 |
|
391 |
+
<ModelPickerModal/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/lib/components/InferencePlayground/InferencePlaygroundModelPickerModal.svelte
ADDED
@@ -0,0 +1,198 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<script lang="ts">
|
2 |
+
|
3 |
+
</script>
|
4 |
+
|
5 |
+
<div class="fixed inset-0 flex h-screen items-start justify-center bg-black/85 pt-32">
|
6 |
+
<div class="flex w-full max-w-[600px] items-start justify-center p-10">
|
7 |
+
<div
|
8 |
+
class="flex h-full w-full flex-col overflow-hidden rounded-lg border bg-white text-gray-900 shadow-md"
|
9 |
+
>
|
10 |
+
<div class="flex items-center border-b px-3">
|
11 |
+
<svg
|
12 |
+
xmlns="http://www.w3.org/2000/svg"
|
13 |
+
class="mr-2 text-sm"
|
14 |
+
width="1em"
|
15 |
+
height="1em"
|
16 |
+
viewBox="0 0 24 24"
|
17 |
+
fill="none"
|
18 |
+
stroke="currentColor"
|
19 |
+
stroke-width="2"
|
20 |
+
stroke-linecap="round"
|
21 |
+
stroke-linejoin="round"
|
22 |
+
>
|
23 |
+
<circle cx="11" cy="11" r="8"></circle>
|
24 |
+
<path d="m21 21-4.3-4.3"></path>
|
25 |
+
</svg>
|
26 |
+
<input
|
27 |
+
autofocus
|
28 |
+
class="flex h-10 w-full rounded-md bg-transparent py-3 text-sm placeholder-gray-400 outline-none"
|
29 |
+
placeholder="Search models..."
|
30 |
+
value=""
|
31 |
+
/>
|
32 |
+
</div>
|
33 |
+
<div class="max-h-[300px] overflow-y-auto overflow-x-hidden">
|
34 |
+
<div class="p-1">
|
35 |
+
<div class="px-2 py-1.5 text-xs font-medium text-gray-500">Trending</div>
|
36 |
+
<div>
|
37 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
38 |
+
<svg
|
39 |
+
xmlns="http://www.w3.org/2000/svg"
|
40 |
+
width="24"
|
41 |
+
height="24"
|
42 |
+
viewBox="0 0 24 24"
|
43 |
+
fill="none"
|
44 |
+
stroke="currentColor"
|
45 |
+
stroke-width="2"
|
46 |
+
stroke-linecap="round"
|
47 |
+
stroke-linejoin="round"
|
48 |
+
class="lucide lucide-star mr-2 h-4 w-4 text-yellow-400"
|
49 |
+
><polygon
|
50 |
+
points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
|
51 |
+
></polygon></svg
|
52 |
+
>
|
53 |
+
<span class="inline-flex items-center"
|
54 |
+
><span class="text-gray-500">meta-llama</span><span class="mx-1 text-black">/</span
|
55 |
+
><span class="text-black">Meta-Llama-3-70B-Instruct</span></span
|
56 |
+
>
|
57 |
+
</div>
|
58 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
59 |
+
<svg
|
60 |
+
xmlns="http://www.w3.org/2000/svg"
|
61 |
+
width="24"
|
62 |
+
height="24"
|
63 |
+
viewBox="0 0 24 24"
|
64 |
+
fill="none"
|
65 |
+
stroke="currentColor"
|
66 |
+
stroke-width="2"
|
67 |
+
stroke-linecap="round"
|
68 |
+
stroke-linejoin="round"
|
69 |
+
class="lucide lucide-star mr-2 h-4 w-4 text-yellow-400"
|
70 |
+
><polygon
|
71 |
+
points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"
|
72 |
+
></polygon></svg
|
73 |
+
>
|
74 |
+
<span class="inline-flex items-center"
|
75 |
+
><span class="text-gray-500">mistralai</span><span class="mx-1 text-black">/</span
|
76 |
+
><span class="text-black">Mixtral-8x7B-Instruct-v0.1</span></span
|
77 |
+
>
|
78 |
+
</div>
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
<div class="mx-1 h-px bg-gray-200"></div>
|
82 |
+
<div class="p-1">
|
83 |
+
<div class="px-2 py-1.5 text-xs font-medium text-gray-500">Other Models</div>
|
84 |
+
<div>
|
85 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
86 |
+
<span class="inline-flex items-center"
|
87 |
+
><span class="text-gray-500">codellama</span><span class="mx-1 text-black">/</span
|
88 |
+
><span class="text-black">CodeLlama-34b-Instruct-hf</span></span
|
89 |
+
>
|
90 |
+
</div>
|
91 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
92 |
+
<span class="inline-flex items-center"
|
93 |
+
><span class="text-gray-500">google</span><span class="mx-1 text-black">/</span
|
94 |
+
><span class="text-black">gemma-1.1-2b-it</span></span
|
95 |
+
>
|
96 |
+
</div>
|
97 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
98 |
+
<span class="inline-flex items-center"
|
99 |
+
><span class="text-gray-500">google</span><span class="mx-1 text-black">/</span
|
100 |
+
><span class="text-black">gemma-2b-it</span></span
|
101 |
+
>
|
102 |
+
</div>
|
103 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
104 |
+
<span class="inline-flex items-center"
|
105 |
+
><span class="text-gray-500">HuggingFaceH4</span><span class="mx-1 text-black"
|
106 |
+
>/</span
|
107 |
+
><span class="text-black">zephyr-7b-alpha</span></span
|
108 |
+
>
|
109 |
+
</div>
|
110 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
111 |
+
<span class="inline-flex items-center"
|
112 |
+
><span class="text-gray-500">HuggingFaceH4</span><span class="mx-1 text-black"
|
113 |
+
>/</span
|
114 |
+
><span class="text-black">zephyr-7b-beta</span></span
|
115 |
+
>
|
116 |
+
</div>
|
117 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
118 |
+
<span class="inline-flex items-center"
|
119 |
+
><span class="text-gray-500">HuggingFaceH4</span><span class="mx-1 text-black"
|
120 |
+
>/</span
|
121 |
+
><span class="text-black">zephyr-orpo-141b-A35b-v0.1</span></span
|
122 |
+
>
|
123 |
+
</div>
|
124 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
125 |
+
<span class="inline-flex items-center"
|
126 |
+
><span class="text-gray-500">HuggingFaceTB</span><span class="mx-1 text-black"
|
127 |
+
>/</span
|
128 |
+
><span class="text-black">SmolLM-1.7B-Instruct</span></span
|
129 |
+
>
|
130 |
+
</div>
|
131 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
132 |
+
<span class="inline-flex items-center"
|
133 |
+
><span class="text-gray-500">meta-llama</span><span class="mx-1 text-black">/</span
|
134 |
+
><span class="text-black">Llama-2-13b-chat-hf</span></span
|
135 |
+
>
|
136 |
+
</div>
|
137 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
138 |
+
<span class="inline-flex items-center"
|
139 |
+
><span class="text-gray-500">meta-llama</span><span class="mx-1 text-black">/</span
|
140 |
+
><span class="text-black">Llama-2-70b-chat-hf</span></span
|
141 |
+
>
|
142 |
+
</div>
|
143 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
144 |
+
<span class="inline-flex items-center"
|
145 |
+
><span class="text-gray-500">meta-llama</span><span class="mx-1 text-black">/</span
|
146 |
+
><span class="text-black">Llama-2-7b-chat-hf</span></span
|
147 |
+
>
|
148 |
+
</div>
|
149 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
150 |
+
<span class="inline-flex items-center"
|
151 |
+
><span class="text-gray-500">meta-llama</span><span class="mx-1 text-black">/</span
|
152 |
+
><span class="text-black">Meta-Llama-3-8B-Instruct</span></span
|
153 |
+
>
|
154 |
+
</div>
|
155 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
156 |
+
<span class="inline-flex items-center"
|
157 |
+
><span class="text-gray-500">microsoft</span><span class="mx-1 text-black">/</span
|
158 |
+
><span class="text-black">DialoGPT-large</span></span
|
159 |
+
>
|
160 |
+
</div>
|
161 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
162 |
+
<span class="inline-flex items-center"
|
163 |
+
><span class="text-gray-500">mistralai</span><span class="mx-1 text-black">/</span
|
164 |
+
><span class="text-black">Mistral-7B-Instruct-v0.1</span></span
|
165 |
+
>
|
166 |
+
</div>
|
167 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
168 |
+
<span class="inline-flex items-center"
|
169 |
+
><span class="text-gray-500">mistralai</span><span class="mx-1 text-black">/</span
|
170 |
+
><span class="text-black">Mistral-7B-Instruct-v0.2</span></span
|
171 |
+
>
|
172 |
+
</div>
|
173 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
174 |
+
<span class="inline-flex items-center"
|
175 |
+
><span class="text-gray-500">mistralai</span><span class="mx-1 text-black">/</span
|
176 |
+
><span class="text-black">Mistral-7B-Instruct-v0.3</span></span
|
177 |
+
>
|
178 |
+
</div>
|
179 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
180 |
+
<span class="inline-flex items-center"
|
181 |
+
><span class="text-gray-500">NousResearch</span><span class="mx-1 text-black"
|
182 |
+
>/</span
|
183 |
+
><span class="text-black">Nous-Hermes-2-Mixtral-8x7B-DPO</span></span
|
184 |
+
>
|
185 |
+
</div>
|
186 |
+
<div class="flex cursor-pointer items-center px-2 py-1.5 text-sm hover:bg-gray-100">
|
187 |
+
<span class="inline-flex items-center"
|
188 |
+
><span class="text-gray-500">Qwen</span><span class="mx-1 text-black">/</span><span
|
189 |
+
class="text-black">Qwen2-0.5B-Instruct</span
|
190 |
+
></span
|
191 |
+
>
|
192 |
+
</div>
|
193 |
+
</div>
|
194 |
+
</div>
|
195 |
+
</div>
|
196 |
+
</div>
|
197 |
+
</div>
|
198 |
+
</div>
|