Datasets:
id stringlengths 36 36 | item_id stringlengths 10 10 | name stringlengths 1 368 | brand stringclasses 375
values | color stringlengths 1 71 ⌀ | product_type stringclasses 524
values | country stringclasses 12
values | image_url stringlengths 77 77 | vector listlengths 512 512 |
|---|---|---|---|---|---|---|---|---|
0000c91b-fdd4-5dc4-85a6-1da1a3dd5aa7 | B07RPB7TDS | AmazonBasics Cooling Gel-Infused Memory Foam Mattress Topper - Ventilated, CertiPUR-US Certified Foam, 3-Inch - Queen | AmazonBasics | null | HOME_FURNITURE_AND_DECOR | US | [
-0.018895935267210007,
0.017164623364806175,
0.011483469977974892,
-0.0020483259577304125,
-0.008024663664400578,
-0.03278311342000961,
-0.00020318316819611937,
0.04398220032453537,
0.012476883828639984,
-0.03347866237163544,
-0.002072857692837715,
0.0021570308599621058,
-0.00826073810458183... | |
0000ea18-f1a6-5772-8869-7d5731b03790 | B0716KHKRX | Amazon Brand - Solimo Travel Case for Small Electronics and Accessories (Red) | Amazon Brand - Solimo | Red | PORTABLE_ELECTRONIC_DEVICE_COVER | IN | [
0.0017083105631172657,
0.016377370804548264,
-0.015328407287597656,
0.006649751216173172,
0.009859887883067131,
-0.0033462755382061005,
-0.04456223547458649,
0.033316709101200104,
-0.020802244544029236,
0.03729096055030823,
0.02274860441684723,
-0.018222061917185783,
0.012025829404592514,
... | |
0001453c-e722-54c1-bea3-c73429f197ee | B07RMKDPJG | Amazon Brand - Happy Belly Coffee Beans "Caffè Soave" (12 x 500g) | Happy Belly | null | COFFEE | GB | [
0.06894698739051819,
-0.0022512092255055904,
-0.02596045844256878,
-0.006624971516430378,
0.008321618661284447,
0.01966208592057228,
0.028979206457734108,
0.03965243324637413,
0.01974192075431347,
-0.010266827419400215,
-0.05855800583958626,
0.00004087836714461446,
0.010380654595792294,
-0... | |
00021d24-3548-5d6b-b8af-0674bde13848 | B07WPVBR6M | Amazon Brand - Happy Belly Drink Mix Singles, Peach Tea, 120 Total Packets | Happy Belly | null | GROCERY | AU | [
-0.014872327446937561,
0.03754687309265137,
-0.020946156233549118,
0.0053930459544062614,
-0.007878541015088558,
0.03436911478638649,
-0.033244892954826355,
0.04909539595246315,
0.020819926634430885,
-0.013941445387899876,
-0.008015189319849014,
0.03733960539102554,
0.0278019942343235,
0.0... | |
00042657-b500-5dfa-b789-85e8e7d9109d | B081HLJV2B | Amazon Brand - Solimo Wi-Fi Smart Light, 12W, B22 Holder, Alexa Enabled (Yellow/Light Yellow/White) | Amazon Brand - Solimo | White | LIGHT_BULB | IN | [
-0.01350817084312439,
0.01196755189448595,
-0.010865453630685806,
-0.005217340774834156,
-0.04886968061327934,
0.027667010203003883,
-0.05048930644989014,
0.005276388023048639,
-0.011814303696155548,
-0.06408354640007019,
-0.0650092214345932,
-0.02426215261220932,
0.05833197012543678,
-0.0... | |
00058979-23a3-5416-b254-721d80e6fd37 | B07V9Z4GZW | Amazon Brand - Wag Treats Chicken and Waffle Bites 24oz | WAG | null | PET_SUPPLIES | SG | [
-0.0024965167976915836,
-0.03628435730934143,
0.003697232808917761,
0.020764637738466263,
0.06261362880468369,
0.05929921567440033,
-0.006152958143502474,
0.014694281853735447,
0.025188487023115158,
0.05581735074520111,
-0.04576382786035538,
-0.02142476662993431,
0.01643545925617218,
-0.00... | |
00086527-7a52-5108-ab99-ba3407216542 | B089899MD9 | Wellness Shot 100% Natural Raw Honey, 500g(Pack of 2) | Wellness Shot | null | GROCERY | IN | [
0.01642390340566635,
-0.015506346710026264,
-0.0001949078286997974,
0.015528068877756596,
0.0035026518162339926,
0.0716487467288971,
0.03246258571743965,
0.03383288532495499,
-0.005762110464274883,
-0.004943402949720621,
-0.010943226516246796,
0.03755427151918411,
0.00355996610596776,
0.00... | |
000988c4-08ad-5f71-9133-34689c38a4e3 | B07RC4V5LZ | Amazon Brand - Inkast Denim Co. Men's White Canvas Sneakers-6 UK (AZ-IK-021A) | Amazon Brand - Inkast Denim Co. | White | SHOES | IN | [
-0.05080413818359375,
0.018712002784013748,
0.032396212220191956,
0.026355577632784843,
-0.05328674986958504,
0.047663524746894836,
-0.05494054779410362,
-0.006849871948361397,
-0.005761893466114998,
-0.03186696022748947,
-0.00572837283834815,
0.019388362765312195,
-0.03515925258398056,
0.... | |
000b027b-2e1f-55c3-b95d-45cb6caaa55f | B07HSGM25V | Amazon Brand – Stone & Beam Traditional Landscape Print with Copper Leaf Wall Art Decor on Canvas - 35" x 35" | Stone & Beam | null | WALL_ART | US | [
0.046945326030254364,
-0.008364124223589897,
0.01654769852757454,
0.018507707864046097,
0.04819579795002937,
-0.04073138162493706,
-0.01953897811472416,
-0.051927998661994934,
0.028141990303993225,
0.05848408862948418,
-0.006207469385117292,
0.02871781960129738,
-0.04729419946670532,
-0.00... | |
000b79a3-919b-53b8-8547-cd4aef267343 | B07XCWM3NR | UMI 45L Slim Laundry Basket with Handles Small Portable Laundry Basket Thin Dirty Laundry Basket Foldable Clothes Storage Container 21 Inch Beige | null | null | HOME | DE | [
0.01969919539988041,
0.0019315752433612943,
0.009921124204993248,
0.012456890195608139,
0.0190252885222435,
0.02030009962618351,
0.003649199614301324,
-0.002165001817047596,
0.024702897295355797,
0.022106852382421494,
-0.00023527823213953525,
-0.009387695230543613,
0.05567910522222519,
0.0... | |
000b7b28-1209-58a8-99bc-1e4bd81754de | B07DGQTR3Q | Amazon Brand - Solimo 12oz Paper Hot Cup with Lid, 75 Count | Solimo | null | DRINKING_CUP | SA | [
0.014840502291917801,
0.008386662229895592,
-0.03280177712440491,
0.035156793892383575,
0.003812920767813921,
0.006341430824249983,
0.015619811601936817,
0.020466186106204987,
-0.010529955849051476,
-0.02444460429251194,
-0.03529847040772438,
-0.04666406288743019,
-0.015889259055256844,
-0... | |
000f14a9-5b95-511a-b16b-9d27e64af3bb | B07HGDB774 | AmazonBasics Lightweight Softside Spinner - 56 cm, Black | AmazonBasics | Black | SUITCASE | GB | [
0.03081458806991577,
-0.01842040754854679,
0.008389703929424286,
0.019145695492625237,
0.013848801143467426,
0.02122511900961399,
-0.010698987171053886,
0.05689651891589165,
0.006629886105656624,
-0.016213901340961456,
0.03644336760044098,
0.03571894019842148,
0.07872753590345383,
-0.01412... | |
000f86f8-e4ae-57fb-9bfe-daff348fe786 | B074DZ6N8K | Amazon Brand - Symbol Men's Sneakers | Amazon Brand - Symbol | null | SHOES | IN | [
-0.026341190561652184,
-0.03240034729242325,
0.04695568606257439,
0.017999539151787758,
-0.023394621908664703,
0.045658502727746964,
0.0036160110030323267,
0.013458404690027237,
0.021547378972172737,
0.016471492126584053,
-0.03309861943125725,
-0.012062079273164272,
-0.035859666764736176,
... | |
000fe385-2f88-5862-9677-66d4df02caad | B07B4WKN5K | Amazon Brand – Stone & Beam Casual Geometric Cotton Area Rug, 8 x 10 Foot, Flatweave, Grey, Orange | Stone & Beam | Gray, Orange | HOME_FURNITURE_AND_DECOR | US | [
-0.04456915333867073,
0.06719735264778137,
0.011537288315594196,
-0.01071048155426979,
-0.012768412940204144,
0.003513213014230132,
-0.03634348884224892,
0.028361357748508453,
-0.028052981942892075,
0.0032544750720262527,
-0.0007402233895845711,
0.006476052105426788,
0.03163769841194153,
-... | |
00100794-f71a-5283-ad44-a3099f8a9d26 | B06XT3D79N | AmazonBasics USB Type C to Micro USB B USB 3.1 2nd Generation Connection Cable | null | null | COMPUTER_COMPONENT | DE | [
-0.021065710112452507,
0.0471704825758934,
0.017520388588309288,
0.017751043662428856,
-0.03625655919313431,
-0.0030848479364067316,
-0.04577811807394028,
0.04679656773805618,
-0.03531619533896446,
0.0780390053987503,
0.01578540913760662,
0.023037360981106758,
0.03479804843664169,
-0.00858... | |
0011ea8c-5141-5c93-980e-e0d9e03f92f1 | B082DP8455 | Amazon Brand – Rivet Modern Ultrathin LED-Integrated Table Lamp, 20"H, Matte Brass | Rivet | Brass | LAMP | US | [
-0.005343955010175705,
0.01014814991503954,
0.025859197601675987,
-0.009270238690078259,
-0.026365824043750763,
-0.01849515363574028,
-0.04329079017043114,
0.06293357908725739,
-0.03588094189763069,
0.014573968015611172,
0.008682560175657272,
0.0353180430829525,
0.06057579070329666,
-0.017... | |
00124ae9-574a-5904-ba3b-ce016c6679d3 | B00UYIHAA6 | 14k Yellow Gold Cushion-Cut Checkerboard Created White Sapphire Stud Earrings (8mm) | Amazon Collection | Yellow Gold/White | FINEEARRING | AE | [
-0.025946641340851784,
-0.043700288981199265,
0.03690878301858902,
-0.03006478026509285,
-0.0013946586987003684,
-0.01328018307685852,
0.002861943794414401,
0.033674921840429306,
0.024482274428009987,
-0.012015993706882,
0.0642654299736023,
0.0017903187545016408,
0.0244005024433136,
0.0608... |
amazon-berkeley-objects-clip-ViT-B-32-embeddings
This dataset contains 44,932 products from the Amazon Berkeley Objects (ABO) dataset, each with a CLIP embedding of its main image. Because CLIP maps text and images into the same space, you can find products by describing them in words or by showing a similar image.
The collection keeps ABO products that have an English name and a photo as their main image. Products that share a main image, usually size or color variants, are kept once, under the shortest of their names. Phone cases make up half of the source catalog, so 1,000 of them are kept, chosen at random.
| Column | Type | Description |
|---|---|---|
id |
string | Point ID in the Qdrant collection |
item_id |
string | ABO item ID |
name |
string | Product name in English |
brand |
string | Brand, empty for about 7% of products |
color |
string | Color, empty for about 43% of products |
product_type |
string | ABO product type, such as CHAIR |
country |
string | Marketplace of the listing, such as US |
image_url |
string | The main image, at most 256 pixels on the longest side |
vector |
list of float32 | clip-ViT-B-32 image embedding, 512 dimensions, cosine |
Generation process
The embeddings were generated with the clip-ViT-B-32
model from the image at image_url. Encode text queries with the same model to search the images:
from PIL import Image
from sentence_transformers import SentenceTransformer
image_path = "f3de0cfd.jpg"
model = SentenceTransformer("clip-ViT-B-32")
embedding = model.encode(Image.open(image_path))
query_embedding = model.encode("a red travel case")
On Qdrant Cloud, the same models are available through Cloud Inference as qdrant/clip-vit-b-32-vision and
qdrant/clip-vit-b-32-text.
Using the dataset with Qdrant
The quickest way is to restore the ready-made snapshot, which includes the payload indexes. It requires Qdrant 1.20 or later:
PUT /collections/amazon-berkeley-objects/snapshots/recover
{
"location": "https://snapshots.qdrant.io/amazon-berkeley-objects.snapshot"
}
To load the rows yourself, create the collection with a single unnamed vector, upload the rows, then create the
payload indexes. The full-text index on name uses BM25 scoring, which also requires Qdrant 1.20 or later:
from datasets import load_dataset
from qdrant_client import QdrantClient, models
client = QdrantClient(url="http://localhost:6333")
client.create_collection(
"amazon-berkeley-objects",
vectors_config=models.VectorParams(size=512, distance=models.Distance.COSINE),
)
dataset = load_dataset(
"Qdrant/amazon-berkeley-objects-clip-ViT-B-32-embeddings", split="train"
)
for batch in dataset.iter(batch_size=256):
payload_fields = [name for name in batch if name not in ("id", "vector")]
client.upsert(
"amazon-berkeley-objects",
points=[
models.PointStruct(
id=batch["id"][i],
vector=batch["vector"][i],
payload={
name: batch[name][i]
for name in payload_fields
if batch[name][i] is not None
},
)
for i in range(len(batch["id"]))
],
)
for field in ("item_id", "brand", "color", "product_type", "country"):
client.create_payload_index(
"amazon-berkeley-objects", field, models.PayloadSchemaType.KEYWORD
)
client.create_payload_index(
"amazon-berkeley-objects",
"name",
models.TextIndexParams(
type=models.TextIndexType.TEXT,
tokenizer=models.TokenizerType.WORD,
lowercase=True,
stemmer=models.SnowballParams(
type=models.Snowball.SNOWBALL, language=models.SnowballLanguage.ENGLISH
),
stopwords=models.Language.ENGLISH,
scoring=models.TextScoringParams(type=models.TextScoringType.BM25),
),
)
License and attribution
ABO is licensed under CC BY 4.0. Credit for the data, including the images, goes to Amazon.com. Credit for building the dataset goes to its Amazon and UC Berkeley authors. This dataset is a modified subset of the ABO listings, as described above, with a CLIP embedding of each main image added.
Jasmine Collins, Shubham Goel, Kenan Deng, Achleshwar Luthra, Leon Xu, Erhan Gundogdu, Xi Zhang, Tomas F. Yago Vicente, Thomas Dideriksen, Himanshu Arora, Matthieu Guillaumin, and Jitendra Malik. 2022. ABO: Dataset and Benchmarks for Real-World 3D Object Understanding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).
- Downloads last month
- 39