Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update recommended models for 2 tasks #883

Merged
merged 9 commits into from
Oct 16, 2024
2 changes: 1 addition & 1 deletion packages/tasks/src/tasks/image-segmentation/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import { HfInference } from "@huggingface/inference";
const inference = new HfInference(HF_TOKEN);
await inference.imageSegmentation({
data: await (await fetch("https://picsum.photos/300/300")).blob(),
model: "facebook/detr-resnet-50-panoptic",
model: "facebook/mask2former-swin-base-coco-panoptic",
});
```

Expand Down
12 changes: 6 additions & 6 deletions packages/tasks/src/tasks/image-segmentation/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,21 +44,21 @@ const taskData: TaskDataCustom = {
models: [
{
// TO DO: write description
description: "Solid panoptic segmentation model trained on the COCO 2017 benchmark dataset.",
id: "facebook/detr-resnet-50-panoptic",
description: "Solid semantic segmentation model fine-tuned on ADE20k, an important benchmark comprising 150 classes.",
id: "openmmlab/upernet-convnext-small",
},
{
description: "Background removal model.",
id: "briaai/RMBG-1.4",
},
{
description: "Semantic segmentation model trained on ADE20k benchmark dataset with 512x512 resolution.",
id: "nvidia/segformer-b0-finetuned-ade-512-512",
},
{
description: "A multipurpose image segmentation model for high resolution images.",
id: "ZhengPeng7/BiRefNet",
},
{
description: "Semantic segmentation model fine-tuned on ADE20k at 512x512 resolution.",
NielsRogge marked this conversation as resolved.
Show resolved Hide resolved
id: "nvidia/segformer-b0-finetuned-ade-512-512",
},
{
description: "Panoptic segmentation model trained COCO (common objects) dataset.",
id: "facebook/mask2former-swin-large-coco-panoptic",
Expand Down
8 changes: 4 additions & 4 deletions packages/tasks/src/tasks/object-detection/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ const taskData: TaskDataCustom = {
],
models: [
{
description: "Solid object detection model trained on the benchmark dataset COCO 2017.",
description: "Solid object detection model pre-trained on the COCO 2017 dataset.",
id: "facebook/detr-resnet-50",
},
{
description: "Strong object detection model trained on ImageNet-21k dataset.",
id: "microsoft/beit-base-patch16-224-pt22k-ft22k",
description: "YOLOv10 is great model for real-time and accurate object detection.",
NielsRogge marked this conversation as resolved.
Show resolved Hide resolved
id: "jameslahm/yolov10x",
},
{
description: "Fast and accurate object detection model trained on COCO dataset.",
description: "RT-DETR is a fast and accurate object detection model pre-trained on the COCO and Object365 datasets.",
id: "PekingU/rtdetr_r18vd_coco_o365",
},
],
Expand Down
Loading